| 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
)
Public Function CreateRTMessage (
_opCode As GameLiftManagerOpCode,
_payload As Byte(),
Optional _deliveryIntent As DeliveryIntent = DeliveryIntent.Reliable,
Optional _targetGroup As Integer = -1,
Optional _targetPlayer As Integer = -1
) As RTMessage
public:
RTMessage^ CreateRTMessage(
GameLiftManagerOpCode _opCode,
array<unsigned char>^ _payload,
DeliveryIntent _deliveryIntent = DeliveryIntent::Reliable,
int _targetGroup = -1,
int _targetPlayer = -1
)
member CreateRTMessage :
_opCode : GameLiftManagerOpCode *
_payload : byte[] *
?_deliveryIntent : DeliveryIntent *
?_targetGroup : int *
?_targetPlayer : int
(* Defaults:
let __deliveryIntent = defaultArg _deliveryIntent DeliveryIntent.Reliable
let __targetGroup = defaultArg _targetGroup -1
let __targetPlayer = defaultArg _targetPlayer -1
*)
-> RTMessage
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