Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

char_data Struct Reference

#include <merc.h>

Collaboration diagram for char_data:

Collaboration graph
[legend]

Data Fields

long act
AFFECT_DATAaffected
long affected_by
sh_int alignment
sh_int armor [4]
sh_int c_over
sh_int carry_number
sh_int carry_weight
OBJ_DATAcarrying
long cclan
long chann
sh_int clan
sh_int class
long comm
sh_int dam_type
sh_int damage [3]
sh_int damroll
sh_int daze
sh_int default_pos
DESCRIPTOR_DATAdesc
char * description
int exp
CHAR_DATAfighting
long form
GEN_DATAgen_data
long gold
sh_int group
sh_int hit
sh_int hitroll
long id
long imm_flags
ROOM_INDEX_DATAin_room
sh_int incog_level
sh_int invis_level
CHAR_DATAis_riding
sh_int king
long kking
CHAR_DATAleader
sh_int level
int lines
long link_status
time_t logon
char * long_descr
sh_int mana
CHAR_DATAmaster
char * material
sh_int max_hit
sh_int max_mana
sh_int max_move
MEM_DATAmemory
sh_int mod_stat [MAX_STATS]
sh_int move
sh_int mprog_delay
CHAR_DATAmprog_target
char * name
CHAR_DATAnext
CHAR_DATAnext_in_room
long off_flags
OBJ_DATAon
long parts
PC_DATApcdata
sh_int perm_stat [MAX_STATS]
CHAR_DATApermit [MAX_PERMIT]
CHAR_DATApermited_by [MAX_PERMIT]
CHAR_DATApet
MOB_INDEX_DATApIndexData
int played
NOTE_DATApnote
sh_int position
sh_int practice
char * prefix
char * prompt
sh_int race
sh_int reclass
CHAR_DATAreply
long res_flags
CHAR_DATAriding
sh_int saving_throw
sh_int sex
char * short_descr
long silver
sh_int size
sh_int sleep
SPEC_FUN * spec_fun
sh_int start_pos
sh_int timer
sh_int train
sh_int trust
bool valid
sh_int version
long vuln_flags
sh_int wait
ROOM_INDEX_DATAwas_in_room
sh_int wimpy
long wiznet
AREA_DATAzone

Field Documentation

long act
 

Definition at line 1800 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_buy(), do_enter(), do_flag(), do_list(), do_mount(), fread_pet(), load_char_obj(), move_char(), nanny(), reset_room(), and spell_summon().

AFFECT_DATA* affected
 

Definition at line 1751 of file merc.h.

Referenced by do_dump(), and fread_pet().

long affected_by
 

Definition at line 1820 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_buy(), do_flag(), fread_pet(), load_char_obj(), reset_room(), and spell_faerie_fog().

sh_int alignment
 

Definition at line 1827 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_mset(), fread_pet(), spec_guard(), spell_demonfire(), spell_know_alignment(), and spell_ray_of_truth().

sh_int armor[4]
 

Definition at line 1830 of file merc.h.

Referenced by clear_char(), clone_mobile(), create_mobile(), fread_pet(), and new_char().

sh_int c_over
 

Definition at line 1764 of file merc.h.

sh_int carry_number
 

Definition at line 1825 of file merc.h.

Referenced by obj_from_char(), and obj_from_obj().

sh_int carry_weight
 

Definition at line 1824 of file merc.h.

Referenced by do_bash(), obj_from_char(), and obj_from_obj().

OBJ_DATA* carrying
 

Definition at line 1752 of file merc.h.

Referenced by acid_effect(), do_list(), do_mpremove(), obj_from_char(), poison_effect(), shock_effect(), spell_heat_metal(), and spell_remove_curse().

long cclan
 

Definition at line 1804 of file merc.h.

Referenced by do_remove_leader(), do_remove_recruiter(), do_set_guild(), do_set_leader(), and do_who_clan().

long chann
 

Definition at line 1802 of file merc.h.

Referenced by char_update(), and do_admintalk().

sh_int clan
 

Definition at line 1777 of file merc.h.

