vkQuake2 doxygen  1.0 dev
client_persistant_t Struct Reference

#include <g_local.h>

Public Attributes

char userinfo [MAX_INFO_STRING]
 
char netname [16]
 
int hand
 
qboolean connected
 
int health
 
int max_health
 
int savedFlags
 
int selected_item
 
int inventory [MAX_ITEMS]
 
int max_bullets
 
int max_shells
 
int max_rockets
 
int max_grenades
 
int max_cells
 
int max_slugs
 
gitem_tweapon
 
gitem_tlastweapon
 
int power_cubes
 
int score
 
int game_helpchanged
 
int helpchanged
 
qboolean spectator
 

Detailed Description

Definition at line 833 of file g_local.h.

Member Data Documentation

◆ connected

qboolean client_persistant_t::connected

◆ game_helpchanged

int client_persistant_t::game_helpchanged

Definition at line 864 of file g_local.h.

Referenced by Cmd_Help_f(), G_SetClientSound(), and PutClientInServer().

◆ hand

int client_persistant_t::hand

Definition at line 837 of file g_local.h.

Referenced by ClientUserinfoChanged(), G_SetStats(), and P_ProjectSource().

◆ health

int client_persistant_t::health

◆ helpchanged

int client_persistant_t::helpchanged

Definition at line 865 of file g_local.h.

Referenced by Cmd_Help_f(), G_SetClientSound(), G_SetStats(), and PutClientInServer().

◆ inventory

◆ lastweapon

gitem_t* client_persistant_t::lastweapon

Definition at line 859 of file g_local.h.

Referenced by ChangeWeapon().

◆ max_bullets

int client_persistant_t::max_bullets

Definition at line 851 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), Pickup_Bandolier(), and Pickup_Pack().

◆ max_cells

int client_persistant_t::max_cells

Definition at line 855 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), Pickup_Bandolier(), and Pickup_Pack().

◆ max_grenades

int client_persistant_t::max_grenades

Definition at line 854 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), and Pickup_Pack().

◆ max_health

int client_persistant_t::max_health

Definition at line 844 of file g_local.h.

Referenced by ExitLevel(), FetchClientEntData(), InitClientPersistant(), and SaveClientData().

◆ max_rockets

int client_persistant_t::max_rockets

Definition at line 853 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), and Pickup_Pack().

◆ max_shells

int client_persistant_t::max_shells

Definition at line 852 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), Pickup_Bandolier(), and Pickup_Pack().

◆ max_slugs

int client_persistant_t::max_slugs

Definition at line 856 of file g_local.h.

Referenced by Add_Ammo(), InitClientPersistant(), Pickup_Bandolier(), and Pickup_Pack().

◆ netname

◆ power_cubes

int client_persistant_t::power_cubes

Definition at line 861 of file g_local.h.

Referenced by Pickup_Key(), and trigger_key_use().

◆ savedFlags

int client_persistant_t::savedFlags

Definition at line 845 of file g_local.h.

Referenced by FetchClientEntData(), and SaveClientData().

◆ score

int client_persistant_t::score

◆ selected_item

int client_persistant_t::selected_item

Definition at line 847 of file g_local.h.

Referenced by Cmd_InvDrop_f(), Cmd_InvUse_f(), G_SetStats(), InitClientPersistant(), and Touch_Item().

◆ spectator

qboolean client_persistant_t::spectator

◆ userinfo

char client_persistant_t::userinfo[MAX_INFO_STRING]

◆ weapon