Crossfire Client, Trunk  R20507
Data Fields
Stat_struct Struct Reference

#include <client.h>

Collaboration diagram for Stat_struct:
Collaboration graph

Data Fields

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

Detailed Description

Definition at line 251 of file client.h.

Field Documentation

◆ ac

gint8 Stat_struct::ac

Armour Class.

Definition at line 260 of file client.h.

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

◆ attuned

guint32 Stat_struct::attuned

Spell paths to which the player is attuned.

Definition at line 279 of file client.h.

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

◆ Cha

gint8 Stat_struct::Cha

Charisma.

Definition at line 256 of file client.h.

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

◆ Con

gint8 Stat_struct::Con

Constitution.

Definition at line 254 of file client.h.

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

◆ dam

gint16 Stat_struct::dam

How much damage this object does for each hit.

Definition at line 272 of file client.h.

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

◆ denied

guint32 Stat_struct::denied

Spell paths denied to the player.

Definition at line 285 of file client.h.

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

◆ Dex

gint8 Stat_struct::Dex

Dexterity.

Definition at line 253 of file client.h.

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

◆ exp

gint64 Stat_struct::exp

Experience.

Killers gain 1/10.

Definition at line 268 of file client.h.

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

◆ flags

guint16 Stat_struct::flags

Contains fire on/run on flags.

Definition at line 286 of file client.h.

Referenced by script_process_cmd(), and StatsCmd().

◆ food

gint16 Stat_struct::food

Quantity food in stomach.

0 = starved.

Definition at line 269 of file client.h.

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

◆ grace

gint16 Stat_struct::grace

Spell points for using prayers.

Definition at line 266 of file client.h.

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

◆ hp

gint16 Stat_struct::hp

Hit Points.

Definition at line 262 of file client.h.

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

◆ Int

gint8 Stat_struct::Int

Intelligence.

Definition at line 257 of file client.h.

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

◆ level

gint8 Stat_struct::level

Experience level.

Definition at line 261 of file client.h.

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

◆ maxgrace

gint16 Stat_struct::maxgrace

Maximum spell points.

Definition at line 267 of file client.h.

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

◆ maxhp

gint16 Stat_struct::maxhp

Maximum hit points.

Definition at line 263 of file client.h.

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

◆ maxsp

gint16 Stat_struct::maxsp

Maximum spell points.

Definition at line 265 of file client.h.

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

◆ Pow

gint8 Stat_struct::Pow

Power.

Definition at line 258 of file client.h.

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

◆ repelled

guint32 Stat_struct::repelled

Spell paths to which the player is repelled.

Definition at line 282 of file client.h.

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

◆ resist_change

guint32 Stat_struct::resist_change

Resistant value change flag.

Definition at line 288 of file client.h.

Referenced by draw_stats(), and StatsCmd().

◆ resists

gint16 Stat_struct::resists[30]

Resistant values.

Definition at line 287 of file client.h.

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

◆ skill_exp

gint64 Stat_struct::skill_exp[MAX_SKILL]

Experience points for skills.

Definition at line 290 of file client.h.

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

◆ skill_level

gint16 Stat_struct::skill_level[MAX_SKILL]

Level of known skills.

Definition at line 289 of file client.h.

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

◆ sp

gint16 Stat_struct::sp

Spell points for casting spells.

Definition at line 264 of file client.h.

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

◆ speed

gint32 Stat_struct::speed

Speed (is displayed as a float)

Definition at line 275 of file client.h.

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

◆ Str

gint8 Stat_struct::Str

Strength.

Definition at line 252 of file client.h.

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

◆ wc

gint8 Stat_struct::wc

Weapon Class.

Definition at line 259 of file client.h.

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

◆ weapon_sp

gint32 Stat_struct::weapon_sp

Weapon speed (displayed in client as a float)

Definition at line 276 of file client.h.

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

◆ weight_limit

guint32 Stat_struct::weight_limit

Carrying weight limit.

Definition at line 291 of file client.h.

Referenced by script_process_cmd(), and StatsCmd().

◆ Wis

gint8 Stat_struct::Wis

Wisdom.

Definition at line 255 of file client.h.

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


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