Crossfire Client, Branch  R11627
Data Fields
Stat_struct Struct Reference

#include <client.h>

Data Fields

sint8 ac
 Armour Class.
uint32 attuned
 Spell paths to which the player is attuned.
sint8 Cha
 Charisma.
sint8 Con
 Constitution.
sint16 dam
 How much damage this object does for each hit.
uint32 denied
 Spell paths denied to the player.
sint8 Dex
 Dexterity.
sint64 exp
 Experience.
uint16 flags
 Contains fire on/run on flags.
sint16 food
 Quantity food in stomach.
sint16 grace
 Spell points for using prayers.
sint16 hp
 Hit Points.
sint8 Int
 Intelligence.
sint8 level
 Experience level.
sint16 maxgrace
 Maximum spell points.
sint16 maxhp
 Maximum hit points.
sint16 maxsp
 Maximum spell points.
sint8 Pow
 Power.
uint32 repelled
 Spell paths to which the player is repelled.
uint32 resist_change:1
 Resistant value change flag.
sint16 resists [30]
 Resistant values.
sint64 skill_exp [MAX_SKILL]
 Experience points for skills.
sint16 skill_level [MAX_SKILL]
 Level of known skills.
sint16 sp
 Spell points for casting spells.
sint32 speed
 Speed (is displayed as a float)
sint8 Str
 Strength.
sint8 wc
 Weapon Class.
sint32 weapon_sp
 Weapon speed (displayed in client as a float)
uint32 weight_limit
 Carrying weight limit.
sint8 Wis
 Wisdom.

Detailed Description

Definition at line 205 of file client.h.


Field Documentation

Armour Class.

Definition at line 214 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Spell paths to which the player is attuned.

Definition at line 233 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

Charisma.

Definition at line 210 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Constitution.

Definition at line 208 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

How much damage this object does for each hit.

Definition at line 226 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Spell paths denied to the player.

Definition at line 239 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

Dexterity.

Definition at line 207 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Experience.

Killers gain 1/10.

Definition at line 222 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Contains fire on/run on flags.

Definition at line 240 of file client.h.

Referenced by draw_message_window(), script_process_cmd(), and StatsCmd().

Quantity food in stomach.

0 = starved.

Definition at line 223 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Spell points for using prayers.

Definition at line 220 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Hit Points.

Definition at line 216 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Intelligence.

Definition at line 211 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Experience level.

Definition at line 215 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Maximum spell points.

Definition at line 221 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

Maximum hit points.

Definition at line 217 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

Maximum spell points.

Definition at line 219 of file client.h.

Referenced by draw_message_window(), draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

Power.

Definition at line 212 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Spell paths to which the player is repelled.

Definition at line 236 of file client.h.

Referenced by script_process_cmd(), StatsCmd(), update_spell_information(), and update_spell_list().

Resistant value change flag.

Definition at line 242 of file client.h.

Referenced by draw_message_window(), draw_stats(), and StatsCmd().

Resistant values.

Definition at line 241 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Experience points for skills.

Definition at line 244 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_player_data(), script_process_cmd(), and StatsCmd().

Level of known skills.

Definition at line 243 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_player_data(), script_process_cmd(), and StatsCmd().

Spell points for casting spells.

Definition at line 218 of file client.h.

Referenced by draw_message_window(), draw_stats(), script_process_cmd(), and StatsCmd().

Speed (is displayed as a float)

Definition at line 229 of file client.h.

Referenced by draw_stats(), init_client_vars(), reset_client_vars(), script_process_cmd(), and StatsCmd().

Strength.

Definition at line 206 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Weapon Class.

Definition at line 213 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Weapon speed (displayed in client as a float)

Definition at line 230 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().

Carrying weight limit.

Definition at line 245 of file client.h.

Referenced by script_process_cmd(), and StatsCmd().

Wisdom.

Definition at line 209 of file client.h.

Referenced by draw_stats(), script_process_cmd(), and StatsCmd().


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