CMMsg.CheckedMsgResponse, CMMsg.Desc, CMMsg.View| Modifier and Type | Field | Description | 
|---|---|---|
| protected MOB | myAgent | |
| protected Environmental | myTarget | |
| protected Environmental | myTool | |
| protected int | othersMajorMask | |
| protected int | othersMinorType | |
| protected java.lang.String | othersMsg | |
| protected int | sourceMajorMask | |
| protected int | sourceMinorType | |
| protected java.lang.String | sourceMsg | |
| protected boolean | suspendTrailers | |
| protected int | targetMajorMask | |
| protected int | targetMinorType | |
| protected java.lang.String | targetMsg | |
| protected java.util.List<CMMsg> | trailMsgs | |
| protected java.util.List<java.lang.Runnable> | trailRunnables | |
| protected int | value | 
MAJOR_MASK, MASK_ALWAYS, MASK_CHANNEL, MASK_CNTRLMSG, MASK_DELICATE, MASK_DESCS, MASK_EYES, MASK_HANDS, MASK_INTERMSG, MASK_MAGIC, MASK_MALICIOUS, MASK_MOUTH, MASK_MOVE, MASK_OPTIMIZE, MASK_SOUND, MINOR_MASK, MISC_DESCS, MSG_ACTIVATE, MSG_ADVANCE, MSG_AREAAFFECT, MSG_ATTACKMISS, MSG_BID, MSG_BODYDROP, MSG_BORROW, MSG_BRINGTOLIFE, MSG_BUY, MSG_CAST, MSG_CAST_ATTACK_SOMANTIC_SPELL, MSG_CAST_ATTACK_VERBAL_SPELL, MSG_CAST_MALICIOUS, MSG_CAST_SOMANTIC_SPELL, MSG_CAST_VERBAL_SPELL, MSG_CAUSESINK, MSG_CLANEVENT, MSG_CLOSE, MSG_COLLISION, MSG_COMMAND, MSG_COMMANDFAIL, MSG_COMMANDREJECT, MSG_CONTEMPLATE, MSG_CRAWLFLEE, MSG_DAMAGE, MSG_DEACTIVATE, MSG_DEATH, MSG_DELICATE_HANDS_ACT, MSG_DELICATE_SMALL_HANDS_ACT, MSG_DEPOSIT, MSG_DIG, MSG_DISMOUNT, MSG_DISPOSSESS, MSG_DRINK, MSG_DROP, MSG_DUELCHALLENGE, MSG_DUELLOSS, MSG_EAT, MSG_EAT_GROUND, MSG_EMISSION, MSG_EMOTE, MSG_ENHANCE, MSG_ENTER, MSG_EXAMINE, MSG_EXPIRE, MSG_EXTINGUISH, MSG_FILL, MSG_FLEE, MSG_FOLLOW, MSG_GET, MSG_GIVE, MSG_GLANCE, MSG_GRAVITY, MSG_HANDS, MSG_HEALING, MSG_HOLD, MSG_HOLYEVENT, MSG_HUH, MSG_INSTALL, MSG_KNOCK, MSG_LEAVE, MSG_LEGALSTATE, MSG_LEGALWARRANT, MSG_LEVEL, MSG_LIST, MSG_LOCK, MSG_LOGIN, MSG_LOOK, MSG_LOOK_EXITS, MSG_MOUNT, MSG_NEWROOM, MSG_NOFOLLOW, MSG_NOISE, MSG_NOISYMOVEMENT, MSG_OK_ACTION, MSG_OK_VISUAL, MSG_OPEN, MSG_ORDER, MSG_PANIC, MSG_POSSESS, MSG_POUR, MSG_POWERCURRENT, MSG_PRACTICE, MSG_PREINVOKE, MSG_PULL, MSG_PUSH, MSG_PUT, MSG_QUIETMOVEMENT, MSG_QUIT, MSG_READ, MSG_REBUKE, MSG_RECALL, MSG_RELOAD, MSG_REMOVE, MSG_REPAIR, MSG_RETIRE, MSG_RETREAT, MSG_REWRITE, MSG_RITUAL, MSG_ROOMRESET, MSG_SELL, MSG_SERVE, MSG_SHUTDOWN, MSG_SIT, MSG_SITMOVE, MSG_SLEEP, MSG_SNIFF, MSG_SPEAK, MSG_STAND, MSG_STARTUP, MSG_SUBTLEMOVEMENT, MSG_TEACH, MSG_TELL, MSG_THIEF_ACT, MSG_THINK, MSG_THROW, MSG_TRAVEL, MSG_UNLOAD, MSG_UNLOCK, MSG_VALUE, MSG_VIEW, MSG_WASREAD, MSG_WEAPONATTACK, MSG_WEAR, MSG_WEATHER, MSG_WIELD, MSG_WITHDRAW, MSG_WRITE, MSG_WROTE, MSK_CAST, MSK_CAST_MALICIOUS, MSK_CAST_MALICIOUS_SOMANTIC, MSK_CAST_MALICIOUS_VERBAL, MSK_CAST_SOMANTIC, MSK_CAST_VERBAL, MSK_HAGGLE, MSK_MALICIOUS_MOVE, NO_EFFECT, TYP_ACID, TYP_ACTIVATE, TYP_ADVANCE, TYP_AREAAFFECT, TYP_AROMA, TYP_ATTACKMISS, TYP_BID, TYP_BODYDROP, TYP_BORROW, TYP_BUY, TYP_CAST_SPELL, TYP_CAUSESINK, TYP_CHANNEL, TYP_CLANEVENT, TYP_CLOSE, TYP_COLD, TYP_COLLISION, TYP_COMMAND, TYP_COMMANDFAIL, TYP_COMMANDREJECT, TYP_CONTEMPLATE, TYP_DAMAGE, TYP_DEACTIVATE, TYP_DEATH, TYP_DELICATE_HANDS_ACT, TYP_DEPOSIT, TYP_DIG, TYP_DISEASE, TYP_DISMOUNT, TYP_DISPOSSESS, TYP_DRINK, TYP_DROP, TYP_DUELCHALLENGE, TYP_DUELLOSS, TYP_EAT, TYP_ELECTRIC, TYP_EMISSION, TYP_EMOTE, TYP_ENDQUEST, TYP_ENHANCE, TYP_ENTER, TYP_EXAMINE, TYP_EXPCHANGE, TYP_EXPIRE, TYP_EXTINGUISH, TYP_FACTIONCHANGE, TYP_FILL, TYP_FIRE, TYP_FLEE, TYP_FOLLOW, TYP_GAS, TYP_GENERAL, TYP_GET, TYP_GIVE, TYP_GLANCE, TYP_GRAVITY, TYP_HANDS, TYP_HEALING, TYP_HOLD, TYP_HOLYEVENT, TYP_HUH, TYP_INSTALL, TYP_ITEMGENERATED, TYP_ITEMSGENERATED, TYP_JUSTICE, TYP_KNOCK, TYP_LASER, TYP_LEAVE, TYP_LEGALSTATE, TYP_LEGALWARRANT, TYP_LEVEL, TYP_LIFE, TYP_LIST, TYP_LOCK, TYP_LOGIN, TYP_LOOK, TYP_LOOK_EXITS, TYP_MIND, TYP_MOUNT, TYP_NEWROOM, TYP_NOFOLLOW, TYP_NOISE, TYP_NOISYMOVEMENT, TYP_OK_ACTION, TYP_OK_VISUAL, TYP_OPEN, TYP_ORDER, TYP_PANIC, TYP_PARALYZE, TYP_POISON, TYP_POSSESS, TYP_POUR, TYP_POWERCURRENT, TYP_PRACTICE, TYP_PREINVOKE, TYP_PULL, TYP_PUSH, TYP_PUT, TYP_QUIETMOVEMENT, TYP_QUIT, TYP_READ, TYP_REBUKE, TYP_RECALL, TYP_RECIPELEARNED, TYP_RELOAD, TYP_REMOVE, TYP_REPAIR, TYP_RETIRE, TYP_RETREAT, TYP_REWRITE, TYP_RITUAL, TYP_ROOMRESET, TYP_RPXPCHANGE, TYP_SELL, TYP_SERVE, TYP_SHUTDOWN, TYP_SIT, TYP_SITMOVE, TYP_SLEEP, TYP_SNIFF, TYP_SONIC, TYP_SPEAK, TYP_STAND, TYP_STARTUP, TYP_TEACH, TYP_TELL, TYP_THINK, TYP_THROW, TYP_TRAVEL, TYP_UNDEAD, TYP_UNLOAD, TYP_UNLOCK, TYP_VALUE, TYP_VIEW, TYP_WAND_USE, TYP_WASREAD, TYP_WATER, TYP_WEAPONATTACK, TYP_WEAR, TYP_WEATHER, TYP_WIELD, TYP_WINQUEST, TYP_WITHDRAW, TYP_WRITE, TYP_WROTE, TYPE_DESCSidConverter| Constructor | Description | 
|---|---|
| DefaultMessage() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| CMMsg | addTrailerMsg(CMMsg msg) | Appends to the list of other CMMsg events which are slated to be confirmed
 and executed AFTER this current message is handled. | 