Referenced by do_banish(), do_clan_guild(), do_guild(), do_kill(), do_kingdom_guild(), do_murder(), do_remove_leader(), do_remove_recruiter(), do_set_guild(), do_who(), do_who_clan(), and fread_pet().

sh_int class
 

Definition at line 1779 of file merc.h.

Referenced by clone_mobile(), do_who(), and load_char_obj().

long comm
 

Definition at line 1801 of file merc.h.

Referenced by clone_mobile(), create_mobile(), do_answer(), do_auction(), do_buy(), do_clan_gossip(), do_clantalk(), do_gossip(), do_grats(), do_guild(), do_immtalk(), do_kingdomtalk(), do_music(), do_notrans(), do_ooc(), do_oocclan_talk(), do_pray(), do_protect(), do_question(), do_quote(), do_shout(), do_transfer(), do_yell(), fread_pet(), load_char_obj(), process_output(), and song_update().

sh_int dam_type
 

Definition at line 1843 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and load_char_obj().

sh_int damage[3]
 

Definition at line 1842 of file merc.h.

Referenced by clone_mobile(), and create_mobile().

sh_int damroll
 

Definition at line 1829 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and fread_pet().

sh_int daze
 

Definition at line 1788 of file merc.h.

Referenced by multi_hit().

sh_int default_pos
 

Definition at line 1845 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and stop_fighting().

DESCRIPTOR_DATA* desc
 

Definition at line 1750 of file merc.h.

Referenced by char_update(), close_socket(), do_alias(), do_disconnect(), do_pload(), do_pmote(), do_punload(), do_reply(), do_return(), do_smote(), do_snoop(), do_switch(), do_unalias(), extract_char(), and load_char_obj().

char* description
 

Definition at line 1769 of file merc.h.

Referenced by clear_char(), clone_mobile(), create_mobile(), do_buy(), do_string(), fread_pet(), and new_char().

int exp
 

Definition at line 1799 of file merc.h.

Referenced by clone_mobile(), fread_pet(), and nanny().

CHAR_DATA* fighting
 

Definition at line 1743 of file merc.h.

Referenced by do_bash(), do_cast(), do_dirt(), do_disarm(), do_flee(), do_kick(), do_kill(), do_mpassist(), do_mptransfer(), do_peace(), do_recall(), do_rescue(), do_side_kick(), do_surrender(), do_transfer(), do_trip(), do_zap(), dragon(), mob_hit(), obj_cast_spell(), process_output(), spec_cast_cleric(), spec_cast_judge(), spec_cast_mage(), spec_cast_undead(), spec_nasty(), spec_patrolman(), spec_poison(), spell_summon(), spell_teleport(), stop_fighting(), and violence_update().

long form
 

Definition at line 1836 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and load_char_obj().

GEN_DATA* gen_data
 

Definition at line 1758 of file merc.h.

long gold
 

Definition at line 1797 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_buy(), do_give(), do_heal(), do_mset(), do_sell(), do_split(), do_steal(), fread_pet(), load_char_obj(), mobile_update(), spec_nasty(), and spec_thief().

sh_int group
 

Definition at line 1776 of file merc.h.

Referenced by clone_mobile(), and create_mobile().

sh_int hit
 

Definition at line 1789 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), cmd_eval(), create_mobile(), do_glance(), do_mpdamage(), do_restore(), fread_pet(), nanny(), new_char(), process_output(), spell_cure_critical(), spell_cure_light(), spell_cure_serious(), spell_energy_drain(), spell_harm(), spell_heal(), and spell_holy_word().

sh_int hitroll
 

Definition at line 1828 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and fread_pet().

long id
 

Definition at line 1763 of file merc.h.

Referenced by create_mobile(), do_quit(), and load_char_obj().

long imm_flags
 

Definition at line 1815 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_flag(), load_char_obj(), spell_heat_metal(), spell_nexus(), spell_portal(), spell_summon(), and spell_teleport().

ROOM_INDEX_DATA* in_room
 

Definition at line 1754 of file merc.h.

