com.planet_ink.coffee_mud.core.intermud.cm1.commands
Class GetStat

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
      extended by com.planet_ink.coffee_mud.core.intermud.cm1.commands.GetStat
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Runnable
Direct Known Subclasses:
SetStat

public class GetStat
extends CM1Command


Field Summary
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
           
 
Fields inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
className, parameters, req
 
Constructor Summary
GetStat(RequestHandler req, java.lang.String parameters)
           
 
Method Summary
 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 isAuthorized(MOB user, PhysicalAgent target)
           
 boolean passesSecurityCheck(MOB user, PhysicalAgent target)
           
 void run()
           
 boolean UseGenBuilder(Physical P, Modifiable m)
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
getTarget, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATTYPES

protected static final java.lang.String[] STATTYPES

TYPESTYPE

protected static final java.lang.String[] TYPESTYPE

PHYSSTATS

protected static final java.lang.String[] PHYSSTATS

PHYASTATS

protected static final java.lang.String[] PHYASTATS

MOBASTATS

protected static final java.lang.String[] MOBASTATS

ITEMSTATS

protected static final java.lang.String[] ITEMSTATS

ROOMSTATS

protected static final java.lang.String[] ROOMSTATS
Constructor Detail

GetStat

public GetStat(RequestHandler req,
               java.lang.String parameters)
Method Detail

getCommandWord

public java.lang.String getCommandWord()
Specified by:
getCommandWord in class CM1Command

getTypeCode

public char getTypeCode(Physical P)

isApplicableTypeCode

public boolean isApplicableTypeCode(java.lang.String type,
                                    Physical P)

getApplicableStatCodes

public java.lang.String[] getApplicableStatCodes(Physical P)

getModifiable

public Modifiable getModifiable(java.lang.String type,
                                Physical P)

UseGenBuilder

public boolean UseGenBuilder(Physical P,
                             Modifiable m)

getStatCodes

public java.lang.String[] getStatCodes(Physical P,
                                       Modifiable m)

isAStat

public boolean isAStat(Physical P,
                       Modifiable m,
                       java.lang.String stat)

isAuthorized

public boolean isAuthorized(MOB user,
                            PhysicalAgent target)

run

public void run()

passesSecurityCheck

public boolean passesSecurityCheck(MOB user,
                                   PhysicalAgent target)
Specified by:
passesSecurityCheck in class CM1Command

getHelp

public java.lang.String getHelp(MOB user,
                                PhysicalAgent target,
                                java.lang.String rest)
Specified by:
getHelp in class CM1Command