C4 Engine
C4 Engine API Documentation

Controller::GetControllerIndex

Defined in:  C4Controller.h
Returns the World Manager controller index.
Prototype

int32 GetControllerIndex(voidconst;

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

ControllerReg

ControllerMessage