Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Photon.Deterministic.Protocol.Command Class Reference

Creates a Quantum command. More...

Inheritance diagram for Photon.Deterministic.Protocol.Command:
Photon.Deterministic.Protocol.Message

Public Member Functions

override void Serialize (Serializer serializer, BitStream stream)
 The message serialization (writing and reading). More...
 
override string ToString ()
 Debug string with message content. More...
 

Public Attributes

Byte[] Data
 Command data. More...
 
Int32 PlayerSlot
 Index of the local player slot this command is for. If this is a sever command it will represent the player. More...
 
Int32 PredictedTick
 The tick candidate to match the local command prediction. The actual command can happen later. More...
 

Detailed Description

Creates a Quantum command.

Member Function Documentation

◆ Serialize()

override void Photon.Deterministic.Protocol.Command.Serialize ( Serializer  serializer,
BitStream  stream 
)
inlinevirtual

The message serialization (writing and reading).

Parameters
serializerQuantum protocol serializer
streamThe bitstream to write to or read from

Implements Photon.Deterministic.Protocol.Message.

◆ ToString()

override string Photon.Deterministic.Protocol.Command.ToString ( )
inline

Debug string with message content.

Returns
Debug string

Member Data Documentation

◆ PlayerSlot

Int32 Photon.Deterministic.Protocol.Command.PlayerSlot

Index of the local player slot this command is for. If this is a sever command it will represent the player.

◆ PredictedTick

Int32 Photon.Deterministic.Protocol.Command.PredictedTick

The tick candidate to match the local command prediction. The actual command can happen later.

◆ Data

Byte [] Photon.Deterministic.Protocol.Command.Data

Command data.