bz_getPlayerByIndex()
Available since 2.4.0
Gets the information for the player at the given index. The returned player info won't update as the game progresses; if you need new updates on the player's info, you can call bz_updatePlayerData().
After you're done with the player info returned from this method, you must release it by calling bz_freePlayerRecord().
Usage
bz_BasePlayerRecord* bz_getPlayerByIndex(int index)
Parameters | ||
---|---|---|
int |
index
|
The id of the player |
Returns
bz_BasePlayerRecord* - A pointer to the player record or NULL
Other Player Records Functions
This content is maintained on GitHub. We welcome any feedback and improvements!