Class PAFSubCommandEvent<T extends SubCommand>
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- de.simonsator.partyandfriends.api.events.command.PAFSubCommandEvent<T>
-
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Cancellable
- Direct Known Subclasses:
FriendshipCommandEvent
,InviteEvent
,JumpToFriendEvent
public abstract class PAFSubCommandEvent<T extends SubCommand> extends net.md_5.bungee.api.plugin.Event implements net.md_5.bungee.api.plugin.Cancellable
-
-
Constructor Summary
Constructors Constructor Description PAFSubCommandEvent(OnlinePAFPlayer pExecutor, java.lang.String[] args, T pCaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getArgs()
T
getCaller()
OnlinePAFPlayer
getExecutor()
boolean
isCancelled()
void
setCancelled(boolean b)
-
-
-
Constructor Detail
-
PAFSubCommandEvent
public PAFSubCommandEvent(OnlinePAFPlayer pExecutor, java.lang.String[] args, T pCaller)
-
-
Method Detail
-
getExecutor
public OnlinePAFPlayer getExecutor()
-
getArgs
public java.lang.String[] getArgs()
-
getCaller
public T getCaller()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfacenet.md_5.bungee.api.plugin.Cancellable
-
setCancelled
public void setCancelled(boolean b)
- Specified by:
setCancelled
in interfacenet.md_5.bungee.api.plugin.Cancellable
-
-