![]() | GhostMessage Structure |
Namespace: ImmerseSDK.Multiplayer.Messaging
public struct GhostMessage : IMortarMessage
The GhostMessage type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Empty | Obsolete.
Default or Empty or Null Message
|
![]() | ID |
The message id
|
![]() | IsPersistedMessage |
Indicates if the message will be persisted
|
![]() | Payload |
Payload of the message
|
![]() | PayloadLength |
Length of the payload
|
![]() | Sender |
Sender id
|
![]() | TimeStamp |
When the message was sent
|
![]() | Type |
Message type
|
Name | Description | |
---|---|---|
![]() | ToString |
Prints some information about the message. Helps in debugging and console messages.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
![]() | PayloadToObjectT |
Deserializes a Serializable object from a byte array
(Defined by PayloadSerialization.) |
![]() | PayloadToObjectFromJsonT |
Deserializes an objects from a byte array containing a UTF8 encoded json string
(Defined by PayloadSerialization.) |
![]() | PayloadToString |
Reads a message payload as a UTF8 encoded string
(Defined by PayloadSerialization.) |