public class Destroy extends StdCommand
idConverter
ID, noCoinFilter
Constructor | Description |
---|---|
Destroy() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
abilities(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
accounts(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
achievements(MOB mob,
java.util.List<java.lang.String> commands) |
|
double |
actionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this command.
|
void |
allQualify(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
areas(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
awards(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
boolean |
classes(MOB mob,
java.util.List<java.lang.String> commands) |
|
double |
combatActionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this command.
|
boolean |
components(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
cron(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
destroyItem(MOB mob,
Physical dropThis,
boolean quiet,
boolean optimize) |
|
void |
destroyMQL(MOB mob,
boolean areaFlag,
java.util.List<java.lang.String> commands) |
|
boolean |
errorOut(MOB mob) |
|
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.
|
void |
exits(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
expertises(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.Thread |
findThread(java.lang.String threadName) |
|
java.lang.Thread |
findThreadGroup(java.lang.String threadName,
java.lang.ThreadGroup tGroup) |
|
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.
|
boolean |
helps(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
items(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listOfThings() |
|
void |
manufacturer(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
mobs(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
plane(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
players(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
races(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
rooms(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
socials(MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
titles(MOB mob,
java.util.List<java.lang.String> commands) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeCancelled, checkArguments, checkedActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlist, securityCheck
public java.lang.String[] getAccessWords()
Command
getAccessWords
in interface Command
getAccessWords
in class StdCommand
public boolean errorOut(MOB mob)
public java.lang.String listOfThings()
public void awards(MOB mob, java.util.List<java.lang.String> commands)
public boolean mobs(MOB mob, java.util.List<java.lang.String> commands)
public void manufacturer(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public void cron(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public void accounts(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public boolean players(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public java.lang.Thread findThreadGroup(java.lang.String threadName, java.lang.ThreadGroup tGroup)
public java.lang.Thread findThread(java.lang.String threadName)
public void rooms(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public void exits(MOB mob, java.util.List<java.lang.String> commands)
public boolean helps(MOB mob, java.util.List<java.lang.String> commands)
public boolean items(MOB mob, java.util.List<java.lang.String> commands)
public void areas(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public boolean races(MOB mob, java.util.List<java.lang.String> commands)
public boolean components(MOB mob, java.util.List<java.lang.String> commands)
public boolean plane(MOB mob, java.util.List<java.lang.String> commands)
public boolean expertises(MOB mob, java.util.List<java.lang.String> commands)
public boolean titles(MOB mob, java.util.List<java.lang.String> commands)
public boolean classes(MOB mob, java.util.List<java.lang.String> commands)
public boolean abilities(MOB mob, java.util.List<java.lang.String> commands)
public void destroyMQL(MOB mob, boolean areaFlag, java.util.List<java.lang.String> commands)
public boolean achievements(MOB mob, java.util.List<java.lang.String> commands)
public void socials(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public boolean destroyItem(MOB mob, Physical dropThis, boolean quiet, boolean optimize)
public void allQualify(MOB mob, java.util.List<java.lang.String> commands) throws java.io.IOException
java.io.IOException
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Command
execute
in interface Command
execute
in class StdCommand
mob
- 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 double combatActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Command
combatActionsCost
in interface Command
combatActionsCost
in class StdCommand
mob
- the mob executing the command, if anycmds
- the parameters to be passed to the command, if anyCommand.actionsCost(MOB, List)
,
Command.checkedActionsCost(MOB, List)
public double actionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Command
actionsCost
in interface Command
actionsCost
in class StdCommand
mob
- the mob executing the command, if anycmds
- the parameters to be passed to the command, if anyCommand.combatActionsCost(MOB, List)
,
Command.checkedActionsCost(MOB, List)
public boolean canBeOrdered()
Command
canBeOrdered
in interface Command
canBeOrdered
in class StdCommand