public class SpongeCommandSender extends Object implements ICommandSender
| Constructor and Description |
|---|
SpongeCommandSender(org.spongepowered.api.command.CommandSource sender) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
hashCode() and equals() are needed for ScriptEditManager
|
<T> T |
get()
upwrap this interface.
|
int |
hashCode()
hashCode() and equals() are needed for ScriptEditManager
|
boolean |
hasPermission(String permission) |
void |
sendMessage(String message) |
public SpongeCommandSender(org.spongepowered.api.command.CommandSource sender)
public <T> T get()
IScriptObjectget in interface IScriptObjectpublic void sendMessage(String message)
sendMessage in interface ICommandSenderpublic boolean hasPermission(String permission)
hasPermission in interface ICommandSenderpublic int hashCode()
ICommandSenderhashCode in interface ICommandSenderhashCode in class Objectpublic boolean equals(Object obj)
ICommandSenderequals in interface ICommandSenderequals in class Object