Class CommandObject
java.lang.Object
client.messages.CommandObject
Represents a command given by a user
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(MapleClient c, String[] splitted) Call this to apply this command to the specifiedMapleClientwith the specified arguments.intReturns the GMLevel needed to use this command.getType()
-
Constructor Details
-
CommandObject
-
-
Method Details
-
execute
Call this to apply this command to the specifiedMapleClientwith the specified arguments.- Parameters:
c- the MapleClient to apply this tosplitted- the arguments- Returns:
- See
CommandExecute.execute(MapleClient, String[])
-
getType
-
getReqGMLevel
public int getReqGMLevel()Returns the GMLevel needed to use this command.- Returns:
- the required GM Level
-
getMessage
-