public class GModify extends StdCommand
idConverterID, noCoinFilter| Constructor | Description |
|---|---|
GModify() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addEnumeratedStatCodes(java.util.Enumeration<? extends Modifiable> e,
java.util.Set<java.lang.String> allKnownFields,
java.lang.StringBuffer allFieldsMsg) |
|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
boolean |
execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags) |
This method actually performs the command, when the given parsed
set of command-line words.
|
protected static void |
fixDeities(Room R) |
|
java.lang.String[] |
getAccessWords() |
Returns the set of command words, with the most public one first,
that are entered by the user to initiate this command.
|
protected java.lang.String |
getAllFieldsMsg(java.util.Set<java.lang.String> allKnownFields) |
|
static java.lang.String |
getStat(Environmental E,
java.lang.String stat) |
|
static void |
gmodifydebugtell(MOB mob,
java.lang.String msg) |
|
boolean |
securityCheck(MOB mob) |
Whether this command is available to the given player
|
static Environmental |
setStat(Environmental E,
java.lang.String stat,
java.lang.String value) |
|
static java.lang.String[] |
splitClassParms(java.lang.String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlistpublic java.lang.String[] getAccessWords()
CommandgetAccessWords in interface CommandgetAccessWords in class StdCommandpublic static java.lang.String getStat(Environmental E, java.lang.String stat)
public static java.lang.String[] splitClassParms(java.lang.String value)
public static Environmental setStat(Environmental E, java.lang.String stat, java.lang.String value)
public static void gmodifydebugtell(MOB mob, java.lang.String msg)
public void addEnumeratedStatCodes(java.util.Enumeration<? extends Modifiable> e, java.util.Set<java.lang.String> allKnownFields, java.lang.StringBuffer allFieldsMsg)
protected java.lang.String getAllFieldsMsg(java.util.Set<java.lang.String> allKnownFields)
protected static void fixDeities(Room R)
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Commandexecute in interface Commandexecute in class StdCommandmob - the mob or player issueing the commandcommands - usually the command words and parameters; a set of stringsmetaFlags - flags denoting how the command is being executedjava.io.IOException - usually means the player has dropped carrierCommand.actionsCost(MOB, List),
Command.securityCheck(MOB)public boolean canBeOrdered()
CommandcanBeOrdered in interface CommandcanBeOrdered in class StdCommandpublic boolean securityCheck(MOB mob)
CommandsecurityCheck in interface CommandsecurityCheck in class StdCommandmob - the player mob who might not even know about this command