From BZFlagWiki
Jump to: navigation, search

void bz_updatePlayerData (bz_BasePlayerRecord* playerRecord)

Updates the data in a bz_BasePlayerRecord to the current state of that player. The information in a base player record instance is not kept up-to-date as the game progresses, so this method must be called to get the most up-to-date information.

playerRecord  -  The player record to update. This record will contain the current information for the player it represents after this method call returns.