| Modifier and Type | Field | Description |
|---|---|---|
protected static int |
SKILL_ANY |
|
protected static int |
SKILL_BUILDING_ONLY |
|
protected static int |
SKILL_CRAFTING_ONLY |
|
protected static int |
SKILL_EPICUREAN_ONLY |
|
protected static int |
SKILL_GATHERING_ONLY |
idConverternameComparator, playerAcodesID, noCoinFilter| Constructor | Description |
|---|---|
Qualify() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
ableCheck(AbilityMapper ableMapper,
MOB ableM,
Ability A,
boolean checkUnMet,
Filterer<Ability> filter) |
|
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.
|
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,
int ofType,
int ofDomain,
java.lang.String prefix,
boolean shortOnly,
boolean uniqueOnly) |
|
java.lang.StringBuffer |
getQualifiedAbilities(MOB viewerM,
MOB ableM,
Filterer<Ability> filter,
java.lang.String prefix,
boolean shortOnly,
boolean uniqueOnly) |
|
protected java.util.Set<java.lang.Integer> |
getQualifiedTypes(MOB ableM) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAbilities, getAbilities, isDomainIncludedInAnyAbility, isUnique, parseDomainInfo, parsedOutIndividualSkill, parsedOutIndividualSkill, parseOutLevel, parseTypeInfo, pickUniqueFlagactionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlist, securityCheckprotected static final int SKILL_ANY
protected static final int SKILL_CRAFTING_ONLY
protected static final int SKILL_BUILDING_ONLY
protected static final int SKILL_GATHERING_ONLY
protected static final int SKILL_EPICUREAN_ONLY
public java.lang.String[] getAccessWords()
CommandgetAccessWords in interface CommandgetAccessWords in class Skillspublic java.lang.StringBuffer getQualifiedAbilities(MOB viewerM, MOB ableM, int ofType, int ofDomain, java.lang.String prefix, boolean shortOnly, boolean uniqueOnly)
protected java.util.Set<java.lang.Integer> getQualifiedTypes(MOB ableM)
protected boolean ableCheck(AbilityMapper ableMapper, MOB ableM, Ability A, boolean checkUnMet, Filterer<Ability> filter)
public java.lang.StringBuffer getQualifiedAbilities(MOB viewerM, MOB ableM, Filterer<Ability> filter, java.lang.String prefix, boolean shortOnly, boolean uniqueOnly)
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Commandexecute in interface Commandexecute in class Skillsmob - 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 Skills