java.lang.Cloneable
, java.lang.Runnable
SetStat
public class GetStat extends CM1Command
Modifier and Type | Field | Description |
---|---|---|
protected static java.lang.String[] |
ITEMSTATS |
|
protected static java.lang.String[] |
MOBASTATS |
|
protected static java.lang.String[] |
PHYASTATS |
|
protected static java.lang.String[] |
PHYSSTATS |
|
protected static java.lang.String[] |
ROOMSTATS |
|
protected static java.lang.String[] |
STATTYPES |
|
protected static java.lang.String[] |
TYPESTYPE |
className, parameters, req
Constructor | Description |
---|---|
GetStat(RequestHandler req,
java.lang.String parameters) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getApplicableStatCodes(Physical P) |
|
java.lang.String |
getCommandWord() |
|
java.lang.String |
getHelp(MOB user,
PhysicalAgent target,
java.lang.String rest) |
|
Modifiable |
getModifiable(java.lang.String type,
Physical P) |
|
java.lang.String[] |
getStatCodes(Physical P,
Modifiable m) |
|
char |
getTypeCode(Physical P) |
|
boolean |
isApplicableTypeCode(java.lang.String type,
Physical P) |
|
boolean |
isAStat(Physical P,
Modifiable m,
java.lang.String stat) |
|
boolean |
passesSecurityCheck(MOB user,
PhysicalAgent target) |
|
void |
run() |
|
boolean |
UseGenBuilder(Physical P,
Modifiable m) |
getTarget, isAuthorized, newInstance
protected static final java.lang.String[] STATTYPES
protected static final java.lang.String[] TYPESTYPE
protected static final java.lang.String[] PHYSSTATS
protected static final java.lang.String[] PHYASTATS
protected static final java.lang.String[] MOBASTATS
protected static final java.lang.String[] ITEMSTATS
protected static final java.lang.String[] ROOMSTATS
public GetStat(RequestHandler req, java.lang.String parameters)
public java.lang.String getCommandWord()
getCommandWord
in class CM1Command
public char getTypeCode(Physical P)
public boolean isApplicableTypeCode(java.lang.String type, Physical P)
public java.lang.String[] getApplicableStatCodes(Physical P)
public Modifiable getModifiable(java.lang.String type, Physical P)
public boolean UseGenBuilder(Physical P, Modifiable m)
public java.lang.String[] getStatCodes(Physical P, Modifiable m)
public boolean isAStat(Physical P, Modifiable m, java.lang.String stat)
public void run()
public boolean passesSecurityCheck(MOB user, PhysicalAgent target)
passesSecurityCheck
in class CM1Command
public java.lang.String getHelp(MOB user, PhysicalAgent target, java.lang.String rest)
getHelp
in class CM1Command