Click or drag to resize

CustomMessageManagerSendCustomMessage Method (UInt16, Byte, MessageID)

Sends a custom message

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,
	byte[] payload,
	MessageID messageId
)

Parameters

messageType
Type: SystemUInt16
Type of message>
payload
Type: SystemByte
Array of bytes containing custom data
messageId
Type: ImmerseSDK.Multiplayer.MessagingMessageID
The unique ID for this message. Used for persistence
See Also