#include <ReplicaManager3.h>
Public Attributes | |
RakNet::BitStream | outputBitstream [RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
RakNet::BitStream * | lastSentBitstream [RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
RakNet::Time | messageTimestamp |
PRO | pro [RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
RakNet::Connection_RM3 * | destinationConnection |
Passed to RakPeerInterface::Send(). | |
BitSize_t | bitsWrittenSoFar |
RakNet::Time | whenLastSerialized |
RakNet::Time | curTime |
For prior serializations this tick, for the same connection, how many bits have we written so far? Use this to limit how many objects you send to update per-tick if desired
RakNet::Time RakNet::SerializeParameters::curTime |
Current time, in milliseconds. curTime - whenLastSerialized is how long it has been since this object was last sent
RakNet::BitStream* RakNet::SerializeParameters::lastSentBitstream[RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
Last bitstream we sent for this replica to this system. Read, but DO NOT MODIFY
RakNet::Time RakNet::SerializeParameters::messageTimestamp |
Set to non-zero to transmit a timestamp with this message. Defaults to 0 Use RakNet::GetTime() for this
RakNet::BitStream RakNet::SerializeParameters::outputBitstream[RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
Write your output for serialization here If nothing is written, the serialization will not occur Write to any or all of the NUM_OUTPUT_BITSTREAM_CHANNELS channels available. Channels can hold independent data
PRO RakNet::SerializeParameters::pro[RM3_NUM_OUTPUT_BITSTREAM_CHANNELS] |
Passed to RakPeerInterface::Send(). Defaults to ReplicaManager3::SetDefaultPacketPriority(). Passed to RakPeerInterface::Send(). Defaults to ReplicaManager3::SetDefaultPacketReliability(). Passed to RakPeerInterface::Send(). Defaults to ReplicaManager3::SetDefaultOrderingChannel().
RakNet::Time RakNet::SerializeParameters::whenLastSerialized |
When this object was last serialized to the connection 0 means never