CL_NetObjectController_Basic
NetObject controller class.
Description
The NetObject controller is used to administrate the actual network
sending and trivial of netobjects. It routes incoming messages to
the correct netobject, and makes an unique identification of each
netobject type.
CL_NetObjectController uses the CL_NetObjectCreator instance to create
netobjects on the client machines.
Class members
CL_NetObjectController_Basic()
virtual ~CL_NetObjectController_Basic()
void add(
CL_NetObject *netobj,
int type)
void remove(CL_NetObject *netobj)
int get_netobj_id(CL_NetObject *netobj)
void set_creator(CL_NetObjectCreator *creator)
void update(
CL_NetGame *game,
int netchannel)
void send(
CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)
void send(
CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)
See Also
None
Back to index
|