This wiki is archived and useful information is being migrated to the main bzflag.org website
bz_updatePlayerData
From BZFlagWiki
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.
Parameters:
playerRecord - The player record to update. This record will contain the current information for the player it represents after this method call returns.