A struct that saves input data for a player duplicating internal input data that is not save to use because of recycling. More...
Public Member Functions | |
byte[] | CloneData () |
Copies the Data into a new array. More... | |
Static Public Member Functions | |
static DeterministicFrameInputTemp | Predicted (byte[] data, int dataLength, DeterministicInputFlags flags) |
Creates a predicted input object for tick 0 and player 0 without rpc data. More... | |
static DeterministicFrameInputTemp | Predicted (int frame, int player, byte[] data, int dataLength, DeterministicInputFlags flags) |
Creates a predicted input object without rpc data. More... | |
static DeterministicFrameInputTemp | Predicted (int frame, int player, byte[] rpc, byte[] data, int dataLength, DeterministicInputFlags flags) |
Creates a predicted input object. More... | |
static DeterministicFrameInputTemp | Predicted (int player, byte[] data, int dataLength, DeterministicInputFlags flags) |
Creates a predicted input object for tick 0 without rpc data. More... | |
static DeterministicFrameInputTemp | Verified (int frame, int player, byte[] rpc, byte[] data, int dataLength, DeterministicInputFlags flags) |
Creates a verified input object. More... | |
Public Attributes | |
byte[] | Data |
The input data. More... | |
int | DataLength |
The Data length. More... | |
DeterministicInputFlags | Flags |
The input flags. More... | |
int | Frame |
The tick of the frame this input belongs to. More... | |
bool | IsVerified |
A flag indicating if the data is verified by the server. More... | |
int | Player |
The Player that the input belongs to. More... | |
byte[] | Rpc |
The RPC data. More... | |
A struct that saves input data for a player duplicating internal input data that is not save to use because of recycling.
|
inline |
Copies the Data into a new array.
|
inlinestatic |
Creates a verified input object.
frame | Tick of the frame |
player | The Quantum player this input is for. |
rpc | The rpc data |
data | The input data |
dataLength | The input data length |
flags | The input flags |
|
inlinestatic |
Creates a predicted input object for tick 0 and player 0 without rpc data.
data | The input data |
dataLength | The input length |
flags | The input flags |
|
inlinestatic |
Creates a predicted input object for tick 0 without rpc data.
player | The Quantum player |
data | The input data |
dataLength | The input data length |
flags | The input flags |
|
inlinestatic |
Creates a predicted input object without rpc data.
frame | Tick |
player | The Quantum player |
data | The input data |
dataLength | The input data length |
flags | The input flags |
|
inlinestatic |
Creates a predicted input object.
frame | Tick of the frame |
player | The Quantum player this input is for. |
rpc | The rpc data |
data | The input data |
dataLength | The input data length |
flags | The input flags |
int Photon.Deterministic.DeterministicFrameInputTemp.Frame |
The tick of the frame this input belongs to.
int Photon.Deterministic.DeterministicFrameInputTemp.Player |
The Player that the input belongs to.
byte [] Photon.Deterministic.DeterministicFrameInputTemp.Rpc |
The RPC data.
byte [] Photon.Deterministic.DeterministicFrameInputTemp.Data |
The input data.
int Photon.Deterministic.DeterministicFrameInputTemp.DataLength |
The Data length.
bool Photon.Deterministic.DeterministicFrameInputTemp.IsVerified |
A flag indicating if the data is verified by the server.
DeterministicInputFlags Photon.Deterministic.DeterministicFrameInputTemp.Flags |
The input flags.