| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
BaseMessage
Data packets must inherit from this base class. A subclass must have a static property called MessageTypeID set to a integer value to uniquely identify the packet within a single PacketFactory.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
HEADER_FORMAT =
|
|
MessageTypeID = None
|
|
MessageValues = None
|
|
UseDefaultValues = True
|
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Returns a list containing the header+packet values used to construct the packet |
Returns a struct compatible format string of the message header and data |
Returns a string containing the header and data. This string can be passed to .loadFromString(...). |
Read a packet header from an instance of ByteBuffer. This method will return a tuple containing the header values. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jul 13 20:33:07 2011 | http://epydoc.sourceforge.net |