Referenced by acid_effect(), act_new(), aggr_update(), char_from_room(), char_to_room(), char_update(), check_assist(), cmd_eval(), count_people_room(), count_users(), do_brandish(), do_buy(), do_cast(), do_clone(), do_dsay(), do_force(), do_gain(), do_glance(), do_goto(), do_heal(), do_kick(), do_mload(), do_mount(), do_mpdamage(), do_mpforce(), do_mpgforce(), do_mpgtransfer(), do_mpmload(), do_mppurge(), do_mptransfer(), do_mpzecho(), do_mwhere(), do_order(), do_owhere(), do_peace(), do_pick(), do_pload(), do_pmote(), do_purge(), do_recho(), do_restore(), do_roar(), do_sacrifice(), do_say(), do_smote(), do_snoop(), do_split(), do_train(), do_transfer(), do_violate(), do_whisper(), do_yell(), do_zecho(), dragon(), find_keeper(), find_location(), fire_effect(), get_char_room(), get_char_world(), get_mob_vnum_room(), get_obj(), get_order(), get_random_char(), group_gain(), mob_hit(), mp_exit_trigger(), mp_greet_trigger(), nuke_pets(), obj_cast_spell(), obj_to_keeper(), obj_update(), say_spell(), send_to_room(), song_update(), spec_cast_adept(), spec_cast_cleric(), spec_cast_judge(), spec_cast_mage(), spec_cast_undead(), spec_executioner(), spec_guard(), spec_nasty(), spec_ogre_member(), spec_panther_forest(), spec_patrolman(), spec_thief(), spec_troll_member(), spec_wolf_forest(), spell_call_lightning(), spell_calm(), spell_chain_lightning(), spell_earthquake(), spell_faerie_fog(), spell_fire_breath(), spell_frost_breath(), spell_gas_breath(), spell_gate(), spell_holy_word(), spell_mass_healing(), spell_mass_invis(), spell_nexus(), spell_portal(), spell_summon(), spell_teleport(), spell_ventriloquate(), update_vehicle(), and violence_update().

sh_int incog_level
 

Definition at line 1819 of file merc.h.

Referenced by do_incognito().

sh_int invis_level
 

Definition at line 1818 of file merc.h.

Referenced by clone_mobile(), do_invis(), show_char_to_char(), and spell_faerie_fog().

CHAR_DATA* is_riding
 

Definition at line 1772 of file merc.h.

Referenced by do_dismount(), and do_mount().

sh_int king
 

Definition at line 1809 of file merc.h.

Referenced by do_banish(), do_kingdom_guild(), do_kingdom_recruiter(), and do_who_kingdom().

long kking
 

Definition at line 1806 of file merc.h.

Referenced by do_kingdom_recruiter(), do_kingdomtalk(), and do_who_kingdom().

CHAR_DATA* leader
 

Definition at line 1742 of file merc.h.

Referenced by add_follower(), die_follower(), do_buy(), do_group(), fread_pet(), group_gain(), is_same_group(), and stop_follower().

sh_int level
 

Definition at line 1781 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), do_buy(), do_heal(), do_immtitle(), do_kill(), do_lag(), do_list(), do_murder(), do_side_kick(), do_who(), do_who_clan(), do_who_kingdom(), fread_pet(), load_char_obj(), nanny(), parse_note(), reset_room(), spec_cast_adept(), spec_patrolman(), spell_calm(), spell_energy_drain(), spell_gate(), spell_nexus(), spell_portal(), and spell_summon().

int lines
 

Definition at line 1784 of file merc.h.

Referenced by clear_char(), do_scroll(), and new_char().

long link_status
 

Definition at line 1796 of file merc.h.

Referenced by close_socket().

time_t logon
 

Definition at line 1785 of file merc.h.

Referenced by clear_char(), and new_char().

char* long_descr
 

Definition at line 1768 of file merc.h.

Referenced by clear_char(), clone_mobile(), create_mobile(), do_string(), fread_pet(), and new_char().

sh_int mana
 

Definition at line 1791 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), create_mobile(), do_heal(), do_restore(), fread_pet(), nanny(), new_char(), and spell_energy_drain().

CHAR_DATA* master
 

Definition at line 1741 of file merc.h.

