Click or drag to resize

GameLiftManagerCreateRTMessage Method

Creates an RealTime message to be sent to other users

Namespace:  ASL
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public RTMessage CreateRTMessage(
	GameLiftManagerOpCode _opCode,
	byte[] _payload,
	DeliveryIntent _deliveryIntent = DeliveryIntent.Reliable,
	int _targetGroup = -1,
	int _targetPlayer = -1
)

Parameters

_opCode
Type: ASLGameLiftManagerOpCode
The OpCode to be used to communicate what packet this is
_payload
Type: SystemByte
The byte array containing the information to be transmitted in this message
_deliveryIntent (Optional)
Type: DeliveryIntent
How this message should be sent. The default is reliable (TCP)
_targetGroup (Optional)
Type: SystemInt32
The target group to send this message to. The default is the group for all users
_targetPlayer (Optional)
Type: SystemInt32
The target player to send this message to. The default is the server where it is then intercepted and sent to all players reliably.

Return Value

Type: RTMessage

[Missing <returns> documentation for "M:ASL.GameLiftManager.CreateRTMessage(ASL.GameLiftManager.OpCode,System.Byte[],Aws.GameLift.Realtime.Types.DeliveryIntent,System.Int32,System.Int32)"]

See Also