Quantum 3
3.0.13
The interface to implement streaming input for a Quantum replay session. More...
Public Member Functions | |
| int | BeginReadFrame (int frame) |
| Request input for a certain frame. More... | |
| void | CompleteReadFrame (int frame, int length, ref byte[] data) |
| Read the input data for the frame. More... | |
| void | Reset () |
| Resets the input provider when restarting a replay for example. The stream should be reset to the beginning. More... | |
Public Member Functions inherited from Photon.Deterministic.IDeterministicRpcProvider | |
| void | AddRpc (int playerSlot, byte[] data, bool command) |
| Adds an RPC to the simulation. More... | |
| QTuple< byte[], bool > | GetRpc (int frame, int player) |
| Gets the RPC data for the given frame and player. More... | |
Public Member Functions inherited from Photon.Deterministic.IDeterministicInputProvider | |
| bool | CanSimulate (int frame) |
| Is all input for this frame available. More... | |
| DeterministicFrameInputTemp | GetInput (int frame, int playerSlot) |
| Get the input for the given frame and player. More... | |
Properties | |
| int | MaxFrame [get] |
| The maximum frame number that the input provider can provide at a given moment. More... | |
Properties inherited from Photon.Deterministic.IDeterministicReplayProvider | |
| int | LocalActorNumber [get] |
| Setting the correct local actor number makes DeterministicSession.IsLocalPlayer(Quantum.PlayerRef) work in replays similar to normal Quantum sessions. More... | |
The interface to implement streaming input for a Quantum replay session.
| int Photon.Deterministic.IDeterministicStreamReplayInputProvider.BeginReadFrame | ( | int | frame | ) |
Request input for a certain frame.
| frame | The frame for the requested input |
Implemented in Quantum.StreamReplayInputProvider, and Quantum.BitStreamReplayInputProvider.
| void Photon.Deterministic.IDeterministicStreamReplayInputProvider.CompleteReadFrame | ( | int | frame, |
| int | length, | ||
| ref byte[] | data | ||
| ) |
Read the input data for the frame.
| frame | The frame to read the input for |
| length | The input length requested in BeginReadFrame(int) |
| data | The array to copy input data to |
Implemented in Quantum.StreamReplayInputProvider, and Quantum.BitStreamReplayInputProvider.
| void Photon.Deterministic.IDeterministicStreamReplayInputProvider.Reset | ( | ) |
Resets the input provider when restarting a replay for example. The stream should be reset to the beginning.
Implemented in Quantum.StreamReplayInputProvider, and Quantum.BitStreamReplayInputProvider.
|
get |
The maximum frame number that the input provider can provide at a given moment.