| CMMsg | addTrailerRunnable(java.lang.Runnable r) | Appends to the list of Runnable objects which are slated to be confirmed
 and executed AFTER this current message is handled. | 
| boolean | amISource(MOB thisOne) | Returns whether the given Environmental object is, in fact, the source
 of this message. | 
| boolean | amITarget(Environmental thisOne) | Returns whether the given Environmental object is, in fact, the target
 of this message. | 
| int | compareTo(CMObject o) | |
| CMObject | copyOf() | Similar to Cloneable.clone(), but does its best to make sure that
 any internal objects to this class are also copyOfed. | 
| boolean | equals(java.lang.Object o) | |
| protected void | finalize() | |
| int | hashCode() | |
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| void | initializeClass() | Called ONCE after all objects are loaded, but before the map is read in
 during initialization. | 
| boolean | isOthers(int codeOrMask) | Returns whether the given code or mask is either the minor code
 or a part of the major code of the othersCode | 
| boolean | isOthers(Environmental E) | Returns whether the given Environmental object is neither the source
 nor the target of this message. | 
| boolean | isOthers(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor code
 or a part of the major code of the othersCode. | 
| boolean | isOthersMajor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches
 a part of the major code of the othersCode. | 
| boolean | isOthersMinor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor sourceCode
 (Others are everyone not source, not target) | 
| boolean | isSource(int codeOrMask) | Returns whether the given code or mask is either the minor code
 or a part of the major code of the sourceCode | 
| boolean | isSource(Environmental E) | Returns whether the given Environmental object is, in fact, the source
 of this message. | 
| boolean | isSource(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor code
 or a part of the major code of the sourceCode. | 
| boolean | isSourceMajor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches
 a part of the major code of the sourceCode. | 
| boolean | isSourceMinor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor sourceCode | 
| boolean | isTarget(int codeOrMask) | Returns whether the given code or mask is either the minor code
 or a part of the major code of the targetCode | 
| boolean | isTarget(Environmental E) | Returns whether the given Environmental object is, in fact, the target
 of this message. | 
| boolean | isTarget(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor code
 or a part of the major code of the targetCode. | 
| boolean | isTargetMajor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches
 a part of the major code of the targetCode. | 
| boolean | isTargetMinor(java.lang.String codeOrMaskDesc) | Returns whether the given code or mask string matches the minor sourceCode | 
| protected static boolean | matches(int major,
       int minor,
       int code) | |
| protected static boolean | matches(int major,
       int minor,
       java.lang.String code2) | |
| CMMsg | modify(int newAllCode,
      java.lang.String allMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(int newSourceCode,
      java.lang.String sourceMessage,
      int newTargetCode,
      java.lang.String targetMessage,
      int newOthersCode,
      java.lang.String othersMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      int newAllCode,
      java.lang.String allMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      int newAllCode,
      java.lang.String allMessage,
      int newValue) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      Environmental target,
      int newAllCode,
      java.lang.String allMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      Environmental target,
      Environmental tool,
      int newSourceCode,
      int newTargetCode,
      int newOthersCode,
      java.lang.String allMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      Environmental target,
      Environmental tool,
      int newAllCode,
      java.lang.String allMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      Environmental target,
      Environmental tool,
      int newSourceCode,
      java.lang.String sourceMessage,
      int newTargetCode,
      java.lang.String targetMessage,
      int newOthersCode,
      java.lang.String othersMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(MOB source,
      Environmental target,
      Environmental tool,
      int newAllCode,
      java.lang.String sourceMessage,
      java.lang.String targetMessage,
      java.lang.String othersMessage) | Modifies one of more fields in this event. | 
| CMMsg | modify(java.lang.String allMessage) | Modifies one of more fields in this event. | 
| java.lang.String | name() | The displayable name of this object. | 
| CMObject | newInstance() | Returns a new instance of this class. | 
| int | othersCode() | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the others of the
 action. | 
| int | othersMajor() | Returns high order bitmask for the others code
 (Others are everyone not source, not target) | 
| boolean | othersMajor(int bitMask) | Returns whether high order bitmask for the others code is set
 (Others are everyone not source, not target) | 
| java.lang.String | othersMessage() | Returns the string seen by the others of the event, and only by
 the others of the event. | 
| int | othersMinor() | Returns low order action type integer for the others code
 (Others are everyone not source, not target) | 
| protected CMObject | parseFlatObject(java.lang.String part,
               CMClass.CMObjectType preferClass) | |
| void | parseFlatString(java.lang.String flat) | Unserializes this message as well as it reasonably can. | 
| boolean | sameAs(CMMsg E) | Whether this object instance is functionally identical to the object passed in. | 
| CMMsg | setOthersCode(int code) | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the others of the
 action. | 
| CMMsg | setOthersMessage(java.lang.String str) | Sets the string seen by the others of the event, and only by
 the others of the event. | 
| CMMsg | setSource(MOB mob) | Sets the source of this event, a MOB object | 
| CMMsg | setSourceCode(int code) | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the source of the
 action. | 
| CMMsg | setSourceMessage(java.lang.String str) | Sets the string seen by the source of the event, and only by
 the source of the event. | 
| CMMsg | setTarget(Environmental E) | Sets the target of this event, an Environmental object | 
| CMMsg | setTargetCode(int code) | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the target of the
 action. | 
| CMMsg | setTargetMessage(java.lang.String str) | Sets the string seen by the target of the event, and only by
 the target of the event. | 
| CMMsg | setTool(Environmental E) | Sets the means, item, portal, or otherwise tool that helps the source
 affect the event upon the target. | 
| CMMsg | setValue(int amount) | Sets an arbitrary integer value associated with this event. | 
| MOB | source() | Returns the source of this event, a MOB object | 
| int | sourceCode() | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the source of the
 action. | 
| int | sourceMajor() | Returns high order bitmask for the source code | 
| boolean | sourceMajor(int bitMask) | Returns whether high order bitmask for the source code is set | 
| java.lang.String | sourceMessage() | Returns the string seen by the source of the event, and only by
 the source of the event. | 
| int | sourceMinor() | Returns low order action type integer for the target code | 
| boolean | suspendResumeTrailers(java.lang.Boolean newValue) | Suspend or resume processing of trailer messages and runnables whenever
 a room finishes processing a message. | 
| Environmental | target() | Returns the target of this event, an Environmental object | 
| int | targetCode() | A combination bitmask, action type integer that describes information
 about how this event affects or is perceived by the target of the
 action. | 
| int | targetMajor() | Returns high order bitmask for the target code | 
| boolean | targetMajor(int bitMask) | Returns whether high order bitmask for the target code is set | 
| java.lang.String | targetMessage() | Returns the string seen by the target of the event, and only by
 the target of the event. | 
| int | targetMinor() | Returns low order action type integer for the target code | 
| java.lang.String | toFlatString() | Serializes this message as well as it reasonably can. | 
| Environmental | tool() | Returns the means, item, portal, or otherwise tool that helps the source
 affect the event upon the target. | 
| java.util.List<CMMsg> | trailerMsgs() | Returns a List of other CMMsg events which are slated to be confirmed
 and executed AFTER this current message is handled. | 
| java.util.List<java.lang.Runnable> | trailerRunnables() | Returns a List of other Runnables which are slated to be
 and executed AFTER this current message is handled. | 
| int | value() | Returns the arbitrary value integer associated with this event. | 
protected int targetMajorMask
protected int sourceMajorMask
protected int othersMajorMask
protected int targetMinorType
protected int sourceMinorType
protected int othersMinorType
protected java.lang.String targetMsg
protected java.lang.String othersMsg
protected java.lang.String sourceMsg
protected MOB myAgent
protected Environmental myTarget
protected Environmental myTool
protected int value
protected java.util.List<CMMsg> trailMsgs
protected java.util.List<java.lang.Runnable> trailRunnables
protected boolean suspendTrailers
public java.lang.String ID()
CMObjectpublic java.lang.String name()
CMObjectname in interface CMObjectEnvironmental.Name()public CMObject newInstance()
CMObjectnewInstance in interface CMObjectpublic void initializeClass()
CMObjectinitializeClass in interface CMObjectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public CMObject copyOf()
CMObjectprotected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic CMMsg modify(MOB source, Environmental target, int newAllCode, java.lang.String allMessage)
CMMsgmodify in interface CMMsgsource - the source of the eventtarget - the target of the eventnewAllCode - the source, target, and others codeallMessage - the source, target, and others messageCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(java.lang.String allMessage)
CMMsgmodify in interface CMMsgallMessage - the new source, target, and others message of this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(MOB source, int newAllCode, java.lang.String allMessage)
CMMsgmodify in interface CMMsgsource - the new source of this eventnewAllCode - the new source, target, and others code of this eventallMessage - the new source, target, and others message of this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(MOB source, int newAllCode, java.lang.String allMessage, int newValue)
CMMsgmodify in interface CMMsgsource - the new source of this eventnewAllCode - the new source, target, and others code of this eventallMessage - the new source, target, and others message of this eventnewValue - the new value for this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage(), 
CMMsg.value()public CMMsg modify(MOB source, Environmental target, Environmental tool, int newAllCode, java.lang.String allMessage)
CMMsgmodify in interface CMMsgsource - the new source of this eventtarget - the new target of this eventtool - the new tool for this eventnewAllCode - the new source, target, and others code of this eventallMessage - the new source, target, and others message of this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(MOB source, Environmental target, Environmental tool, int newAllCode, java.lang.String sourceMessage, java.lang.String targetMessage, java.lang.String othersMessage)
CMMsgmodify in interface CMMsgsource - the new source of this eventtarget - the new target of this eventtool - the new tool for this eventnewAllCode - the new source, target, and others code of this eventsourceMessage - the new source message for this eventtargetMessage - the new target message for this eventothersMessage - the new others message for this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg setSourceCode(int code)
CMMsgsetSourceCode in interface CMMsgcode - the new full bitmask/action type source event codeCMMsg.source(), 
CMMsg.sourceMessage(), 
CMMsg.sourceCode(), 
CMMsg.sourceMajor(int), 
CMMsg.sourceMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELLpublic CMMsg setTargetCode(int code)
CMMsgsetTargetCode in interface CMMsgcode - the new full bitmask/action type target event codeCMMsg.target(), 
CMMsg.targetMessage(), 
CMMsg.targetCode(), 
CMMsg.targetMajor(int), 
CMMsg.targetMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELLpublic CMMsg setOthersCode(int code)
CMMsgsetOthersCode in interface CMMsgcode - the new full bitmask/action type others event codeCMMsg.othersMessage(), 
CMMsg.othersCode(), 
CMMsg.othersMajor(int), 
CMMsg.othersMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELLpublic CMMsg setSourceMessage(java.lang.String str)
CMMsgsetSourceMessage in interface CMMsgstr - the string to show to the source, or NULLCMMsg.source(), 
CMMsg.sourceMessage(), 
CMMsg.sourceCode()public CMMsg setTargetMessage(java.lang.String str)
CMMsgsetTargetMessage in interface CMMsgstr - the string to show to the target, or NULLCMMsg.target(), 
CMMsg.targetMessage(), 
CMMsg.targetCode()public CMMsg setOthersMessage(java.lang.String str)
CMMsgsetOthersMessage in interface CMMsgstr - the string to show to the others, or NULLCMMsg.othersMessage(), 
CMMsg.othersCode()public int value()
CMMsgpublic CMMsg setValue(int amount)
CMMsgpublic java.util.List<CMMsg> trailerMsgs()
CMMsgtrailerMsgs in interface CMMsgRoom.send(MOB, CMMsg)public java.util.List<java.lang.Runnable> trailerRunnables()
CMMsgtrailerRunnables in interface CMMsgRoom.send(MOB, CMMsg)public boolean suspendResumeTrailers(java.lang.Boolean newValue)
CMMsgsuspendResumeTrailers in interface CMMsgnewValue - null to return the existing value only, or a new valuepublic CMMsg addTrailerMsg(CMMsg msg)
CMMsgaddTrailerMsg in interface CMMsgmsg - the CMMsg to append to this message.Room.send(MOB, CMMsg)public CMMsg addTrailerRunnable(java.lang.Runnable r)
CMMsgaddTrailerRunnable in interface CMMsgr - the Runnable to append to this message.Room.send(MOB, CMMsg)public CMMsg modify(MOB source, Environmental target, Environmental tool, int newSourceCode, java.lang.String sourceMessage, int newTargetCode, java.lang.String targetMessage, int newOthersCode, java.lang.String othersMessage)
CMMsgmodify in interface CMMsgsource - the new source of this eventtarget - the new target of this eventtool - the new tool for this eventnewSourceCode - the new source code for this eventsourceMessage - the new source message for this eventnewTargetCode - the new target code for this eventtargetMessage - the new target message for this eventnewOthersCode - the new others code for this eventothersMessage - the new others message for this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(MOB source, Environmental target, Environmental tool, int newSourceCode, int newTargetCode, int newOthersCode, java.lang.String allMessage)
CMMsgmodify in interface CMMsgsource - the new source of this eventtarget - the new target of this eventtool - the new tool for this eventnewSourceCode - the new source code for this eventnewTargetCode - the new target code for this eventnewOthersCode - the new others code for this eventallMessage - the new source, target, and others message of this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(int newAllCode, java.lang.String allMessage)
CMMsgmodify in interface CMMsgnewAllCode - the new source, target, and others code of this eventallMessage - the new source, target, and others message of this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public CMMsg modify(int newSourceCode, java.lang.String sourceMessage, int newTargetCode, java.lang.String targetMessage, int newOthersCode, java.lang.String othersMessage)
CMMsgmodify in interface CMMsgnewSourceCode - the new source code for this eventsourceMessage - the new source message for this eventnewTargetCode - the new target code for this eventtargetMessage - the new target message for this eventnewOthersCode - the new others code for this eventothersMessage - the new others message for this eventCMMsg.source(), 
CMMsg.target(), 
CMMsg.sourceCode(), 
CMMsg.targetCode(), 
CMMsg.othersCode(), 
CMMsg.sourceMessage(), 
CMMsg.targetMessage(), 
CMMsg.othersMessage()public final MOB source()
CMMsgsource in interface CMMsgCMMsg.setSource(MOB), 
MOBpublic final CMMsg setSource(MOB mob)
CMMsgsetSource in interface CMMsgmob - the new source of this eventCMMsg.source(), 
MOBpublic final Environmental target()
CMMsgtarget in interface CMMsgCMMsg.setTarget(Environmental), 
Environmentalpublic final CMMsg setTarget(Environmental E)
CMMsgsetTarget in interface CMMsgE - the new target of this eventCMMsg.target(), 
Environmentalpublic final Environmental tool()
CMMsgtool in interface CMMsgEnvironmental, 
CMMsg.setTool(Environmental)public final CMMsg setTool(Environmental E)
CMMsgsetTool in interface CMMsgE - the new tool of this eventEnvironmental, 
CMMsg.tool()public final int targetMajor()
CMMsgtargetMajor in interface CMMsgCMMsg.targetCode(), 
CMMsg.targetMinor(), 
CMMsg.MASK_MAGICpublic final int sourceMajor()
CMMsgsourceMajor in interface CMMsgCMMsg.sourceCode(), 
CMMsg.sourceMinor(), 
CMMsg.MASK_MAGICpublic final int othersMajor()
CMMsgothersMajor in interface CMMsgCMMsg.othersCode(), 
CMMsg.othersMinor(), 
CMMsg.MASK_MAGICpublic final boolean targetMajor(int bitMask)
CMMsgtargetMajor in interface CMMsgbitMask - the bitmask to check forCMMsg.targetCode(), 
CMMsg.targetMinor(), 
CMMsg.MASK_MAGICpublic final int targetMinor()
CMMsgtargetMinor in interface CMMsgCMMsg.targetCode(), 
CMMsg.targetMajor(int), 
CMMsg.TYP_CAST_SPELLpublic final int targetCode()
CMMsgtargetCode in interface CMMsgCMMsg.target(), 
CMMsg.targetMessage(), 
CMMsg.targetMajor(int), 
CMMsg.targetMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELL, 
CMMsg.setTargetCode(int)public final java.lang.String targetMessage()
CMMsgtargetMessage in interface CMMsgCMMsg.target(), 
CMMsg.setTargetMessage(String), 
CMMsg.targetCode()public final int sourceCode()
CMMsgsourceCode in interface CMMsgCMMsg.source(), 
CMMsg.sourceMessage(), 
CMMsg.sourceMajor(int), 
CMMsg.sourceMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELL, 
CMMsg.setSourceCode(int)public final boolean sourceMajor(int bitMask)
CMMsgsourceMajor in interface CMMsgbitMask - the bitmask to check forCMMsg.sourceCode(), 
CMMsg.sourceMinor(), 
CMMsg.MASK_MAGICpublic final int sourceMinor()
CMMsgsourceMinor in interface CMMsgCMMsg.targetCode(), 
CMMsg.targetMajor(int), 
CMMsg.TYP_CAST_SPELLpublic final java.lang.String sourceMessage()
CMMsgsourceMessage in interface CMMsgCMMsg.source(), 
CMMsg.setSourceMessage(String), 
CMMsg.sourceCode()public final boolean othersMajor(int bitMask)
CMMsgothersMajor in interface CMMsgbitMask - the bitmask to check forCMMsg.othersCode(), 
CMMsg.othersMinor(), 
CMMsg.MASK_MAGICpublic final int othersMinor()
CMMsgothersMinor in interface CMMsgCMMsg.othersCode(), 
CMMsg.othersMajor(int), 
CMMsg.TYP_CAST_SPELLpublic final int othersCode()
CMMsgothersCode in interface CMMsgCMMsg.othersMessage(), 
CMMsg.othersMajor(int), 
CMMsg.othersMinor(), 
CMMsg.MASK_MAGIC, 
CMMsg.TYP_CAST_SPELL, 
CMMsg.setOthersCode(int)public final java.lang.String othersMessage()
CMMsgothersMessage in interface CMMsgCMMsg.setOthersMessage(String), 
CMMsg.othersCode()public final boolean amITarget(Environmental thisOne)
CMMsgamITarget in interface CMMsgthisOne - the Environmental to inspect, may not be nullCMMsg.target(), 
Environmentalpublic final boolean amISource(MOB thisOne)
CMMsgamISource in interface CMMsgthisOne - the Environmental to inspect, may not be nullCMMsg.source(), 
Environmentalpublic final boolean isTarget(Environmental E)
CMMsgisTarget in interface CMMsgE - the Environmental to inspect, may not be nullCMMsg.target(), 
Environmentalpublic final boolean isTarget(int codeOrMask)
CMMsgisTarget in interface CMMsgcodeOrMask - the target action code or target major mask to checkCMMsg.targetCode()public final boolean isTarget(java.lang.String codeOrMaskDesc)
CMMsgisTarget in interface CMMsgcodeOrMaskDesc - the target action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.targetCode()public final boolean isTargetMajor(java.lang.String codeOrMaskDesc)
CMMsgisTargetMajor in interface CMMsgcodeOrMaskDesc - the target action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.targetCode()public final boolean isTargetMinor(java.lang.String codeOrMaskDesc)
CMMsgisTargetMinor in interface CMMsgcodeOrMaskDesc - the target action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.targetCode()public final boolean isSource(Environmental E)
CMMsgisSource in interface CMMsgE - the Environmental to inspect, may not be nullCMMsg.source(), 
Environmentalpublic final boolean isSource(int codeOrMask)
CMMsgisSource in interface CMMsgcodeOrMask - the source action code or source major mask to checkCMMsg.sourceCode()public final boolean isSource(java.lang.String codeOrMaskDesc)
CMMsgisSource in interface CMMsgcodeOrMaskDesc - the source action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.sourceCode()public final boolean isSourceMajor(java.lang.String codeOrMaskDesc)
CMMsgisSourceMajor in interface CMMsgcodeOrMaskDesc - the source action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.sourceCode()public final boolean isSourceMinor(java.lang.String codeOrMaskDesc)
CMMsgisSourceMinor in interface CMMsgcodeOrMaskDesc - the source action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.sourceCode()public final boolean isOthers(Environmental E)
CMMsgisOthers in interface CMMsgE - the Environmental to inspect, may not be nullEnvironmental, 
CMMsg.source(), 
CMMsg.target()public final boolean isOthers(int codeOrMask)
CMMsgisOthers in interface CMMsgcodeOrMask - the others action code or others major mask to checkCMMsg.othersCode()public final boolean isOthers(java.lang.String codeOrMaskDesc)
CMMsgisOthers in interface CMMsgcodeOrMaskDesc - the others action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.othersCode()public final boolean isOthersMajor(java.lang.String codeOrMaskDesc)
CMMsgisOthersMajor in interface CMMsgcodeOrMaskDesc - the others action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.othersCode()public final boolean isOthersMinor(java.lang.String codeOrMaskDesc)
CMMsgisOthersMinor in interface CMMsgcodeOrMaskDesc - the others action code string, or mask stringCMMsg.TYPE_DESCS, 
CMMsg.MASK_DESCS, 
CMMsg.othersCode()protected static final boolean matches(int major,
                                       int minor,
                                       int code)
protected static final boolean matches(int major,
                                       int minor,
                                       java.lang.String code2)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toFlatString()
CMMsgtoFlatString in interface CMMsgCMMsg.parseFlatString(String)protected CMObject parseFlatObject(java.lang.String part, CMClass.CMObjectType preferClass)
public void parseFlatString(java.lang.String flat)
CMMsgparseFlatString in interface CMMsgflat - the serialized messageCMMsg.toFlatString()