| CustomMessageManagerSendCustomMessage Method (UInt16, String, MessageID) |
Sends a custom message with a message id. This is required for persisting messages
Namespace:
ImmerseSDK.Multiplayer.Messaging
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax public void SendCustomMessage(
ushort messageType,
string payload,
MessageID messageId
)
Parameters
- messageType
- Type: SystemUInt16
Type of message> - payload
- Type: SystemString
String payload. Will be serialized using UTF8 encoding - messageId
- Type: ImmerseSDK.Multiplayer.MessagingMessageID
The unique ID for this message. Used for persistence
See Also