Referenced by add_follower(), die_follower(), do_cast(), do_enter(), do_group(), fread_pet(), move_char(), and stop_follower().

char* material
 

Definition at line 1839 of file merc.h.

Referenced by clone_mobile(), and create_mobile().

sh_int max_hit
 

Definition at line 1790 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), cmd_eval(), create_mobile(), do_glance(), do_mset(), do_restore(), do_score2(), fread_pet(), nanny(), new_char(), process_output(), show_char_to_char_1(), spell_cure_critical(), spell_cure_light(), spell_cure_serious(), and spell_heal().

sh_int max_mana
 

Definition at line 1792 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), create_mobile(), do_mset(), do_restore(), do_score2(), fread_pet(), nanny(), and new_char().

sh_int max_move
 

Definition at line 1794 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), do_mset(), do_restore(), do_score2(), fread_pet(), nanny(), new_char(), and spell_refresh().

MEM_DATA* memory
 

Definition at line 1747 of file merc.h.

sh_int mod_stat[MAX_STATS]
 

Definition at line 1834 of file merc.h.

Referenced by clone_mobile(), fread_pet(), and new_char().

sh_int move
 

Definition at line 1793 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), do_restore(), fread_pet(), nanny(), new_char(), spell_energy_drain(), spell_holy_word(), spell_refresh(), and violence_update().

sh_int mprog_delay
 

Definition at line 1847 of file merc.h.

Referenced by do_mpcancel(), and do_mpdelay().

CHAR_DATA* mprog_target
 

Definition at line 1746 of file merc.h.

Referenced by cmd_eval(), create_mobile(), do_mpforget(), do_mpremember(), and extract_char().

char* name
 

Definition at line 1762 of file merc.h.

Referenced by can_loot(), check_parse_name(), check_playing(), clear_char(), clone_mobile(), close_socket(), create_mobile(), do_banish(), do_buy(), do_clan_guild(), do_cset(), do_dsay(), do_enhanced_disable(), do_immtitle(), do_kick(), do_kingdom_guild(), do_kingdom_recruiter(), do_mount(), do_mpgtransfer(), do_mstat(), do_mwhere(), do_permit(), do_pmote(), do_remove_leader(), do_remove_recruiter(), do_rename(), do_rstat(), do_set_guild(), do_set_leader(), do_smote(), do_sockets(), do_transfer(), do_unpermit(), do_who_clan(), do_who_kingdom(), do_whois(), expand_arg(), fread_pet(), get_char_room(), get_char_world(), load_char_obj(), nanny(), new_char(), parse_note(), REDIT(), spec_executioner(), spec_guard(), spec_panther_forest(), and spell_ventriloquate().

CHAR_DATA* next
 

Definition at line 1739 of file merc.h.

Referenced by aggr_update(), can_loot(), char_update(), check_assist(), check_reconnect(), create_mobile(), die_follower(), do_at(), do_dump(), do_force(), do_group(), do_gtell(), do_mpat(), do_mpforce(), do_mpvforce(), do_mwhere(), do_pload(), extract_char(), get_char_world(), mob_hit(), mobile_update(), new_char(), spec_patrolman(), spell_call_lightning(), spell_earthquake(), stop_fighting(), and violence_update().

CHAR_DATA* next_in_room
 

Definition at line 1740 of file merc.h.

Referenced by act_new(), aggr_update(), char_from_room(), char_to_room(), char_update(), check_assist(), count_people_room(), count_users(), do_brandish(), do_cast(), do_close(), do_dsay(), do_enter(), do_gain(), do_goto(), do_heal(), do_list(), do_mpdamage(), do_mpgforce(), do_mpgtransfer(), do_mppurge(), do_mptransfer(), do_open(), do_order(), do_peace(), do_pick(), do_pmote(), do_purge(), do_restore(), do_rstat(), do_sacrifice(), do_say(), do_smote(), do_split(), do_train(), do_violate(), do_whisper(), dragon(), find_keeper(), get_char_room(), get_mob_vnum_room(), get_obj(), get_order(), get_random_char(), group_gain(), move_char(), mp_exit_trigger(), mp_greet_trigger(), obj_cast_spell(), obj_from_room(), REDIT(), reset_room(), room_is_private(), say_spell(), scan_list(), show_char_to_char(), spec_cast_adept(), spec_cast_cleric(), spec_cast_judge(), spec_cast_mage(), spec_cast_undead(), spec_executioner(), spec_guard(), spec_nasty(), spec_ogre_member(), spec_panther_forest(), spec_patrolman(), spec_thief(), spec_troll_member(), spec_wolf_forest(), spell_calm(), spell_chain_lightning(), spell_faerie_fog(), spell_fire_breath(), spell_frost_breath(), spell_gas_breath(), spell_holy_word(), spell_mass_healing(), spell_mass_invis(), and spell_ventriloquate().

