C4 Engine Terathon Software C4 Engine API Documentation

• Message Manager

API Links
Developer Links

Player::GetPlayerKey

Defined in:  C4Messages.h
Returns the key associated with a player.
Prototype

PlayerKey GetPlayerKey(voidconst;

Description
The GetPlayerKey function returns the unique ID associated with a player. The player representing the server always has the special key kPlayerServer.
See Also

MessageMgr::GetPlayer