22 #ifndef __PSRACEINFO_H__ 23 #define __PSRACEINFO_H__ 66 bool Load(iResultRow &row);
68 bool LoadBaseSpeeds(iObjectRegistry* object_reg);
108 void GetStartingLocation(
float &
x,
float &
y,
float &
z,
float &rot,
float &
range,
const char* §orname);
119 return name.GetDataSafe();
122 const char* GetHonorific();
123 const char* GetObjectPronoun();
124 const char* GetPossessive();
126 csString ReadableRaceGender();
139 return mesh_name.GetDataSafe();
147 return base_texture_name.GetDataSafe();
152 return helmGroup.GetDataSafe();
156 return BracerGroup.GetDataSafe();
160 return BeltGroup.GetDataSafe();
164 return CloakGroup.GetDataSafe();
169 return MounterAnim.GetDataSafe();
177 return natural_armor_id;
185 return natural_weapon_id;
190 return speedModifier;
const char * GetHelmGroup()
csArray< psRaceStartingLocation > startingLocations
const char * GetName()
Gets the name of this race.
const char * GetTextureName()
Gets the name of the texture associated to this race, if any.
float range
the range in which a random position will be choosen.
const char * GetBeltGroup()
const char * GetMounterAnim()
uint32 GetNaturalArmorID()
Returns the natural armor stat id used for this race when it's not equipping an armor.
Defines characteristics of a race associated to an NPC, player or pet.
const char * GetCloakGroup()
csString base_texture_name
void GetSize(csVector3 &size)
const char * GetBracerGroup()
int GetRaceID()
Gets the id of the race (regardless of sex).
PSCHARACTER_GENDER gender
const char * GetMeshName()
uint32 GetNaturalWeaponID()
Returns the natural weapon stat id used for this race when it's not equipping a weapon.
int GetUID()
Gets the id of the specific race (considering also its sex, and alternative versions),.
float GetScale()
Gets the scale override, if any, of this race.