net.md_5.bungee.api.plugin.Cancellable
public class OnlineStatusChangedMessageEvent
extends net.md_5.bungee.api.plugin.Event
implements net.md_5.bungee.api.plugin.Cancellable
Constructor | Description |
---|---|
OnlineStatusChangedMessageEvent(OnlinePAFPlayer pPlayer,
java.lang.String pMessage,
java.util.List<PAFPlayer> pFriends) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<PAFPlayer> |
getFriends() |
|
java.lang.String |
getMessage() |
|
OnlinePAFPlayer |
getPlayer() |
|
boolean |
isCancelled() |
|
void |
setCancelled(boolean b) |
|
void |
setFriends(java.util.List<PAFPlayer> pFriends) |
|
void |
setMessage(java.lang.String message) |
public OnlineStatusChangedMessageEvent(OnlinePAFPlayer pPlayer, java.lang.String pMessage, java.util.List<PAFPlayer> pFriends)
public OnlinePAFPlayer getPlayer()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.util.List<PAFPlayer> getFriends()
public void setFriends(java.util.List<PAFPlayer> pFriends)
public boolean isCancelled()
isCancelled
in interface net.md_5.bungee.api.plugin.Cancellable
public void setCancelled(boolean b)
setCancelled
in interface net.md_5.bungee.api.plugin.Cancellable