CL_NetObjectController_Basic3
Netobject controller class.
Overview
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)
Members with descriptions
CL_NetObjectController_Basic()-
Description:
- virtual
~CL_NetObjectController_Basic() -
Description:
- void
add( -
CL_NetObject *netobj, int type)
Description:
- void
remove( -
CL_NetObject *netobj)
Description:
- int
get_netobj_id( -
CL_NetObject *netobj)
Description:
- void
set_creator( -
CL_NetObjectCreator *creator)
Description:
- void
update( -
CL_NetGame *game, int netchannel)
Description:
- void
send( -
CL_NetGame *game, int netchannel, CL_NetObject *obj, CL_NetMessage msg, const CL_NetComputer *computer)
Description:
- void
send( -
CL_NetGame *game, int netchannel, CL_NetObject *obj, CL_NetMessage msg, const CL_NetComputer *computer)
Description: