Click or drag to resize

CustomMessageManagerSendCustomMessage Method (UInt16, Object, 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
C#
public void SendCustomMessage(
	ushort messageType,
	Object payload,
	MessageID messageId
)

Parameters

messageType
Type: SystemUInt16
Type of message>
payload
Type: SystemObject
Serializable object to be sent as the message payload
messageId
Type: ImmerseSDK.Multiplayer.MessagingMessageID
The unique ID for this message. Used for persistence
See Also