Classes | Namespaces

VariableDeltaSerializer.h File Reference

#include "VariableListDeltaTracker.h"
#include "DS_MemoryPool.h"
#include "NativeTypes.h"
#include "BitStream.h"
#include "PacketPriority.h"
#include "DS_OrderedList.h"
Include dependency graph for VariableDeltaSerializer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RakNet::VariableDeltaSerializer
 Class to compare memory values of variables in a current state to a prior state Results of the comparisons will be written to a bitStream, such that only changed variables get written
Can be used with ReplicaManager3 to Serialize a Replica3 per-variable, rather than comparing the entire object against itself
Usage:
BR> 1. Call BeginUnreliableAckedSerialize(), BeginUniqueSerialize(), or BeginIdenticalSerialize(). In the case of Replica3, this would be in the Serialize() call
2. For each variable of the type in step 1, call Serialize(). The same variables must be serialized every tick()
3. Call EndSerialize()
4. Repeat step 1 for each of the other categories of how to send varaibles. More...
struct  RakNet::VariableDeltaSerializer::SerializationContext
struct  RakNet::VariableDeltaSerializer::DeserializationContext
struct  RakNet::VariableDeltaSerializer::ChangedVariablesList
struct  RakNet::VariableDeltaSerializer::RemoteSystemVariableHistory

Namespaces

namespace  RakNet
 

Forward declaration.