|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aranai.dungeonator.event.DCommandEvent
public class DCommandEvent
The Class DCommandEvent. Provides a standard set of attributes associated with Dungeonator command input.
Field Summary | |
---|---|
private java.lang.String[] |
args
Additional arguments. |
private org.bukkit.Chunk |
chunk
The chunk in which the player is located. |
private java.lang.String |
cmd
The command. |
private org.bukkit.entity.Player |
player
The player who triggered the command. |
Constructor Summary | |
---|---|
DCommandEvent(org.bukkit.entity.Player p,
java.lang.String cmd,
java.lang.String[] args)
Instantiates a new DCommandEvent. |
Method Summary | |
---|---|
java.lang.String[] |
getArgs()
Gets the args. |
org.bukkit.Chunk |
getChunk()
Gets the chunk. |
java.lang.String |
getCmd()
Gets the command. |
org.bukkit.entity.Player |
getPlayer()
Gets the player. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.bukkit.entity.Player player
private java.lang.String cmd
private java.lang.String[] args
private org.bukkit.Chunk chunk
Constructor Detail |
---|
public DCommandEvent(org.bukkit.entity.Player p, java.lang.String cmd, java.lang.String[] args)
p
- the player who triggered the commandcmd
- the commandargs
- additional argumentsMethod Detail |
---|
public org.bukkit.entity.Player getPlayer()
public java.lang.String getCmd()
public java.lang.String[] getArgs()
public org.bukkit.Chunk getChunk()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |