public class Questwins extends StdCommand
idConverterID, noCoinFilter| Constructor | Description |
|---|---|
Questwins() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
Quest |
findQuest(java.util.List<Quest> fromList,
java.lang.String rest) |
|
Quest |
findScriptedQuest(java.lang.String mobName,
java.lang.String rest) |
|
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.
|
java.util.List<Quest> |
getQuestsDoingList(java.lang.String mobName) |
|
java.lang.String |
getQuestsDoingList(java.lang.String mobName,
java.lang.String pronoun) |
|
protected java.lang.String |
getQuestsWonList(java.lang.String mobName,
java.lang.String pronoun) |
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, putInCommandlist, securityCheckpublic java.lang.String[] getAccessWords()
CommandgetAccessWords in interface CommandgetAccessWords in class StdCommandprotected java.lang.String getQuestsWonList(java.lang.String mobName,
java.lang.String pronoun)
public java.lang.String getQuestsDoingList(java.lang.String mobName,
java.lang.String pronoun)
public java.util.List<Quest> getQuestsDoingList(java.lang.String mobName)
public Quest findScriptedQuest(java.lang.String mobName, java.lang.String rest)
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 StdCommand