Public Member Functions | |
datablock (name) | |
datablockcustom (name) | |
addinclude (name) | |
extern (...) | |
ApproveMigration () | |
ApproveFault () | |
Reliable () | |
Certain () | |
Unreliable () | |
SetLoadBalancing (bool enable) | |
SetLoadBalancingDefault (bool defaultValue) | |
SetLoadScore (float load) | |
SetLoadScoreDefault (float defaultLoad) | |
SetPropagateToSessionDistance (float distance) | |
SetPropagateToSessionDistanceDefault (float distance) | |
RealInclude (char *includeFile) | |
AddHeaderInclude (char *includeFile) | |
SetOpaqueType (char *baseClassType) |
class ATestClass { ATestClass() {}; virtual ~ATestClass() {}; public: int mObjectHealth; // This is going to be shared to all networked objects };
object ATestClass { datablock NData; networking { NData mObjectHealth; } }
class ATestClass : _RO_DO_PUBLIC_RO(ATestClass)
{
...
class ATestClass : public _RO_ATestClass { ...
|
|
|
This keyword add an include file to the ReplicaObject.
|
|
Makes this object fault tolerant |
|
Makes this object approve migration requests |
|
Makes the object update use the certain method |
|
This keyword defines a datablock that is used in the object.
|
|
This keyword defines a custom datablock that is used in the object.
|
|
This keyword defined a function prototype used in the C++ class that you want to be able to call across the network.
|
|
|
|
Makes the object update use the reliable method |
|
Enables or disables load balancing for this ReplicaObject.
|
|
This sets the default value that the load balancing uses. Setting the default value in the object constructor to the same value that is set for the load balancing will result in a smaller data packet being sent.
|
|
Sets the object load unit score.. The definition of "load" units is left to the user. The default return value is 0.0f
|
|
This sets the default value that the load balancing score uses. Setting the default value in the object constructor to the same value that is set for the load balancing will result in a smaller data packet being sent.
|
|
|
|
This functions sets the distance that an object has to be within for it to be propagated relative to a session observer. If a session has an observer and the CalculateDistanceToObject() result is greater than the value specified then the session will not receive object updates. If a session has no registered observer then the object will always be propagated to that session. The default value for a ReplicaObject is to have this distance set to kReplicaObject_InfiniteDistance, which means that the object will always be propogated to a session. This function can only be used if the ReplicaObject is a master.
|
|
This sets the default value that the propagate distance uses. Setting the default value in the object constructor to the same value that is set for the distance will result in a smaller data packet being sent when an object is published.
|
|
Makes the object update use the unreliable method |