A management system for your game objects and players to make serialization, scoping, and object creation and destruction easier. More...
#include <ReplicaManager2.h>
Inherits PluginInterface2.
A management system for your game objects and players to make serialization, scoping, and object creation and destruction easier.
Quick start:
Automatic serialization: Call Replica2::AddAutoSerializeTimer() to automatically call Replica2::Serialize() at intervals, compare this to the last value, and broadcast out the object when the serialized variables change. <>
Definition at line 130 of file ReplicaManager2.h.
ReplicaManager2::ReplicaManager2 | ( | ) |
Definition at line 72 of file ReplicaManager2.cpp.
ReplicaManager2::~ReplicaManager2 | ( | ) | [virtual] |
Definition at line 84 of file ReplicaManager2.cpp.
void ReplicaManager2::AddConstructionReference | ( | Connection_RM2 * | connection, | |
Replica2 * | replica | |||
) | [protected] |
Definition at line 660 of file ReplicaManager2.cpp.
bool ReplicaManager2::AddNewConnection | ( | SystemAddress | systemAddress | ) |
If SetAutoAddNewConnections() is false, you need to add connections manually connections are also created implicitly if needed
[in] | systemAddress | The address of the new system |
Definition at line 605 of file ReplicaManager2.cpp.
bool ReplicaManager2::AddToAndWriteExclusionList | ( | SystemAddress | recipient, | |
RakNet::BitStream * | bs, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList | |||
) | [protected] |
Definition at line 935 of file ReplicaManager2.cpp.
void ReplicaManager2::AddVisibilityReference | ( | Connection_RM2 * | connection, | |
Replica2 * | replica | |||
) | [protected] |
Definition at line 665 of file ReplicaManager2.cpp.
Connection_RM2 * ReplicaManager2::AutoCreateConnection | ( | SystemAddress | systemAddress, | |
bool * | newConnection | |||
) | [protected] |
Definition at line 572 of file ReplicaManager2.cpp.
void ReplicaManager2::Clear | ( | void | ) | [protected] |
Definition at line 995 of file ReplicaManager2.cpp.
int ReplicaManager2::Connection_RM2CompBySystemAddress | ( | const SystemAddress & | key, | |
RakNet::Connection_RM2 *const & | data | |||
) | [static] |
Connection_RM2 * ReplicaManager2::CreateConnectionIfDoesNotExist | ( | SystemAddress | systemAddress, | |
bool * | newConnection | |||
) | [protected] |
Definition at line 588 of file ReplicaManager2.cpp.
void ReplicaManager2::CullByAndAddToExclusionList | ( | DataStructures::OrderedList< SystemAddress, Connection_RM2 *, ReplicaManager2::Connection_RM2CompBySystemAddress > & | inputList, | |
DataStructures::OrderedList< SystemAddress, Connection_RM2 *, ReplicaManager2::Connection_RM2CompBySystemAddress > & | culledOutput, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList | |||
) | [protected] |
Definition at line 950 of file ReplicaManager2.cpp.
void ReplicaManager2::Dereference | ( | Replica2 * | replica | ) |
Stops tracking this replica. Call before deleting the Replica. Done automatically in ~Replica()
Definition at line 394 of file ReplicaManager2.cpp.
void ReplicaManager2::DownloadToNewConnection | ( | Connection_RM2 * | connection, | |
RakNetTime | timestamp, | |||
PacketPriority | priority, | |||
PacketReliability | reliability, | |||
char | orderingChannel | |||
) | [protected] |
Definition at line 1008 of file ReplicaManager2.cpp.
Connection_RM2 * ReplicaManager2::GetConnectionAtIndex | ( | unsigned | index | ) | const |
Returns a connection pointer previously implicitly added.
[in] | index | An index, from 0 to GetConnectionCount()-1. |
Definition at line 472 of file ReplicaManager2.cpp.
Connection_RM2 * ReplicaManager2::GetConnectionBySystemAddress | ( | SystemAddress | systemAddress | ) | const |
Returns a connection pointer previously implicitly added.
[in] | systemAddress | The system address of the connection to return |
Definition at line 476 of file ReplicaManager2.cpp.
unsigned ReplicaManager2::GetConnectionCount | ( | void | ) | const |
Returns the number of registered connections. Connections are registered implicitly when used. Connections are unregistered on disconnect.
Definition at line 468 of file ReplicaManager2.cpp.
unsigned int ReplicaManager2::GetConnectionIndexBySystemAddress | ( | SystemAddress | systemAddress | ) | const |
Returns the index of a connection, by SystemAddress
[in] | systemAddress | The system address of the connection index to return |
Definition at line 484 of file ReplicaManager2.cpp.
void ReplicaManager2::GetConnectionsWithReplicaConstructed | ( | Replica2 * | replica, | |
DataStructures::OrderedList< SystemAddress, Connection_RM2 *, ReplicaManager2::Connection_RM2CompBySystemAddress > & | output | |||
) |
Given a replica instance, return all connections that are believed to have this replica instantiated.
[in] | replica | Which replica is being refered to |
[out] | output | List of connections, ordered by system address |
Definition at line 532 of file ReplicaManager2.cpp.
void ReplicaManager2::GetConnectionsWithSerializeVisibility | ( | Replica2 * | replica, | |
DataStructures::OrderedList< SystemAddress, Connection_RM2 *, ReplicaManager2::Connection_RM2CompBySystemAddress > & | output | |||
) |
Given a replica instance, return all connections that are believed to have this replica visible
[in] | replica | Which replica is being refered to |
[out] | output | List of connections, ordered by system address |
Definition at line 550 of file ReplicaManager2.cpp.
RakPeerInterface * ReplicaManager2::GetRakPeer | ( | void | ) | const |
Gets the instance of RakPeerInterface that this plugin was attached to
Definition at line 568 of file ReplicaManager2.cpp.
Replica2 * ReplicaManager2::GetReplicaAtIndex | ( | unsigned | index | ) |
Returns a previously registered Replica2 *, from index 0 to GetReplicaCount()-1. Replica2* objects are returned in the order they were registered.
[in] | index | An index, from 0 to GetReplicaCount()-1. |
Definition at line 451 of file ReplicaManager2.cpp.
unsigned ReplicaManager2::GetReplicaCount | ( | void | ) | const |
Returns how many Replica2 instances are registered. Replica2 instances are automatically registered when used, and unregistered when calling Deref (which is automatically done in the destructor). Used for GetReplicaAtIndex if you want to perform some object on all registered Replica objects.
Definition at line 447 of file ReplicaManager2.cpp.
bool ReplicaManager2::HasConnection | ( | SystemAddress | systemAddress | ) |
Is this connection registered with the system?
[in] | systemAddress | The address of the system to check |
Definition at line 624 of file ReplicaManager2.cpp.
void ReplicaManager2::OnAttach | ( | void | ) | [protected, virtual] |
Called when the interface is attached
[in] | peer | the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface2.
Definition at line 696 of file ReplicaManager2.cpp.
void ReplicaManager2::OnClosedConnection | ( | SystemAddress | systemAddress, | |
RakNetGUID | rakNetGUID, | |||
PI2_LostConnectionReason | lostConnectionReason | |||
) | [protected, virtual] |
Called when a connection is dropped because the user called RakPeer::CloseConnection() for a particular system
[in] | systemAddress | The system whose connection was closed |
[in] | rakNetGuid | The guid of the specified system |
[in] | lostConnectionReason | How the connection was closed: manually, connection lost, or notification of disconnection |
Reimplemented from PluginInterface2.
Definition at line 684 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnConstruction | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 787 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnDestruction | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 820 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnDownloadComplete | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 768 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnDownloadStarted | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 750 of file ReplicaManager2.cpp.
void ReplicaManager2::OnNewConnection | ( | SystemAddress | systemAddress, | |
RakNetGUID | rakNetGUID, | |||
bool | isIncoming | |||
) | [protected, virtual] |
Called when we got a new connection
[in] | systemAddress | Address of the new connection |
[in] | rakNetGuid | The guid of the specified system |
[in] | isIncoming | If true, this is ID_NEW_INCOMING_CONNECTION, or the equivalent |
Reimplemented from PluginInterface2.
Definition at line 700 of file ReplicaManager2.cpp.
void ReplicaManager2::OnRakPeerShutdown | ( | void | ) | [protected, virtual] |
Called when RakPeer is shutdown.
Reimplemented from PluginInterface2.
Definition at line 692 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnReceive | ( | Packet * | packet | ) | [protected, virtual] |
OnReceive is called for every packet.
[in] | packet | the packet that is being returned to the user |
Reimplemented from PluginInterface2.
Definition at line 709 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnSerialize | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 899 of file ReplicaManager2.cpp.
PluginReceiveResult ReplicaManager2::OnVisibilityChange | ( | unsigned char * | packetData, | |
int | packetDataLength, | |||
SystemAddress | sender, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 854 of file ReplicaManager2.cpp.
void ReplicaManager2::ReadExclusionList | ( | RakNet::BitStream * | bs, | |
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList | |||
) | [protected] |
Definition at line 974 of file ReplicaManager2.cpp.
void ReplicaManager2::RecalculateVisibility | ( | Replica2 * | replica | ) |
Call this when Replica2::QueryVisibility() or Replica2::QueryConstructionVisibility() changes from BQR_ALWAYS or BQR_NEVER to BQR_YES or BQR_NO Otherwise these two conditions are assumed to never change
[in] | Which | replica to update |
Definition at line 509 of file ReplicaManager2.cpp.
void ReplicaManager2::Reference | ( | Replica2 * | replica, | |
bool * | newReference | |||
) |
Internally starts tracking this replica
Definition at line 629 of file ReplicaManager2.cpp.
bool ReplicaManager2::RemoveConnection | ( | SystemAddress | systemAddress | ) |
Remove an existing connection. Also done automatically on ID_DISCONNECTION_NOTIFICATION and ID_CONNECTION_LOST
[in] | systemAddress | The address of the system to remove the connection for |
Definition at line 613 of file ReplicaManager2.cpp.
void ReplicaManager2::RemoveVisibilityReference | ( | Connection_RM2 * | connection, | |
Replica2 * | replica | |||
) | [protected] |
Definition at line 670 of file ReplicaManager2.cpp.
int ReplicaManager2::Replica2CompByNetworkID | ( | const NetworkID & | key, | |
RakNet::Replica2 *const & | data | |||
) | [static] |
int ReplicaManager2::Replica2ObjectComp | ( | RakNet::Replica2 *const & | key, | |
RakNet::Replica2 *const & | data | |||
) | [static] |
Definition at line 54 of file ReplicaManager2.cpp.
void ReplicaManager2::Send | ( | RakNet::BitStream * | bs, | |
SystemAddress | recipient, | |||
PacketPriority | priority, | |||
PacketReliability | reliability, | |||
char | orderingChannel | |||
) | [protected] |
Definition at line 985 of file ReplicaManager2.cpp.
void ReplicaManager2::SendConstruction | ( | Replica2 * | replica, | |
BitStream * | replicaData, | |||
SystemAddress | recipient, | |||
RakNetTime | timestamp, | |||
bool | sendMessage, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList, | |||
unsigned char | localClientId, | |||
SerializationType | type = SEND_CONSTRUCTION_GENERIC_TO_SYSTEM , |
|||
PacketPriority | priority = NUMBER_OF_PRIORITIES , |
|||
PacketReliability | reliability = NUMBER_OF_RELIABILITIES , |
|||
char | orderingChannel = -1 | |||
) |
Sends a construction command to one or more systems, which will be relayed throughout the network. Recipient(s) will allocate the connection via Connection_RM2Factory::AllocConnection() if it does not already exist. Will trigger a call on the remote system(s) to Connection_RM2::Construct()
[in] | replica | The class to construct remotely |
[in] | replicaData | User-defined serialized data representing how to construct the class. Could be the name of the class, a unique identifier, or other methods |
[in] | recipient | Which system to send to. Use UNASSIGNED_SYSTEM_ADDRESS to send to all previously created connections. Connection_RM2Factory::AllocConnection will be called if this connection has not been previously used. |
[in] | timestamp | Timestamp to send with the message. Use 0 to not send a timestamp if you don't need it. |
[in] | sendMessage | True to actually send a network message. False to only register that the object exists on the remote system, useful for objects created outside ReplicaManager2, or objects that already existed in the world. |
[in] | exclusionList | Which systems to not send to. This list is carried with the messsage, and appended to at each node in the connection graph. This is used to prevent infinite cyclical sends. |
[in] | localClientId | If replica->QueryIsConstructionAuthority()==false, this number will be sent with SEND_CONSTRUCTION_REQUEST_TO_SERVER to the recipient. SEND_CONSTRUCTION_REPLY_ACCEPTED_TO_CLIENT or SEND_CONSTRUCTION_REPLY_DENIED_TO_CLIENT will be returned, and this number will be used to look up the local object in Replica2::clientPtrArray |
[in] | type | What kind of serialization operation this is. Use one of the pre-defined types, or create your own. This will be returned in type in Connection_RM2::Construct() |
[in] | priority | PacketPriority to send with. Use NUMBER_OF_PRIORITIES to use the default defined by SetDefaultPacketPriority(). |
[in] | reliability | PacketReliability to send with. Use NUMBER_OF_RELIABILITIES to use the default defined by SetDefaultPacketReliability(); |
[in] | orderingChannel | ordering channel to send on. Use -1 to use the default defined by SetDefaultOrderingChannel() |
Definition at line 87 of file ReplicaManager2.cpp.
void ReplicaManager2::SendDestruction | ( | Replica2 * | replica, | |
BitStream * | replicaData, | |||
SystemAddress | recipient, | |||
RakNetTime | timestamp, | |||
bool | sendMessage, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList, | |||
SerializationType | type = SEND_DESTRUCTION_GENERIC_TO_SYSTEM , |
|||
PacketPriority | priority = NUMBER_OF_PRIORITIES , |
|||
PacketReliability | reliability = NUMBER_OF_RELIABILITIES , |
|||
char | orderingChannel = -1 | |||
) |
Sends a destruction command to one or more systems, which will be relayed throughout the network. Recipient(s) will allocate the connection via Connection_RM2Factory::AllocConnection() if it does not already exist. Will trigger a call on the remote system(s) to Replica2::ReceiveDestruction() which in turn calls Replica2::DeserializeDestruction() with the value passed in replicaData Note: This is a low level function. Beginners may wish to use Replica2::SendDestruction() or Replica2::BroadcastDestruction().
[in] | replica | The class to destroy remotely |
[in] | replicaData | User-defined serialized data. Passed to Replica2::ReceiveDestruction() |
[in] | recipient | Which system to send to. Use UNASSIGNED_SYSTEM_ADDRESS to send to all previously created connections. Connection_RM2Factory::AllocConnection will be called if this connection has not been previously used. |
[in] | timestamp | Timestamp to send with the message. Use 0 to not send a timestamp if you don't need it. |
[in] | sendMessage | True to actually send a network message. False to only register that the object no longer exists on the remote system. |
[in] | exclusionList | Which systems to not send to. This list is carried with the messsage, and appended to at each node in the connection graph. This is used to prevent infinite cyclical sends. |
[in] | type | What kind of serialization operation this is. Use one of the pre-defined types, or create your own. This will be returned in type in Connection_RM2::Construct() |
[in] | priority | PacketPriority to send with. Use NUMBER_OF_PRIORITIES to use the default defined by SetDefaultPacketPriority(). |
[in] | reliability | PacketReliability to send with. Use NUMBER_OF_RELIABILITIES to use the default defined by SetDefaultPacketReliability(); |
[in] | orderingChannel | ordering channel to send on. Use -1 to use the default defined by SetDefaultOrderingChannel() |
Definition at line 184 of file ReplicaManager2.cpp.
void ReplicaManager2::SendSerialize | ( | Replica2 * | replica, | |
BitStream * | replicaData, | |||
SystemAddress | recipient, | |||
RakNetTime | timestamp, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList, | |||
SerializationType | type = SEND_SERIALIZATION_GENERIC_TO_SYSTEM , |
|||
PacketPriority | priority = NUMBER_OF_PRIORITIES , |
|||
PacketReliability | reliability = NUMBER_OF_RELIABILITIES , |
|||
char | orderingChannel = -1 | |||
) |
Sends a serialized object to one or more systems, which will be relayed throughout the network. Recipient(s) will allocate the connection via Connection_RM2Factory::AllocConnection() if it does not already exist. Will trigger a call on the remote system(s) to Replica2::ReceiveSerialization() which in turn calls Replica2::Deserialize() with the value passed in replicaData Note: This is a low level function. Beginners may wish to use Replica2::SendSerialize() or Replica2::BroadcastSerialize().
[in] | replica | The class to serialize |
[in] | replicaData | User-defined serialized data. Passed to Replica2::ReceiveSerialization() |
[in] | recipient | Which system to send to. Use UNASSIGNED_SYSTEM_ADDRESS to send to all previously created connections. Connection_RM2Factory::AllocConnection will be called if this connection has not been previously used. |
[in] | timestamp | Timestamp to send with the message. Use 0 to not send a timestamp if you don't need it. |
[in] | exclusionList | Which systems to not send to. This list is carried with the messsage, and appended to at each node in the connection graph. This is used to prevent infinite cyclical sends. |
[in] | type | What kind of serialization operation this is. Use one of the pre-defined types, or create your own. This will be returned in type in Connection_RM2::Construct() |
[in] | priority | PacketPriority to send with. Use NUMBER_OF_PRIORITIES to use the default defined by SetDefaultPacketPriority(). |
[in] | reliability | PacketReliability to send with. Use NUMBER_OF_RELIABILITIES to use the default defined by SetDefaultPacketReliability(); |
[in] | orderingChannel | ordering channel to send on. Use -1 to use the default defined by SetDefaultOrderingChannel() |
Definition at line 251 of file ReplicaManager2.cpp.
void ReplicaManager2::SendVisibility | ( | Replica2 * | replica, | |
BitStream * | replicaData, | |||
SystemAddress | recipient, | |||
RakNetTime | timestamp, | |||
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList, | |||
SerializationType | type = SEND_VISIBILITY_TRUE_TO_SYSTEM , |
|||
PacketPriority | priority = NUMBER_OF_PRIORITIES , |
|||
PacketReliability | reliability = NUMBER_OF_RELIABILITIES , |
|||
char | orderingChannel = -1 | |||
) |
Sets the visibility status of an object. which will be relayed throughout the network. Objects that are not visible should be hidden in the game world, and will not send AutoSerialize updates Recipient(s) will allocate the connection via Connection_RM2Factory::AllocConnection() if it does not already exist. Will trigger a call on the remote system(s) to Connection_RM2::ReceiveVisibility() Note: This is a low level function. Beginners may wish to use Connection_RM2::SendVisibility() or override Replica2::QueryVisibility()
[in] | objectList | The objects to send to the system. |
[in] | replicaData | User-defined serialized data. Read in Connection_RM2::ReceiveVisibility() |
[in] | recipient | Which system to send to. Use UNASSIGNED_SYSTEM_ADDRESS to send to all previously created connections. Connection_RM2Factory::AllocConnection will be called if this connection has not been previously used. |
[in] | timestamp | Timestamp to send with the message. Use 0 to not send a timestamp if you don't need it. |
[in] | sendMessage | True to actually send a network message. False to only register that the objects exist on the remote system |
[in] | type | What kind of serialization operation this is. Use one of the pre-defined types, or create your own. This will be returned in type in Connection_RM2::Construct() |
[in] | priority | PacketPriority to send with. Use NUMBER_OF_PRIORITIES to use the default defined by SetDefaultPacketPriority(). |
[in] | reliability | PacketReliability to send with. Use NUMBER_OF_RELIABILITIES to use the default defined by SetDefaultPacketReliability(); |
[in] | orderingChannel | ordering channel to send on. Use -1 to use the default defined by SetDefaultOrderingChannel() |
Definition at line 319 of file ReplicaManager2.cpp.
void ReplicaManager2::SetAutoAddNewConnections | ( | bool | autoAdd | ) |
Autoadd will cause a Connection_RM2 instance to be allocated for every connection. Defaults to true. Set this to false if you have connections which do not participate in the game (master server, etc).
[in] | autoAdd | If true, all incoming connections are added as ReplicaManager2 connections. |
Definition at line 455 of file ReplicaManager2.cpp.
void ReplicaManager2::SetAutoUpdateScope | ( | bool | construction, | |
bool | visibility | |||
) |
Auto scope will track the prior construction and serialization visibility of each registered Replica2 class, for each connection. Per-tick, as the visibility or construction status of a replica changes, it will be constructed, destroyed, or the visibility will change as appropriate.
[in] | construction | If true, Connection_RM2::SetConstructionByReplicaQuery will be called once per PluginInterface::Update tick. This will call Replica2::QueryConstruction to return if an object should be exist on a particular connection |
[in] | visibility | If true, Connection_RM2::SetConstructionSerializationByReplicaQuery will be called once per PluginInterface::Update tick. This will call Replica2::QuerySerialization to return if an object should be visible to a particular connection or not. |
Definition at line 504 of file ReplicaManager2.cpp.
void ReplicaManager2::SetConnectionFactory | ( | Connection_RM2Factory * | factory | ) |
Sets the factory class used to allocate connection objects
[in] | factory | A pointer to an instance of a class that derives from Connection_RM2Factory. This pointer it saved and not copied, so the object should remain in memory. |
Definition at line 463 of file ReplicaManager2.cpp.
void ReplicaManager2::SetDefaultOrderingChannel | ( | char | def | ) |
[in] | Default | ordering channel to use when passing -1 to a function that takes orderingChannel as a parameter |
Definition at line 492 of file ReplicaManager2.cpp.
void ReplicaManager2::SetDefaultPacketPriority | ( | PacketPriority | def | ) |
[in] | Default | packet priority to use when passing NUMBER_OF_PRIORITIES to a function that takes priority as a parameter |
Definition at line 496 of file ReplicaManager2.cpp.
void ReplicaManager2::SetDefaultPacketReliability | ( | PacketReliability | def | ) |
[in] | Default | packet reliability to use when passing NUMBER_OF_RELIABILITIES to a function that takes reliability as a parameter |
Definition at line 500 of file ReplicaManager2.cpp.
void ReplicaManager2::SetDoReplicaAutoSerializeUpdate | ( | bool | autoUpdate | ) |
If true, autoserialize timers added with Replica2::AddAutoSerializeTimer() will automatically decrement. If false, you must call Replica2::ElapseAutoSerializeTimers() manually. Defaults to true
[in] | autoUpdate | True to automatically call ElapseAutoSerializeTimers(). Set to false if you need to control these timers. |
Definition at line 459 of file ReplicaManager2.cpp.
void ReplicaManager2::Update | ( | void | ) | [protected, virtual] |
Update is called every time a packet is checked for .
Reimplemented from PluginInterface2.
Definition at line 421 of file ReplicaManager2.cpp.
void ReplicaManager2::WriteExclusionList | ( | RakNet::BitStream * | bs, | |
DataStructures::OrderedList< SystemAddress, SystemAddress > & | exclusionList | |||
) | [protected] |
Definition at line 943 of file ReplicaManager2.cpp.
void ReplicaManager2::WriteHeader | ( | RakNet::BitStream * | bs, | |
MessageID | type, | |||
RakNetTime | timestamp | |||
) | [protected] |
Definition at line 675 of file ReplicaManager2.cpp.
friend class Connection_RM2 [friend] |
Definition at line 371 of file ReplicaManager2.h.
friend class Replica2 [friend] |
Definition at line 372 of file ReplicaManager2.h.
DataStructures::OrderedList<Replica2*, Replica2*, ReplicaManager2::Replica2ObjectComp> RakNet::ReplicaManager2::alwaysDoConstructReplicaOrderedList [protected] |
Definition at line 386 of file ReplicaManager2.h.
DataStructures::OrderedList<Replica2*, Replica2*, ReplicaManager2::Replica2ObjectComp> RakNet::ReplicaManager2::alwaysDoSerializeReplicaOrderedList [protected] |
Definition at line 387 of file ReplicaManager2.h.
bool RakNet::ReplicaManager2::autoAddNewConnections [protected] |
Definition at line 380 of file ReplicaManager2.h.
bool RakNet::ReplicaManager2::autoUpdateConstruction [protected] |
Definition at line 375 of file ReplicaManager2.h.
bool RakNet::ReplicaManager2::autoUpdateVisibility [protected] |
Definition at line 375 of file ReplicaManager2.h.
Definition at line 374 of file ReplicaManager2.h.
DataStructures::OrderedList<SystemAddress, Connection_RM2*, ReplicaManager2::Connection_RM2CompBySystemAddress> RakNet::ReplicaManager2::connectionList [protected] |
Definition at line 392 of file ReplicaManager2.h.
char RakNet::ReplicaManager2::defaultOrderingChannel [protected] |
Definition at line 377 of file ReplicaManager2.h.
Definition at line 378 of file ReplicaManager2.h.
Definition at line 379 of file ReplicaManager2.h.
bool RakNet::ReplicaManager2::doReplicaAutoUpdate [protected] |
Definition at line 381 of file ReplicaManager2.h.
DataStructures::OrderedList<Replica2*, Replica2*, ReplicaManager2::Replica2ObjectComp> RakNet::ReplicaManager2::fullReplicaOrderedList [protected] |
Definition at line 385 of file ReplicaManager2.h.
Definition at line 384 of file ReplicaManager2.h.
RakNetTime RakNet::ReplicaManager2::lastUpdateTime [protected] |
Definition at line 382 of file ReplicaManager2.h.
DataStructures::OrderedList<Replica2*, Replica2*, ReplicaManager2::Replica2ObjectComp> RakNet::ReplicaManager2::variableConstructReplicaOrderedList [protected] |
Definition at line 389 of file ReplicaManager2.h.
DataStructures::OrderedList<Replica2*, Replica2*, ReplicaManager2::Replica2ObjectComp> RakNet::ReplicaManager2::variableSerializeReplicaOrderedList [protected] |
Definition at line 390 of file ReplicaManager2.h.