|
| MmMessageSerializable () |
| Creates a basic MmMessageSerializable More...
|
|
| MmMessageSerializable (MmMetadataBlock metadataBlock=null) |
| Creates a basic MmMessageSerializable, with a control block More...
|
|
| MmMessageSerializable (IMmSerializable iVal, MmMethod mmMethod=default(MmMethod), MmMetadataBlock metadataBlock=null) |
| Create an MmMessage, with control block, MmMethod, and an int More...
|
|
| MmMessageSerializable (MmMessageSerializable message) |
| Duplicate an MmMessageSerializable More...
|
|
override MmMessage | Copy () |
| Message copy method More...
|
|
override void | Deserialize (NetworkReader reader) |
| Deserialize the message More...
|
|
override void | Serialize (NetworkWriter writer) |
| Serialize the MmMessage More...
|
|
void | AssignType () |
| Attempt to determine type of the value, then lookup in the types dictionary then assign to numerical value for transfer Sample code from: https://stackoverflow.com/questions/2444033/get-dictionary-key-by-value More...
|
|
| MmMessage () |
| Creates a basic MmMessage with a default control block More...
|
|
| MmMessage (MmMetadataBlock metadataBlock) |
| Creates a basic MmMessage with the passed control block. More...
|
|
| MmMessage (MmMethod mmMethod, MmMetadataBlock metadataBlock=null) |
| Create an MmMessage, with defined control block and MmMethod More...
|
|
| MmMessage (MmMethod mmMethod, MmLevelFilter levelFilter, MmActiveFilter activeFilter, MmSelectedFilter selectedFilter, MmNetworkFilter networkFilter) |
| Create an MmMessage, with filters defined directly More...
|
|
| MmMessage (MmMessage message) |
| Duplicate an MmMessage More...
|
|
override void | Deserialize (NetworkReader reader) |
| Deserialize the MmMessage More...
|
|
override void | Serialize (NetworkWriter writer) |
| Serialize the MmMessage More...
|
|
MmMessage that sends a serialized object as payload You need to assign your implementation of the IMSerializable interface to the Serializable types somewhere in your program. Additionally, you need to invoke the AssignType function manually if you do not create the message using the constructor with an IMSerializable as a parameter or the copy constructor.