chrScoreGlobal_s Struct Reference

Structure of all stats collected for an actor over time. More...

#include <chr_shared.h>

Data Fields

int experience [SKILL_NUM_TYPES+1]
int skills [SKILL_NUM_TYPES]
int initialSkills [SKILL_NUM_TYPES+1]
int kills [KILLED_NUM_TYPES]
int stuns [KILLED_NUM_TYPES]
int assignedMissions
int rank

Detailed Description

Structure of all stats collected for an actor over time.

Note:
More general Info: http://ufoai.ninex.info/wiki/index.php/Proposals/Attribute_Increase
This information is stored in savegames (in contract to chrScoreMission_t).
WARNING: if you change something here you'll have to make sure all the network and savegame stuff is updated as well! Additionally you have to check the size of the network-transfer in G_SendCharacterData and GAME_CP_Results

Definition at line 112 of file chr_shared.h.


Field Documentation

int chrScoreGlobal_s::experience[SKILL_NUM_TYPES+1]
int chrScoreGlobal_s::initialSkills[SKILL_NUM_TYPES+1]

Array of initial skills and abilities. This is the value generated at character generation time.

Definition at line 116 of file chr_shared.h.

Referenced by CHRSH_CharGenAbilitySkills(), CL_CharacterSkillAndScoreCvars(), CL_LoadCharacterXML(), CL_SaveCharacterXML(), CL_SwapSkill(), G_ClientReadCharacter(), G_UpdateCharacterSkills(), and GAME_NetSendCharacter().

int chrScoreGlobal_s::kills[KILLED_NUM_TYPES]
int chrScoreGlobal_s::skills[SKILL_NUM_TYPES]
int chrScoreGlobal_s::stuns[KILLED_NUM_TYPES]

The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2