ReplicaNet and RNLobby
1
|
Public Member Functions | |
object (name) | |
This keyword is used to define what C++ classes the ReplicaNet layer uses when running an application. For example:
application { object TestObject1; object TestObject2; }
A common error when linking with ReplicaNet is to see a linker error for an resolved external symbol similar to ReplicaNetPreRegisterReplicasFunc which may also have symbol decoration. The solution is to compile an ROL file containing this application keyword and then compile and link with the output CPP file which uses the _RO_DO_PREREGISTER_FUNC macro. Or use the RO macros directly without the RNROLCompiler.
object | ( | name | ) |
This keyword allows C++ class names that use the ReplicaObject mechanism to be registered with ReplicaNet.
name | The name of the C++ class to register |