Atrinik Client  4.0
Data Fields
Stat_struct Struct Reference

Data Fields

int8_t Str
 
int8_t Dex
 
int8_t Con
 
int8_t Int
 
int8_t Pow
 
int16_t wc
 
int16_t ac
 
uint32_t level
 
int32_t hp
 
int32_t maxhp
 
int32_t sp
 
int32_t maxsp
 
int64_t exp
 
int16_t food
 
int16_t dam
 
float speed
 
float weapon_speed
 
uint16_t flags
 
int8_t protection [CS_STAT_PROT_END-CS_STAT_PROT_START+1]
 
int16_t ranged_dam
 
int16_t ranged_wc
 
float ranged_ws
 

Detailed Description

Definition at line 53 of file player.h.

Field Documentation

int16_t Stat_struct::ac

Armour class.

Definition at line 60 of file player.h.

int16_t Stat_struct::dam

How much damage the player does when hitting.

Definition at line 84 of file player.h.

int64_t Stat_struct::exp

Total experience.

Definition at line 78 of file player.h.

uint16_t Stat_struct::flags

Contains fire on/run on flags.

Definition at line 93 of file player.h.

int16_t Stat_struct::food

How much food in stomach.

Definition at line 81 of file player.h.

int32_t Stat_struct::hp

Hit points.

Definition at line 66 of file player.h.

uint32_t Stat_struct::level

Level.

Definition at line 63 of file player.h.

int32_t Stat_struct::maxhp

Max hit points

Definition at line 69 of file player.h.

int32_t Stat_struct::maxsp

Max spell points.

Definition at line 75 of file player.h.

int8_t Stat_struct::protection[CS_STAT_PROT_END-CS_STAT_PROT_START+1]

Protections.

Definition at line 96 of file player.h.

int16_t Stat_struct::ranged_dam

Ranged weapon damage.

Definition at line 99 of file player.h.

int16_t Stat_struct::ranged_wc

Ranged weapon wc.

Definition at line 102 of file player.h.

float Stat_struct::ranged_ws

Ranged weapon speed.

Definition at line 105 of file player.h.

int32_t Stat_struct::sp

Spell points.

Definition at line 72 of file player.h.

float Stat_struct::speed

Player's speed.

Definition at line 87 of file player.h.

int16_t Stat_struct::wc

Weapon class.

Definition at line 57 of file player.h.

float Stat_struct::weapon_speed

Weapon speed.

Definition at line 90 of file player.h.


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