Package co.aikar.commands
Class SpongeCommandIssuer
- java.lang.Object
-
- co.aikar.commands.SpongeCommandIssuer
-
- All Implemented Interfaces:
co.aikar.commands.CommandIssuer
public class SpongeCommandIssuer extends Object implements co.aikar.commands.CommandIssuer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.spongepowered.api.command.CommandSourcegetIssuer()co.aikar.commands.CommandManagergetManager()org.spongepowered.api.entity.living.player.PlayergetPlayer()@NotNull UUIDgetUniqueId()inthashCode()booleanhasPermission(String permission)booleanisPlayer()voidsendMessageInternal(String message)
-
-
-
Method Detail
-
isPlayer
public boolean isPlayer()
- Specified by:
isPlayerin interfaceco.aikar.commands.CommandIssuer
-
getIssuer
public org.spongepowered.api.command.CommandSource getIssuer()
- Specified by:
getIssuerin interfaceco.aikar.commands.CommandIssuer
-
getUniqueId
@NotNull public @NotNull UUID getUniqueId()
- Specified by:
getUniqueIdin interfaceco.aikar.commands.CommandIssuer
-
getPlayer
public org.spongepowered.api.entity.living.player.Player getPlayer()
-
getManager
public co.aikar.commands.CommandManager getManager()
- Specified by:
getManagerin interfaceco.aikar.commands.CommandIssuer
-
sendMessageInternal
public void sendMessageInternal(String message)
- Specified by:
sendMessageInternalin interfaceco.aikar.commands.CommandIssuer
-
hasPermission
public boolean hasPermission(String permission)
- Specified by:
hasPermissionin interfaceco.aikar.commands.CommandIssuer
-
-