long off_flags
 

Definition at line 1841 of file merc.h.

Referenced by clone_mobile(), cmd_eval(), create_mobile(), and do_side_kick().

OBJ_DATA* on
 

Definition at line 1753 of file merc.h.

Referenced by clear_char(), count_users(), do_sacrifice(), get_obj(), and obj_from_room().

long parts
 

Definition at line 1837 of file merc.h.

Referenced by clone_mobile(), create_mobile(), and load_char_obj().

PC_DATA* pcdata
 

Definition at line 1757 of file merc.h.

Referenced by check_reconnect(), do_afk(), do_alias(), do_bamfin(), do_cset(), do_dump(), do_immtitle(), do_mset(), do_reply(), do_sset(), do_unalias(), fread_char(), load_char_obj(), and nanny().

sh_int perm_stat[MAX_STATS]
 

Definition at line 1833 of file merc.h.

Referenced by clone_mobile(), create_mobile(), fread_pet(), load_char_obj(), nanny(), and new_char().

CHAR_DATA* permit[MAX_PERMIT]
 

Definition at line 1759 of file merc.h.

Referenced by check_permissions(), and do_unpermit().

CHAR_DATA* permited_by[MAX_PERMIT]
 

Definition at line 1760 of file merc.h.

Referenced by check_permissions(), do_permit(), and do_unpermit().

CHAR_DATA* pet
 

Definition at line 1745 of file merc.h.

Referenced by die_follower(), do_buy(), do_pload(), do_punload(), fread_pet(), nuke_pets(), and stop_follower().

MOB_INDEX_DATA* pIndexData
 

Definition at line 1749 of file merc.h.

Referenced by cmd_eval(), create_mobile(), do_buy(), mobile_update(), obj_update(), reset_room(), spec_panther_forest(), spec_wolf_forest(), and spell_summon().

int played
 

Definition at line 1783 of file merc.h.

NOTE_DATA* pnote
 

Definition at line 1846 of file merc.h.

Referenced by parse_note().

sh_int position
 

Definition at line 1821 of file merc.h.

Referenced by char_update(), clear_char(), clone_mobile(), create_mobile(), damage(), do_bash(), do_dismount(), do_dsay(), do_enter(), do_flee(), do_mount(), do_mpkill(), do_rename(), do_side_kick(), do_trip(), fread_pet(), move_char(), new_char(), spell_bless(), spell_calm(), spell_dispel_magic(), stop_fighting(), and update_vehicle().

sh_int practice
 

Definition at line 1822 of file merc.h.

Referenced by clone_mobile(), do_mset(), and nanny().

char* prefix
 

Definition at line 1771 of file merc.h.

Referenced by do_prefix(), new_char(), and substitute_alias().

char* prompt
 

Definition at line 1770 of file merc.h.

Referenced by bust_a_prompt(), clear_char(), create_mobile(), do_prompt(), load_char_obj(), and new_char().

sh_int race
 

Definition at line 1780 of file merc.h.

Referenced by clone_mobile(), create_mobile(), do_who(), do_who_clan(), do_who_kingdom(), fread_pet(), and load_char_obj().

sh_int reclass
 

Definition at line 1795 of file merc.h.

CHAR_DATA* reply
 

Definition at line 1744 of file merc.h.

Referenced by do_buy(), do_give(), do_incognito(), do_invis()