public class WillQualify extends Skills
idConverter
nameComparator, playerAcodes
ID, noCoinFilter
Constructor | Description |
---|---|
WillQualify() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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.lang.StringBuffer |
getQualifiedAbilities(MOB viewerM,
MOB ableM,
java.lang.String classID,
java.lang.String raceID,
int startLevel,
int maxLevel,
java.lang.String prefix,
java.util.Set<java.lang.Object> types,
java.util.Set<java.lang.Object> noTypes,
boolean uniqueOnly) |
|
boolean |
perfectMatch(java.lang.String[] WORDS,
java.lang.String str,
java.lang.String bothStr,
java.util.List<java.lang.String> commands,
java.util.Set<java.lang.Object> useTypes,
int bitShift) |
|
boolean |
softMatch(java.lang.String[] WORDS,
java.lang.String str,
java.lang.String bothStr,
java.util.List<java.lang.String> commands,
java.util.Set<java.lang.Object> useTypes,
int bitShift) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeOrdered, getAbilities, getAbilities, isDomainIncludedInAnyAbility, isUnique, parseDomainInfo, parsedOutIndividualSkill, parsedOutIndividualSkill, parseOutLevel, parseTypeInfo, pickUniqueFlag
actionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, 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 Skills
public java.lang.StringBuffer getQualifiedAbilities(MOB viewerM, MOB ableM, java.lang.String classID, java.lang.String raceID, int startLevel, int maxLevel, java.lang.String prefix, java.util.Set<java.lang.Object> types, java.util.Set<java.lang.Object> noTypes, boolean uniqueOnly)
public boolean perfectMatch(java.lang.String[] WORDS, java.lang.String str, java.lang.String bothStr, java.util.List<java.lang.String> commands, java.util.Set<java.lang.Object> useTypes, int bitShift)
public boolean softMatch(java.lang.String[] WORDS, java.lang.String str, java.lang.String bothStr, java.util.List<java.lang.String> commands, java.util.Set<java.lang.Object> useTypes, int bitShift)
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 Skills
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)