Controller::GetControllerIndex
Defined in:
Returns the World Manager controller index.
C4Controller.h
Prototype
int32 GetControllerIndex(void) const;
Description
The GetControllerIndex
function returns the controller index that is assigned by the World Manager. Every controller is assigned a unique index by the server machine in a multiplayer game so that a particular controller can be identified on every machine in the game. A controller index is passed to the constructor of any ControllerMessage
object in order to specify the message's destination.
See Also