Crossfire Client, Trunk
Stat_struct Struct Reference

#include <client.h>

+ Collaboration diagram for Stat_struct:

Data Fields

gint8 ac
 
guint32 attuned
 
gint8 Cha
 
gint8 Con
 
gint16 dam
 
guint32 denied
 
gint8 Dex
 
gint64 exp
 
guint16 flags
 
gint16 food
 
gint16 grace
 
gint16 hp
 
gint8 Int
 
gint8 level
 
gint16 maxgrace
 
gint16 maxhp
 
gint16 maxsp
 
gint8 Pow
 
guint32 repelled
 
guint32 resist_change:1
 
gint16 resists [30]
 
gint64 skill_exp [MAX_SKILL]
 
gint16 skill_level [MAX_SKILL]
 
gint16 sp
 
gint32 speed
 
gint8 Str
 
gint8 wc
 
gint32 weapon_sp
 
guint32 weight_limit
 
gint8 Wis
 

Detailed Description

Definition at line 249 of file client.h.

Field Documentation

◆ ac

gint8 Stat_struct::ac

Armour Class

Definition at line 258 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 277 of file client.h.

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

◆ Cha

gint8 Stat_struct::Cha

Charisma

Definition at line 254 of file client.h.

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

◆ Con

gint8 Stat_struct::Con

Constitution

Definition at line 252 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 270 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 283 of file client.h.

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

◆ Dex

gint8 Stat_struct::Dex

Dexterity

Definition at line 251 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 266 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 284 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 267 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 264 of file client.h.

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

◆ hp

gint16 Stat_struct::hp

Hit Points

Definition at line 260 of file client.h.

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

◆ Int

gint8 Stat_struct::Int

Intelligence

Definition at line 255 of file client.h.

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

◆ level

gint8 Stat_struct::level

Experience level

Definition at line 259 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 265 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 261 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 263 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 256 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 280 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 286 of file client.h.

Referenced by draw_stats(), and StatsCmd().

◆ resists

gint16 Stat_struct::resists[30]

Resistant values

Definition at line 285 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 288 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 287 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 262 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 273 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 250 of file client.h.

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

◆ wc

gint8 Stat_struct::wc

Weapon Class

Definition at line 257 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 274 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 289 of file client.h.

Referenced by script_process_cmd(), and StatsCmd().

◆ Wis

gint8 Stat_struct::Wis

Wisdom

Definition at line 253 of file client.h.

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


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