com.planet_ink.coffee_mud.Common.interfaces
Class CMMsg.Desc
java.lang.Object
com.planet_ink.coffee_mud.Common.interfaces.CMMsg.Desc
- Enclosing interface:
- CMMsg
public static final class CMMsg.Desc
- extends java.lang.Object
An accessor for safely converting raw message codes into friendlier
description codes, and back again.
Field Summary |
protected static java.util.Map<java.lang.Integer,java.lang.String> |
MSGDESC_TYPES
|
protected static java.util.Map<java.lang.String,java.lang.Integer> |
MSGTYPE_DESCS
|
Method Summary |
static java.util.Map<java.lang.Integer,java.lang.String> |
getMSGDESC_TYPES()
Returns a map of raw message code mask/minor values to strings |
static java.util.Map<java.lang.String,java.lang.Integer> |
getMSGTYPE_DESCS()
Returns a map of description code strings, to their raw message code
masks/minor values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSGTYPE_DESCS
protected static final java.util.Map<java.lang.String,java.lang.Integer> MSGTYPE_DESCS
MSGDESC_TYPES
protected static final java.util.Map<java.lang.Integer,java.lang.String> MSGDESC_TYPES
CMMsg.Desc
public CMMsg.Desc()
getMSGTYPE_DESCS
public static java.util.Map<java.lang.String,java.lang.Integer> getMSGTYPE_DESCS()
- Returns a map of description code strings, to their raw message code
masks/minor values.
- Returns:
- the map
getMSGDESC_TYPES
public static java.util.Map<java.lang.Integer,java.lang.String> getMSGDESC_TYPES()
- Returns a map of raw message code mask/minor values to strings
- Returns:
- the map