This wiki is archived and useful information is being migrated to the main bzflag.org website
bz_updatePlayerData
From BZFlagWiki
Revision as of 06:03, 15 December 2008 by Javawizard2539 (Talk | contribs) (New page: {{apicall | name = bz_updatePlayerData | description = Updates the data in a bz_BasePlayerRecord to the current state of that player. The information in a base player record...)
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.