Pol  Rev 533
Character Class Reference

#include <charactr.h>

+ Inheritance diagram for Character:
+ Collaboration diagram for Character:

List of all members.

Public Types

enum  { WALKED = 0, OTHER = 0, MULTIMOVE = 1 }
enum  { GOTTEN_ITEM_ON_GROUND, GOTTEN_ITEM_EQUIPPED_ON_SELF, GOTTEN_ITEM_IN_CONTAINER }
typedef set< Character * > CharacterSet

Public Member Functions

 Character (u32 objtype, UOBJ_CLASS uobj_class=CLASS_CHARACTER)
virtual ~Character ()
void add_remote_container (Item *)
void add_to_be_reportable (u32 serial)
std::string all_privs () const
std::string all_settings () const
double apply_damage (double damage, Character *source=NULL, bool userepsys=true, bool send_damage_packet=false)
virtual void apply_raw_damage_hundredths (unsigned int damage, Character *source, bool userepsys=true, bool send_damage_packet=false)
virtual unsigned short ar () const
virtual s16 ar_mod () const
virtual s16 ar_mod (s16 new_value)
virtual double armor_absorb_damage (double damage)
void attack (Character *opponent)
const AttributeValueattribute (unsigned attrid) const
AttributeValueattribute (unsigned attrid)
void award_raw_skillpoints (USKILLID skillid, unsigned short points)
UContainerbackpack () const
s16 calc_element_damage (unsigned element) const
s16 calc_element_resist (unsigned resist) const
void calc_single_attribute (const Attribute *pAttr)
void calc_single_vital (const Vital *pVital)
void calc_vital_stuff (bool i_mod=true, bool v_mod=true)
bool can_be_heard_as_ghost () const
virtual bool can_be_renamed_by (const Character *chr) const
bool can_clothe (const Character *chr) const
bool can_dblclickany () const
bool can_face (UFACING i_facing)
bool can_hearghosts () const
bool can_move (const Item *item) const
bool can_moveanydist () const
bool can_plogany () const
bool can_rename (const Character *chr) const
bool can_seeinvisitems () const
bool can_speedhack () const
void cancel_menu ()
void cancel_party_invite_timeout ()
class Partycandidate_of () const
void candidate_of (Party *)
unsigned short carrying_capacity () const
bool casting_spell () const
int charindex () const
void check_attack_after_move ()
void check_concealment_level ()
void check_justice_region_change ()
void check_light_region_change ()
void check_music_region_change ()
void check_region_changes ()
bool check_skill (USKILLID skillid, int difficulty, unsigned short pointvalue)
void check_undamaged ()
void check_weather_region_change (bool force=false)
bool CheckPushthrough ()
UArmorchoose_armor () const
void clear_criminal_timer ()
void clear_gotten_item ()
void clear_my_aggressors ()
void clear_my_lawful_damagers ()
void clear_opponent_of ()
void clear_reportable (u32 serial, polclock_t time)
void clear_to_be_reportables ()
void commit_to_reportables ()
bool concealed () const
bool consume (const Vital *pVital, VitalValue &vv, unsigned int amt)
void create_trade_container ()
virtual BObjectImpcustom_script_method (const char *methodname, Executor &ex)
bool CustomHousingMove (unsigned char i_dir)
void damage_weapon ()
bool dead () const
bool deafened () const
virtual void destroy ()
u16 dexterity () const
void die ()
void disable_regeneration_for (int seconds)
void disconnect_cleanup ()
void do_attack_effects (Character *target)
void do_hit_failure_effects ()
void do_hit_success_effects ()
void do_imhit_effects ()
bool doors_block () const
void equip (Item *item)
bool equippable (const Item *item) const
bool face (UFACING i_facing, int flags=0)
Itemfind_wornitem (u32 serial) const
bool frozen () const
Characterget_attackable_opponent () const
unsigned short get_base_skill (USKILLID skillid) const
u8 get_flag1 (Client *client) const
Itemget_from_ground (u32 serial, UContainer **found_in)
virtual void get_hitscript_params (double damage, UArmor **parmor, unsigned short *rawdamage)
Characterget_opponent () const
unsigned int get_raw_skill (USKILLID skillid) const
virtual BObjectImpget_script_member (const char *membername) const
virtual BObjectImpget_script_member_id (const int id) const
UArmorget_shield () const
unsigned short get_skill (USKILLID skillid) const
unsigned short get_weapon_skill () const
void getpos_ifmove (UFACING i_facing, unsigned short *px, unsigned short *py)
unsigned int gold_carried () const
void grant_privilege (const char *priv)
class Guildguild () const
void guild (Guild *)
unsigned int guildid () const
bool has_active_client () const
bool has_active_gump () const
bool has_active_prompt () const
bool has_lawfully_damaged (const Character *chr) const
bool has_party_invite_timeout ()
bool has_privilege (const char *priv) const
bool has_shield () const
void heal_damage_hundredths (unsigned int damage)
bool hidden () const
virtual unsigned char hilite_color_idx (const Character *seen_by) const
const CharacterSethostiles () const
bool ignores_line_of_sight () const
virtual void inform_criminal (Character *thecriminal)
virtual void inform_disengaged (Character *disengaged)
virtual void inform_engaged (Character *engaged)
virtual void inform_enteredarea (Character *whoentered)
virtual void inform_imoved (Character *chr)
virtual void inform_leftarea (Character *wholeft)
virtual void inform_moved (Character *moved)
u16 intelligence () const
virtual UWeaponintrinsic_weapon ()
bool invul () const
bool is_aggressor_to (const Character *chr) const
bool is_attackable (Character *who) const
bool is_concealed_from_me (const Character *chr) const
bool is_criminal () const
bool is_equipped (const Item *item) const
bool is_guild_ally (const Character *chr) const
bool is_guild_enemy (const Character *chr) const
bool is_house_editing () const
bool is_innocent_to (const Character *chr) const
bool is_murderer () const
bool is_trading () const
bool is_visible () const
bool is_visible_to_me (const Character *chr) const
bool layer_is_equipped (int layer) const
virtual u8 los_height () const
void make_aggressor_to (Character *chr)
void make_criminal (int level=1)
void make_lawfullydamaged_to (Character *chr)
void make_murderer (bool newlval=true)
virtual BObjectImpmake_offline_ref ()
virtual BObjectImpmake_ref ()
bool manual_set_swing_timer (int time)
u16 max_hits () const
u32 max_hits_hundredths () const
u16 max_mana () const
u16 max_stamina () const
unsigned short max_weapon_damage () const
bool mightsee (const Item *item) const
unsigned short min_weapon_damage () const
bool move (unsigned char dir)
virtual unsigned short name_color (const Character *seen_by) const
class Partyoffline_mem_of () const
void offline_mem_of (Party *)
void on_aos_ext_stat_changed ()
virtual void on_color_changed ()
virtual void on_death (Item *corpse)
virtual void on_facing_changed ()
bool on_mount () const
virtual void on_poison_changed ()
virtual void on_swing_failure (Character *attacker)
bool paralyzed () const
class Partyparty () const
void party (Party *)
bool party_can_loot () const
void position_changed (void)
void produce (const Vital *pVital, VitalValue &vv, unsigned int amt)
unsigned short random_weapon_damage () const
void readAttributesAndVitals (ConfigElem &elem)
void readCommonProperties (ConfigElem &elem)
virtual void readProperties (ConfigElem &elem)
void realm_changed ()
void recalc_all_skills (void)
void recalc_skill (int skillnum)
virtual void refresh_ar ()
void refresh_element (unsigned element)
void regen_vital (const Vital *)
void removal_cleanup ()
void remove_as_aggressor_to (Character *chr)
void remove_as_lawful_damager (Character *chr)
virtual void repsys_on_attack (Character *defender)
virtual void repsys_on_damage (Character *defender)
virtual void repsys_on_help (Character *recipient)
void reset_swing_timer ()
void restart_aggressor_timer (Character *chr, polclock_t until)
void restart_criminal_timer (polclock_t until)
void restart_lawfully_damaged_timer (Character *chr, polclock_t until)
void resurrect ()
void revoke_privilege (const char *priv)
void run_hit_script (Character *defender, double damage)
void schedule_spell (class USpell *)
virtual bool script_isa (unsigned isatype) const
virtual BObjectImpscript_method (const char *methodname, Executor &ex)
virtual BObjectImpscript_method_id (const int id, Executor &ex)
Itemsearch_remote_containers (u32 serial, bool *isRemoteContainer) const
void select_opponent (u32 serial)
void send_highlight () const
void send_warmode ()
void set_caps_to_default ()
void set_current (const Vital *pVital, VitalValue &vv, unsigned int ones)
void set_current_ones (const Vital *pVital, VitalValue &vv, unsigned int ones)
void set_dexterity (u16 dexterity)
void set_intelligence (u16 intelligence)
void set_opponent (Character *opponent, bool inform_old_opponent=true)
void set_party_can_loot (bool)
void set_party_invite_timeout ()
void set_privs (const std::string &privlist)
void set_raw_skill (USKILLID skillid, unsigned int raw_value)
virtual BObjectImpset_script_member (const char *membername, const std::string &value)
 id test
virtual BObjectImpset_script_member (const char *membername, int value)
virtual BObjectImpset_script_member_id (const int id, const std::string &value)
virtual BObjectImpset_script_member_id (const int id, int value)
virtual BObjectImpset_script_member_id_double (const int id, double value)
void set_setting (const char *setting, bool value)
void set_stealthsteps (unsigned short newval)
void set_strength (u16 strength)
void set_vitals_to_maximum ()
void set_warmode (bool warmode)
virtual void setfacing (u8 newfacing)
virtual bool setgraphic (u16 newobjtype)
bool setting_enabled (const char *setting) const
void showarmor () const
bool skill_ex_active () const
Spellbookspellbook (u8 school) const
void spend_gold (unsigned int amount)
bool squelched () const
bool start_itemuse_script (EScriptProgram *prog, Item *item, bool start_attached)
bool start_script (EScriptProgram *prog, bool start_attached, BObjectImp *param2=NULL, BObjectImp *param3=NULL, BObjectImp *param4=NULL)
bool start_skill_script (EScriptProgram *prog)
bool start_spell_script (EScriptProgram *prog, USpell *spell)
u16 strength () const
bool strong_enough_to_equip (const Item *item) const
bool target_cursor_busy () const
virtual const char * target_tag () const
void tellmove (void)
UContainertrade_container ()
void unequip (Item *item)
void unhide ()
void update_element (unsigned element, Item *item)
void validate_stat_ranges ()
const VitalValuevital (unsigned vitalid) const
VitalValuevital (unsigned vitalid)
UACTION weapon_anim () const
const AttributeValueweapon_attribute () const
USKILLID weapon_skillid () const
virtual unsigned int weight () const
Itemwornitem (int layer) const

Static Public Member Functions

static MOVEMODE decode_movemode (const std::string &str)
static std::string encode_movemode (MOVEMODE movemode)
static bool valid_equip_layer (const Item *item)

Public Attributes

AccountRef acct
vector< AttributeValueattributes
Clientclient
unsigned char cmdlevel
bool connected
unsigned int dblclick_wait
u8 dir
time_t disable_regeneration_until
time_t disable_skills_until
Expanded_Statbar expanded_statbar
UGENDER gender
Itemgotten_item
unsigned char gotten_item_source
short gradual_boost
u32 last_corpse
u16 lastx
u16 lasty
s8 lastz
int lightoverride
gameclock_t lightoverride_until
bool logged_in
Menumenu
enum Character:: { ... }  move_reason
MovementCost_Mod movement_cost
MOVEMODE movemode
void(* on_menu_selection )(Client *client, class MenuItem *mi, struct PKTIN_7D *msg)
bool poisoned
URACE race
u32 registered_house
u16 skillcap_
TargetCursortcursor2
std::string title_guild
std::string title_prefix
std::string title_race
std::string title_suffix
bool trade_accepted
ref_ptr< UContainertrading_cont
CharacterRef trading_with
u16 truecolor
u32 trueobjtype
std::string uclang
vector< VitalValuevitals
bool warmode
unsigned int warmode_wait
bool all
bool attackhidden
bool canbeheardasghost
bool clotheany
bool dblclickany
bool firewhilemoving
bool freemove
bool hearghosts
bool hiddenattack
bool ignoredoors
bool invul
bool losany
bool moveany
bool moveanydist
bool plogany
bool renameany
bool runwhilestealth
bool seeghosts
bool seehidden
bool seeinvisitems
bool speedhack

Protected Member Functions

virtual const char * classname () const
virtual void printDebugProperties (std::ostream &os) const
virtual void printOn (std::ostream &os) const
virtual void printProperties (std::ostream &os) const
virtual void printSelfOn (std::ostream &os) const
void printWornItems (std::ostream &pc, std::ostream &equip) const

Protected Attributes

unsigned short ar_
s16 ar_mod_
vector< UArmor * > armor_
struct {
   bool   all
   bool   attackhidden
   bool   canbeheardasghost
   bool   clotheany
   bool   dblclickany
   bool   firewhilemoving
   bool   freemove
   bool   hearghosts
   bool   hiddenattack
   bool   ignoredoors
   bool   invul
   bool   losany
   bool   moveany
   bool   moveanydist
   bool   plogany
   bool   renameany
   bool   runwhilestealth
   bool   seeghosts
   bool   seehidden
   bool   seeinvisitems
   bool   speedhack
cached_settings
unsigned char concealed_
gameclock_t created_at
bool dead_
gameclock_t deafened_until
s16 delay_mod_
s16 evasionchance_mod_
bool frozen_
bool hidden_
s16 hitchance_mod_
unsigned int mountedsteps_
Characteropponent_
CharacterSet opponent_of
bool paralyzed_
StringSet privs
bool ready_to_swing
vector< ItemRefremote_containers_
UOExecutorscript_ex
StringSet settings
UArmorshield
OneShotTaskspell_task
gameclock_t squelched_until
unsigned short stealthsteps_
OneShotTaskswing_task
polclock_t swing_timer_start_clock_
UWeaponweapon
WornItemsContainerwornitems
ref_ptr< WornItemsContainerwornitems_ref

Private Types

typedef UObject base
typedef map< CharacterRef,
polclock_t
MobileCont
typedef set< reportable_tReportableList
typedef set< USERIALToBeReportableList

Private Member Functions

 Character (const Character &)
ObjArrayGetAggressorTo () const
ObjArrayGetLawFullyDamaged () const
ObjArrayGetReportables () const
void load_default_elements ()
Characteroperator= (const Character &)
void refresh_cached_settings (bool update=true)
void schedule_attack ()
void stop_skill_script ()

Static Private Member Functions

static void swing_task_func (Character *chr)

Private Attributes

MobileCont aggressor_to_
Partycandidate_of_
polclock_t criminal_until_
Guildguild_
MobileCont lawfully_damaged_
bool murderer_
Partyoffline_mem_of_
Partyparty_
bool party_can_loot_
OneShotTaskparty_decline_timeout_
ReportableList reportable_
OneShotTaskrepsys_task_
ToBeReportableList to_be_reportable_

Friends

void ClientCreateChar (Client *client, struct PKTIN_00 *msg)
void ClientCreateChar70160 (Client *client, struct PKTIN_F8 *msg)
void ClientCreateCharKR (Client *client, struct PKTIN_8D *msg)
void createchar2 (Account *acct, unsigned index)
CharacterCreateNewBlankCharacter ()
void handle_script_cursor (Character *chr, UObject *obj)
void menu_selection_made (Client *client, class MenuItem *mi, struct PKTIN_7D *msg)
class RepSystem
void undo_get_item (Character *chr, Item *item)
class UOExecutorModule
void write_characters (class SaveContext &sc)

Detailed Description

Definition at line 268 of file charactr.h.


Member Typedef Documentation

typedef UObject Character::base [private]

Reimplemented in NPC.

Definition at line 270 of file charactr.h.

Definition at line 277 of file charactr.h.

typedef map< CharacterRef, polclock_t > Character::MobileCont [private]

Definition at line 810 of file charactr.h.

typedef set<reportable_t> Character::ReportableList [private]

Definition at line 819 of file charactr.h.

typedef set<USERIAL> Character::ToBeReportableList [private]

Definition at line 816 of file charactr.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
WALKED 
OTHER 
MULTIMOVE 

Definition at line 660 of file charactr.h.

anonymous enum
Enumerator:
GOTTEN_ITEM_ON_GROUND 
GOTTEN_ITEM_EQUIPPED_ON_SELF 
GOTTEN_ITEM_IN_CONTAINER 

Definition at line 677 of file charactr.h.


Constructor & Destructor Documentation

Character::Character ( const Character ) [private]

Member Function Documentation

Definition at line 4102 of file charactr.cpp.

References remote_containers_.

Referenced by UOExecutorModule::mf_SendOpenSpecialContainer().

+ Here is the caller graph for this function:

Definition at line 1151 of file repsys.cpp.

References UObject::set_dirty(), and to_be_reportable_.

Referenced by RepSystem::on_pc_damages_pc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string Character::all_privs ( ) const

Definition at line 1372 of file charactr.cpp.

References StringSet::extract(), and privs.

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string Character::all_settings ( ) const

Definition at line 1367 of file charactr.cpp.

References StringSet::extract(), and settings.

+ Here is the call graph for this function:

double Character::apply_damage ( double  damage,
Character source = NULL,
bool  userepsys = true,
bool  send_damage_packet = false 
)

Definition at line 2010 of file charactr.cpp.

References apply_raw_damage_hundredths(), armor_absorb_damage(), Watch::combat, do_imhit_effects(), and watch.

Referenced by attack(), and VitalExecutorModule::mf_ApplyDamage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::apply_raw_damage_hundredths ( unsigned int  damage,
Character source,
bool  userepsys = true,
bool  send_damage_packet = false 
) [virtual]
unsigned short Character::ar ( ) const [inline, virtual]

Reimplemented in NPC.

Definition at line 909 of file charactr.h.

References ar_.

Referenced by get_script_member_id(), and send_full_statmsg().

+ Here is the caller graph for this function:

s16 Character::ar_mod ( ) const [inline, virtual]
s16 Character::ar_mod ( s16  new_value) [inline, virtual]

Definition at line 919 of file charactr.h.

References ar_mod_.

double Character::armor_absorb_damage ( double  damage) [virtual]

Reimplemented in NPC.

Definition at line 1997 of file charactr.cpp.

References UArmor::ar(), ar_mod(), calc_thru_damage(), choose_armor(), and Equipment::reduce_hp_from_hit().

Referenced by apply_damage(), and NPC::armor_absorb_damage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

AttributeValue& Character::attribute ( unsigned  attrid) [inline]

Definition at line 843 of file charactr.h.

References attributes, and passert.

void Character::award_raw_skillpoints ( USKILLID  skillid,
unsigned short  points 
)

Definition at line 1798 of file charactr.cpp.

References attribute(), ATTRIBUTE_MAX_INTRINSIC_MOD, ATTRIBUTE_MIN_INTRINSIC_MOD, Attribute::attrid, ExportedFunction::call_long(), Attribute::getintrinsicmod_func, and AttributeValue::intrinsic_mod().

Referenced by calc_vital_stuff(), and VitalExecutorModule::mf_RecalcVitals().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::calc_vital_stuff ( bool  i_mod = true,
bool  v_mod = true 
)

Definition at line 1749 of file charactr.cpp.

References attributes, calc_single_attribute(), calc_single_vital(), numAttributes, numVitals, and vitals.

Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), VitalExecutorModule::mf_RecalcVitals(), readAttributesAndVitals(), and NPC::readPropertiesForNewNPC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1433 of file charactr.cpp.

References cached_settings.

Referenced by handle_processed_speech(), and SendUnicodeSpeech().

+ Here is the caller graph for this function:

bool Character::can_be_renamed_by ( const Character chr) const [virtual]

Reimplemented in NPC.

Definition at line 1410 of file charactr.cpp.

Referenced by can_rename().

+ Here is the caller graph for this function:

bool Character::can_clothe ( const Character chr) const

Definition at line 1422 of file charactr.cpp.

References cached_settings.

Referenced by equip_item().

+ Here is the caller graph for this function:

bool Character::can_dblclickany ( ) const [inline]

Definition at line 948 of file charactr.h.

References cached_settings.

Referenced by doubleclick().

+ Here is the caller graph for this function:

bool Character::can_face ( UFACING  i_facing)

Definition at line 3739 of file charactr.cpp.

References cached_settings, client, VitalValue::current_ones(), dead(), frozen(), ServSpecOpt::movement_uses_stamina, paralyzed(), private_say_above(), pVitalStamina, ssopt, vital(), and Vital::vitalid.

Referenced by face().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::can_hearghosts ( ) const

Definition at line 1428 of file charactr.cpp.

References cached_settings.

Referenced by handle_processed_speech(), and SendUnicodeSpeech().

+ Here is the caller graph for this function:

bool Character::can_move ( const Item item) const

Definition at line 1438 of file charactr.cpp.

References cached_settings.

Referenced by drop_item_on_ground(), drop_item_on_mobile(), drop_item_on_object(), get_item(), and place_item().

+ Here is the caller graph for this function:

bool Character::can_plogany ( ) const

Definition at line 1443 of file charactr.cpp.

References cached_settings.

Referenced by textcmd_startlog(), and textcmd_stoplog().

+ Here is the caller graph for this function:

bool Character::can_rename ( const Character chr) const

Definition at line 1416 of file charactr.cpp.

References cached_settings, and can_be_renamed_by().

Referenced by handle_rename_char(), and send_short_statmsg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::can_seeinvisitems ( ) const [inline]

Definition at line 944 of file charactr.h.

References cached_settings.

Referenced by send_container_contents(), and send_item().

+ Here is the caller graph for this function:

bool Character::can_speedhack ( ) const

Definition at line 1448 of file charactr.cpp.

References cached_settings.

Referenced by Client::SpeedHackPrevention().

+ Here is the caller graph for this function:

Definition at line 4285 of file charactr.cpp.

References client, menu, and on_menu_selection.

Referenced by handle_menu_selection().

+ Here is the caller graph for this function:

Definition at line 897 of file party.cpp.

References OneShotTask::cancel(), and party_decline_timeout_.

Referenced by EPartyRefObjImp::call_method_id(), handle_accept_invite(), and handle_decline_invite().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 864 of file party.cpp.

References candidate_of_.

unsigned short Character::carrying_capacity ( ) const

A Mobile's carrying capacity is 40 + STR * 3.5 stones.

Definition at line 761 of file charactr.cpp.

References ServSpecOpt::carrying_capacity_mod, ssopt, and strength().

Referenced by move(), and send_full_statmsg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::casting_spell ( ) const [inline]

Definition at line 930 of file charactr.h.

References spell_task.

Referenced by CanUseSkill(), do_cast(), Item::double_click(), and UOExecutorModule::mf_UseItem().

+ Here is the caller graph for this function:

int Character::charindex ( ) const

Definition at line 766 of file charactr.cpp.

References acct, PolConfig::character_slots, config, Account::get_character(), Log2(), and UObject::serial.

Referenced by printProperties(), and readCommonProperties().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2781 of file charactr.cpp.

References cmdlevel, and concealed_.

Definition at line 3601 of file charactr.cpp.

References client, Client::gd, MusicRegion::getmidi(), RegionGroup< T >::getregion(), ClientGameData::music_region, musicdef, UObject::realm, send_midi(), UObject::x, and UObject::y.

Referenced by check_region_changes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3660 of file charactr.cpp.

References check_justice_region_change(), check_light_region_change(), check_music_region_change(), check_weather_region_change(), and client.

Referenced by regen_stats(), script_method_id(), start_client_char(), and tellmove().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::check_skill ( USKILLID  skillid,
int  difficulty,
unsigned short  pointvalue 
)

Definition at line 2748 of file charactr.cpp.

References ExportedFunction::call(), SystemHooks::check_skill_hook, INC_PROFILEVAR, and system_hooks.

Referenced by USpell::check_skill(), and AttributeExecutorModule::mf_CheckSkill().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Clear a Mobile's ToBeReportable list when all of the following are true: 1) hits are at maximum 2) mobile is not poisoned 3) mobile is not paralyzed

Definition at line 2084 of file charactr.cpp.

References clear_to_be_reportables(), VitalValue::is_at_maximum(), paralyzed(), poisoned, pVitalLife, vital(), and Vital::vitalid.

Referenced by heal_damage_hundredths(), regen_stats(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3232 of file charactr.cpp.

References armor_, armor_zone_chance_sum, armorzones, and random_float().

Referenced by armor_absorb_damage(), and get_hitscript_params().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char * Character::classname ( ) const [protected, virtual]

Implements UObject.

Reimplemented in NPC.

Definition at line 961 of file charactr.cpp.

Definition at line 761 of file repsys.cpp.

References criminal_until_.

Referenced by make_criminal().

+ Here is the caller graph for this function:

Definition at line 697 of file charactr.cpp.

References client, connected, Item::gotten_by, gotten_item, Item::inuse(), MOVE_ITEM_FAILURE_UNKNOWN, send_item_move_failure(), and undo_get_item.

Referenced by die(), script_method_id(), and start_client_char().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1186 of file repsys.cpp.

References remove_as_aggressor_to(), UObject::serial, system_find_mobile(), and to_be_reportable_.

Referenced by die().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1214 of file repsys.cpp.

References remove_as_lawful_damager(), UObject::serial, system_find_mobile(), and to_be_reportable_.

Referenced by die().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2275 of file charactr.cpp.

References opponent_of, and set_opponent().

Referenced by check_justice_region_change(), die(), and removal_cleanup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::clear_reportable ( u32  serial,
polclock_t  time 
)

Definition at line 1178 of file repsys.cpp.

References reportable_t::polclock, reportable_, reportable_t::serial, UObject::serial, and UObject::set_dirty().

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1156 of file repsys.cpp.

References UObject::set_dirty(), and to_be_reportable_.

Referenced by check_undamaged().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1161 of file repsys.cpp.

References polclock(), reportable_t::polclock, reportable_, reportable_t::serial, UObject::set_dirty(), and to_be_reportable_.

Referenced by die().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::consume ( const Vital pVital,
VitalValue vv,
unsigned int  amt 
)

Definition at line 1708 of file charactr.cpp.

References VitalValue::consume(), VitalValue::current_ones(), UObject::set_dirty(), and ClientInterface::tell_vital_changed().

Referenced by apply_raw_damage_hundredths(), USpell::consume_mana(), VitalExecutorModule::mf_ConsumeVital(), move(), and regen_vital().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 4300 of file charactr.cpp.

References Item::create(), extobj, ref_ptr< T >::get(), UObject::realm, ExternalObject::secure_trade_container, ref_ptr< T >::set(), and trading_cont.

Referenced by do_open_trade_window().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * Character::custom_script_method ( const char *  methodname,
Executor ex 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 2284 of file uoscrobj.cpp.

References ExportScript::call(), ExportScript::FindExportedFunction(), Executor::fparams, make_ref(), UoClientGeneral::method_script, Executor::numParams(), and uoclient_general.

+ Here is the call graph for this function:

Definition at line 3224 of file charactr.cpp.

References UWeapon::is_intrinsic(), UWeapon::is_projectile(), Equipment::reduce_hp_from_hit(), and weapon.

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::deafened ( ) const

Definition at line 4176 of file charactr.cpp.

References deafened_until, and read_gameclock().

Referenced by get_script_member_id(), handle_processed_speech(), NPC::on_ghost_pc_spoke(), NPC::on_pc_spoke(), SendUnicodeSpeech(), and singleclick().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

MOVEMODE Character::decode_movemode ( const std::string &  str) [static]

Definition at line 980 of file charactr.cpp.

References MOVEMODE_AIR, MOVEMODE_FLY, MOVEMODE_LAND, MOVEMODE_NONE, and MOVEMODE_SEA.

Referenced by UOExecutorModule::mf_CanWalk(), UOExecutorModule::mf_CreateNpcFromTemplate(), and readCommonProperties().

+ Here is the caller graph for this function:

void Character::destroy ( ) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 711 of file charactr.cpp.

References UMulti::as_house(), UObject::destroy(), registered_house, stop_skill_script(), system_find_multi(), and UHouse::unregister_object().

Referenced by ObjectHash::ClearCharacterAccountReferences(), delete_character(), and NPC::destroy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 4203 of file charactr.cpp.

References attribute(), Attribute::attrid, AttributeValue::effective(), and pAttrDexterity.

Referenced by NPC::printProperties(), NPC::readNpcProperties(), and schedule_attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::die ( )

Unequip scripts aren't honored when moving a dead mobile's equipment onto a corpse if honor_unequip_script_on_death is disabled.

Definition at line 2287 of file charactr.cpp.

References acct, UContainer::add(), UContainer::add_at_random_location(), add_item_to_world(), backpack(), ExportedFunction::call(), UContainer::can_add(), UContainer::can_add_to_slot(), SystemHooks::can_die, cancel_trade(), Item::check_unequip_script(), Item::check_unequiptest_scripts(), CLEAR_CHECKPOINT, clear_gotten_item(), clear_my_aggressors(), clear_my_lawful_damagers(), clear_opponent_of(), Item::clone(), UObject::color, commit_to_reportables(), Item::container, UObject::copyprops(), UCorpse::corpsetype, Item::create(), dead_, DECLARE_CHECKPOINT, UContainer::extract(), UObject::facing, frozen_, gender, GENDER_MALE, UCorpse::GetItemOnLayer(), WornItemsContainer::GetItemOnLayer(), UObject::graphic, ServSpecOpt::honor_unequip_script_on_death, Item::invisible(), is_trading(), ITEM_ELEM_PTR, last_corpse, Item::layer, LAYER_BACKPACK, LAYER_BEARD, LAYER_EQUIP__HIGHEST, LAYER_EQUIP__LOWEST, LAYER_FACE, LAYER_HAIR, make_mobileref(), Item::movable(), move_item(), UObject::name_, Item::newbie(), on_death(), UCorpse::ownerserial, paralyzed_, UCorpse::PutItemOnLayer(), pVitalLife, race, RACE_ELF, RACE_HUMAN, UObject::realm, register_with_supporting_multi(), Item::restart_decay_timer(), send_death_message(), send_item_to_inrange(), UObject::serial, set_current_ones(), set_opponent(), UObject::setname(), Item::slot_index(), ssopt, system_hooks, UCorpse::take_contents_to_grave, Item::tile_layer, truecolor, unequip(), UOBJ_CORPSE, UOBJ_ELF_FEMALE, UOBJ_ELF_FEMALE_GHOST, UOBJ_ELF_MALE, UOBJ_ELF_MALE_GHOST, UOBJ_GARGOYLE_FEMALE, UOBJ_GARGOYLE_FEMALE_GHOST, UOBJ_GARGOYLE_MALE, UOBJ_GARGOYLE_MALE_GHOST, UOBJ_HUMAN_FEMALE, UOBJ_HUMAN_FEMALE_GHOST, UOBJ_HUMAN_MALE, UOBJ_HUMAN_MALE_GHOST, UPDATE_CHECKPOINT, update_item_to_inrange(), vital(), Vital::vitalid, warmode, wornitems, UObject::x, UObject::y, and UObject::z.

Referenced by apply_raw_damage_hundredths(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::disable_regeneration_for ( int  seconds)

Definition at line 3165 of file charactr.cpp.

References disable_regeneration_until, and poltime().

Referenced by apply_raw_damage_hundredths(), and set_warmode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 665 of file charactr.cpp.

References cancel_trade(), is_trading(), on_loggoff_party(), stop_skill_script(), and tcursor2.

Referenced by client_io_thread(), and removal_cleanup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3254 of file charactr.cpp.

References ACTION_LOOK_AROUND, UObject::graphic, UWeapon::is_projectile(), play_moving_effect(), play_sound_effect(), UWeapon::projectile_anim(), UWeapon::projectile_sound(), send_action_to_inrange(), UOBJ_HUMAN_MALE, weapon, and weapon_anim().

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3291 of file charactr.cpp.

References UWeapon::miss_sound(), play_sound_effect(), and weapon.

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3284 of file charactr.cpp.

References UWeapon::hit_sound(), play_sound_effect(), and weapon.

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string Character::encode_movemode ( MOVEMODE  movemode) [static]

Definition at line 994 of file charactr.cpp.

References MOVEMODE_AIR, MOVEMODE_FLY, MOVEMODE_LAND, and MOVEMODE_SEA.

Referenced by printProperties().

+ Here is the caller graph for this function:

bool Character::frozen ( ) const [inline]

Definition at line 899 of file charactr.h.

References frozen_.

Referenced by can_face(), CanUseSkill(), check_attack_after_move(), do_cast(), doubleclick(), TargetCursor::handle_target_cursor(), and singleclick().

+ Here is the caller graph for this function:

Definition at line 3016 of file charactr.cpp.

References dtrace, is_attackable(), opponent_, and opponent_of.

Referenced by check_attack_after_move(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned short Character::get_base_skill ( USKILLID  skillid) const
u8 Character::get_flag1 ( Client client) const
void Character::get_hitscript_params ( double  damage,
UArmor **  parmor,
unsigned short *  rawdamage 
) [virtual]

Reimplemented in NPC.

Definition at line 2020 of file charactr.cpp.

References UArmor::ar(), ar_mod(), calc_thru_damage(), and choose_armor().

Referenced by NPC::get_hitscript_params(), and run_hit_script().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2974 of file charactr.cpp.

References opponent_, and opponent_of.

Referenced by check_justice_region_change(), Client::PreDelete(), send_highlight(), and set_opponent().

+ Here is the caller graph for this function:

unsigned int Character::get_raw_skill ( USKILLID  skillid) const
BObjectImp * Character::get_script_member ( const char *  membername) const [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1522 of file uoscrobj.cpp.

References get_script_member_id(), getKnownObjMember(), and ObjMember::id.

+ Here is the call graph for this function:

BObjectImp * Character::get_script_member_id ( const int  id) const [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1263 of file uoscrobj.cpp.

References acct, BStruct::addMember(), ar(), ar_mod(), backpack(), candidate_of_, client, Client::ClientType, cmdlevel, cmdlevels2, Resistances::cold, Resistances_Mods::cold, ElementDamages::cold, ElementDamages_Mods::cold, concealed_, connected, created_at, CreateGuildRefObjImp(), CreatePartyRefObjImp(), dead_, deafened(), delay_mod_, UObject::element_damage, UObject::element_damage_mod, UObject::element_resist, UObject::element_resist_mod, Resistances::energy, Resistances_Mods::energy, ElementDamages::energy, ElementDamages_Mods::energy, evasionchance_mod_, expanded_statbar, Resistances::fire, Resistances_Mods::fire, ElementDamages::fire, ElementDamages_Mods::fire, Expanded_Statbar::followers, Expanded_Statbar::followers_max, frozen_, gender, ref_ptr< T >::get(), UObject::get_script_member_id(), GetAggressorTo(), Client::getclientinfo(), GetLawFullyDamaged(), GetReportables(), Client::getversion(), Client::getversiondetail(), gold_carried(), guild_, guildid(), has_active_gump(), has_active_prompt(), hidden_, hitchance_mod_, Client::ipaddrAsString(), is_criminal(), is_house_editing(), Client::isConnected(), lastx, lasty, lastz, Expanded_Statbar::luck, VersionDetailStruct::major, Item::make_ref(), Client::make_ref(), make_ref(), MBR_ACCT, MBR_ACCTNAME, MBR_AGGRESSORTO, MBR_AR, MBR_AR_MOD, MBR_ATTACHED, MBR_BACKPACK, MBR_CANDIDATE_OF_PARTY, MBR_CLIENT, MBR_CLIENTINFO, MBR_CLIENTTYPE, MBR_CLIENTVERSION, MBR_CLIENTVERSIONDETAIL, MBR_CMDLEVEL, MBR_CMDLEVELSTR, MBR_COLD_DAMAGE, MBR_COLD_DAMAGE_MOD, MBR_COLD_RESIST, MBR_COLD_RESIST_MOD, MBR_CONCEALED, MBR_CONNECTED, MBR_CREATEDAT, MBR_CRIMINAL, MBR_CURSOR, MBR_DEAD, MBR_DEAFENED, MBR_DELAY_MOD, MBR_EDITING, MBR_ENERGY_DAMAGE, MBR_ENERGY_DAMAGE_MOD, MBR_ENERGY_RESIST, MBR_ENERGY_RESIST_MOD, MBR_EVASIONCHANCE_MOD, MBR_FIRE_DAMAGE, MBR_FIRE_DAMAGE_MOD, MBR_FIRE_RESIST, MBR_FIRE_RESIST_MOD, MBR_FOLLOWERS, MBR_FOLLOWERSMAX, MBR_FROZEN, MBR_GENDER, MBR_GOLD, MBR_GUILD, MBR_GUILDID, MBR_GUMP, MBR_HIDDEN, MBR_HITCHANCE_MOD, MBR_IP, MBR_LASTCOORD, MBR_LAWFULLYDAMAGED, MBR_LUCK, MBR_MOUNTEDSTEPS, MBR_MOVECOST_RUN, MBR_MOVECOST_RUN_MOUNTED, MBR_MOVECOST_WALK, MBR_MOVECOST_WALK_MOUNTED, MBR_MOVEMODE, MBR_MURDERER, MBR_OPPONENT, MBR_PARALYZED, MBR_PARTY, MBR_PARTYLOOT, MBR_PHYSICAL_DAMAGE, MBR_PHYSICAL_DAMAGE_MOD, MBR_PHYSICAL_RESIST, MBR_PHYSICAL_RESIST_MOD, MBR_POISON_DAMAGE, MBR_POISON_DAMAGE_MOD, MBR_POISON_RESIST, MBR_POISON_RESIST_MOD, MBR_POISONED, MBR_PROMPT, MBR_RACE, MBR_REPORTABLES, MBR_SHIELD, MBR_SKILLCAP, MBR_SQUELCHED, MBR_STATCAP, MBR_STEALTHSTEPS, MBR_TITHING, MBR_TITLE_GUILD, MBR_TITLE_PREFIX, MBR_TITLE_RACE, MBR_TITLE_SUFFIX, MBR_TRADEWINDOW, MBR_TRADING_WITH, MBR_TRUECOLOR, MBR_TRUEOBJTYPE, MBR_UCLANG, MBR_UO_EXPANSION_CLIENT, MBR_WARMODE, MBR_WEAPON, VersionDetailStruct::minor, mountedsteps_, movement_cost, movemode, MOVEMODE_AIR, MOVEMODE_FLY, MOVEMODE_LAND, MOVEMODE_SEA, murderer_, Account::name(), UObject::name(), opponent_, paralyzed_, party_, party_can_loot(), VersionDetailStruct::patch, Resistances::physical, Resistances_Mods::physical, ElementDamages::physical, ElementDamages_Mods::physical, Resistances::poison, Resistances_Mods::poison, ElementDamages::poison, ElementDamages_Mods::poison, poisoned, race, VersionDetailStruct::rev, MovementCost_Mod::run, MovementCost_Mod::run_mounted, script_ex, shield, skillcap_, squelched(), Expanded_Statbar::statcap, stealthsteps_, target_cursor_busy(), Expanded_Statbar::tithing, title_guild, title_prefix, title_race, title_suffix, trading_cont, trading_with, truecolor, trueobjtype, uclang, Client::UOExpansionFlagClient, MovementCost_Mod::walk, MovementCost_Mod::walk_mounted, warmode, and weapon.

Referenced by get_script_member(), and NPC::get_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UArmor* Character::get_shield ( ) const [inline]

Definition at line 695 of file charactr.h.

References shield.

unsigned short Character::get_skill ( USKILLID  skillid) const
unsigned short Character::get_weapon_skill ( ) const
ObjArray * Character::GetAggressorTo ( ) const [private]

Definition at line 2321 of file uoscrobj.cpp.

References ObjArray::addElement(), BStruct::addMember(), aggressor_to_, polclock(), POLCLOCKS_PER_SEC, and system_find_mobile().

Referenced by get_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ObjArray * Character::GetLawFullyDamaged ( ) const [private]

Definition at line 2345 of file uoscrobj.cpp.

References ObjArray::addElement(), BStruct::addMember(), lawfully_damaged_, polclock(), POLCLOCKS_PER_SEC, and system_find_mobile().

Referenced by get_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::getpos_ifmove ( UFACING  i_facing,
unsigned short *  px,
unsigned short *  py 
)

Definition at line 2870 of file charactr.cpp.

References UObject::x, MoveDelta::xmove, UObject::y, and MoveDelta::ymove.

Referenced by NPCExecutorModule::IsLegalMove(), and NPCExecutorModule::move().

+ Here is the caller graph for this function:

ObjArray * Character::GetReportables ( ) const [private]

Definition at line 2295 of file uoscrobj.cpp.

References ObjArray::addElement(), BStruct::addMember(), reportable_t::polclock, reportable_, reportable_t::serial, and system_find_mobile().

Referenced by get_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int Character::gold_carried ( ) const

Definition at line 1486 of file charactr.cpp.

References backpack(), UContainer::find_sumof_objtype_noninuse(), and UOBJ_GOLD_COIN.

Referenced by get_script_member_id(), oldBuyHandler(), script_method_id(), send_full_statmsg(), and spend_gold().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::grant_privilege ( const char *  priv)

Definition at line 1383 of file charactr.cpp.

References StringSet::add(), StringSet::contains(), privs, and UObject::set_dirty().

Referenced by UOExecutorModule::mf_GrantPrivilege().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Guild * Character::guild ( ) const

Definition at line 1013 of file guildmod.cpp.

References guild_.

Referenced by EGuildRefObjImp::call_method_id(), is_guild_ally(), is_guild_enemy(), and Guild::registerWithMembers().

+ Here is the caller graph for this function:

void Character::guild ( Guild g)

Definition at line 1017 of file guildmod.cpp.

References guild_.

unsigned int Character::guildid ( ) const

Definition at line 1021 of file guildmod.cpp.

References guild_, and Guild::guildid().

Referenced by EGuildRefObjImp::call_method_id(), get_script_member_id(), is_guild_ally(), and is_guild_enemy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 676 of file charactr.cpp.

References client, and Client::isActive().

Referenced by BPacket::call_method_id(), EPartyRefObjImp::call_method_id(), CustomHousesSendFullToInRange(), Party::disband(), UBoat::do_tellmoves(), handle_decline_invite(), handle_party_msg(), handle_remove(), invite_timeout(), UOExecutorModule::mf_CloseGump(), UOExecutorModule::mf_CloseWindow(), VitalExecutorModule::mf_ConsumeMana(), PartyExecutorModule::mf_CreateParty(), UOExecutorModule::mf_DisconnectClient(), UOExecutorModule::mf_OpenPaperdoll(), OSExecutorModule::mf_OpenURL(), ClilocExecutorModule::mf_PrintTextAbovePrivateCL(), UnicodeExecutorModule::mf_RequestInputUC(), UOExecutorModule::mf_SecureTradeWin(), UOExecutorModule::mf_SelectColor(), UOExecutorModule::mf_SelectMenuItem(), UOExecutorModule::mf_SendBuyWindow(), UOExecutorModule::mf_SendGumpMenu(), UOExecutorModule::mf_SendInstaResDialog(), UOExecutorModule::mf_SendOpenBook(), UOExecutorModule::mf_SendOpenSpecialContainer(), UOExecutorModule::mf_SendPacket(), UOExecutorModule::mf_SendQuestArrow(), UOExecutorModule::mf_SendSellWindow(), UOExecutorModule::mf_SendSkillWindow(), UOExecutorModule::mf_SendStatus(), UOExecutorModule::mf_SendStringAsTipWindow(), UOExecutorModule::mf_SendSysMessage(), ClilocExecutorModule::mf_SendSysMessageCL(), UnicodeExecutorModule::mf_SendSysMessageUC(), UOExecutorModule::mf_SendTextEntryGump(), UOExecutorModule::mf_SendViewContainer(), UOExecutorModule::mf_Target(), UOExecutorModule::mf_TargetCancel(), UOExecutorModule::mf_TargetCoordinates(), UOExecutorModule::mf_TargetMultiPlacement(), move_character_to(), on_aos_ext_stat_changed(), Party::on_mana_changed(), Party::on_stam_changed(), realm_changed(), send_empty_party(), send_highlight(), Party::send_member_list(), Party::send_member_msg_private(), Party::send_member_msg_public(), Party::send_msg_to_all(), Party::send_remove_member(), Party::send_stats_on_add(), set_opponent(), and set_script_member_id().

+ Here is the call graph for this function:

Definition at line 687 of file charactr.cpp.

References client, Client::gd, and ClientGameData::gumpmods.

Referenced by get_script_member_id().

+ Here is the caller graph for this function:

bool Character::has_lawfully_damaged ( const Character chr) const

Definition at line 717 of file repsys.cpp.

References lawfully_damaged_.

Referenced by RepSystem::hilite_color_idx(), is_innocent_to(), and RepSystem::name_color().

+ Here is the caller graph for this function:

Definition at line 890 of file party.cpp.

References party_decline_timeout_.

bool Character::has_privilege ( const char *  priv) const

Definition at line 1271 of file charactr.cpp.

References StringSet::contains(), and privs.

Referenced by script_method_id(), and set_setting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::has_shield ( ) const [inline]
void Character::heal_damage_hundredths ( unsigned int  amount)

When a Mobile is Healed

if Amy's hits are at maximum, Clear Amy's ToBeReportable list

(note, poisoned and paralyzed flags are not checked)

Definition at line 2103 of file charactr.cpp.

References check_undamaged(), dead(), produce(), pVitalLife, send_update_hits_to_inrange(), vital(), and Vital::vitalid.

Referenced by VitalExecutorModule::mf_HealDamage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned char Character::hilite_color_idx ( const Character seen_by) const [virtual]

Reimplemented in NPC.

Definition at line 971 of file repsys.cpp.

Referenced by handle_walk(), send_move(), and send_owncreate().

+ Here is the caller graph for this function:

const Character::CharacterSet & Character::hostiles ( ) const [inline]

Definition at line 935 of file charactr.h.

References opponent_of.

Referenced by UOExecutorModule::mf_ListHostiles().

+ Here is the caller graph for this function:

bool Character::ignores_line_of_sight ( ) const [inline]

Definition at line 940 of file charactr.h.

References cached_settings.

Referenced by Realm::has_los(), UOExecutorModule::mf_Target(), and uo_has_los().

+ Here is the caller graph for this function:

void Character::inform_criminal ( Character thecriminal) [virtual]

Reimplemented in NPC.

Definition at line 3076 of file charactr.cpp.

Referenced by NpcPropagateCriminal().

+ Here is the caller graph for this function:

void Character::inform_disengaged ( Character disengaged) [virtual]

Reimplemented in NPC.

Definition at line 3060 of file charactr.cpp.

References opponent_, and send_highlight().

Referenced by on_death(), and set_opponent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::inform_engaged ( Character engaged) [virtual]

Reimplemented in NPC.

Definition at line 3068 of file charactr.cpp.

References opponent_, and send_highlight().

Referenced by handle_script_cursor(), and set_opponent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::inform_enteredarea ( Character whoentered) [virtual]

Reimplemented in NPC.

Definition at line 3086 of file charactr.cpp.

Referenced by NpcPropagateEnteredArea().

+ Here is the caller graph for this function:

void Character::inform_imoved ( Character chr) [virtual]

Reimplemented in NPC.

Definition at line 3095 of file charactr.cpp.

Referenced by NpcPropagateMove().

+ Here is the caller graph for this function:

void Character::inform_leftarea ( Character wholeft) [virtual]

Reimplemented in NPC.

Definition at line 3081 of file charactr.cpp.

Referenced by NpcPropagateLeftArea().

+ Here is the caller graph for this function:

void Character::inform_moved ( Character moved) [virtual]

Reimplemented in NPC.

Definition at line 3091 of file charactr.cpp.

Referenced by NpcPropagateMove().

+ Here is the caller graph for this function:

Definition at line 4207 of file charactr.cpp.

References attribute(), Attribute::attrid, AttributeValue::effective(), and pAttrIntelligence.

+ Here is the call graph for this function:

Reimplemented in NPC.

Definition at line 1627 of file charactr.cpp.

References wrestling_weapon.

Referenced by unequip().

+ Here is the caller graph for this function:

bool Character::invul ( ) const

Referenced by get_flag1(), NPC::hilite_color_idx(), and NPC::name_color().

+ Here is the caller graph for this function:

bool Character::is_aggressor_to ( const Character chr) const

Definition at line 660 of file repsys.cpp.

References aggressor_to_.

Referenced by RepSystem::hilite_color_idx(), is_innocent_to(), RepSystem::name_color(), and RepSystem::on_pc_attacks_pc().

+ Here is the caller graph for this function:

bool Character::is_attackable ( Character who) const

Definition at line 2983 of file charactr.cpp.

References cached_settings, combat_config, dead(), dead_, dtrace, Realm::has_los(), hidden(), UWeapon::in_range(), is_concealed_from_me(), passert, UObject::realm, CombatConfig::scripted_attack_checks, and weapon.

Referenced by get_attackable_opponent(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_concealed_from_me ( const Character chr) const

Definition at line 2789 of file charactr.cpp.

References cmdlevel, and concealed_.

Referenced by is_attackable(), is_visible_to_me(), singleclick(), and srequest().

+ Here is the caller graph for this function:

bool Character::is_criminal ( ) const

A Mobile is Criminal if: he has an active Criminal Timer, which has not timed out. OR he is a murderer.

Definition at line 743 of file repsys.cpp.

References criminal_until_, murderer_, and polclock().

Referenced by get_script_member_id(), RepSystem::hilite_color_idx(), NPC::hilite_color_idx(), is_innocent_to(), make_criminal(), RepSystem::name_color(), NPC::name_color(), RepSystem::on_pc_attacks_pc(), RepSystem::on_pc_helps_pc(), repsys_on_attack(), repsys_on_damage(), and RepSystem::show_repdata().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_equipped ( const Item item) const

Definition at line 1519 of file charactr.cpp.

References WornItemsContainer::GetItemOnLayer(), Item::tile_layer, valid_equip_layer(), and wornitems.

Referenced by Item::check_unequip_script(), Item::check_unequiptest_scripts(), Spellbook::double_click(), Item::extricate(), unequip(), and UpdateCharacterOnDestroyItem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_guild_ally ( const Character chr) const

[10] Guild Rules The following Guild Rules are only temporary pending a more complete system

[10.1] Guild Allies Bob and Amy are Guild Allies if: Bob is in a guild, AND Amy is in a guild, AND Bob's Guild is allied with Amy's guild

Definition at line 676 of file repsys.cpp.

References AreAllies(), guild(), and guildid().

Referenced by RepSystem::hilite_color_idx(), is_innocent_to(), and RepSystem::name_color().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_guild_enemy ( const Character chr) const

[10.2] Guild Enemies Bob and Amy are Guild Enemies if: Bob is in a guild, AND Amy is in a guild, AND Bob's Guild is an Enemy Guild of Amy's Guild

Definition at line 691 of file repsys.cpp.

References AreEnemies(), guild(), and guildid().

Referenced by RepSystem::hilite_color_idx(), is_innocent_to(), and RepSystem::name_color().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 692 of file charactr.cpp.

References client, ClientGameData::custom_house_serial, and Client::gd.

Referenced by get_script_member_id(), move(), and Realm::walkheight().

+ Here is the caller graph for this function:

bool Character::is_innocent_to ( const Character amy) const

[9] Innocent Status Bob is Innocent to Amy if: =============================== Bob is Innocent to Amy only if NONE of the following are true: Bob is a murderer; Bob is a criminal Bob is an Aggressor to Amy Bob is a Guild Ally of Amy Bob is a Guild Enemy of Amy Amy has Lawfully Damaged Bob

Definition at line 640 of file repsys.cpp.

References has_lawfully_damaged(), is_aggressor_to(), is_criminal(), is_guild_ally(), is_guild_enemy(), and is_murderer().

Referenced by RepSystem::on_pc_attacks_pc(), RepSystem::on_pc_damages_pc(), and RepSystem::repsys_task().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_murderer ( ) const

Definition at line 766 of file repsys.cpp.

References murderer_.

Referenced by RepSystem::hilite_color_idx(), NPC::hilite_color_idx(), is_innocent_to(), RepSystem::name_color(), NPC::name_color(), and RepSystem::show_repdata().

+ Here is the caller graph for this function:

bool Character::is_trading ( ) const

Definition at line 4293 of file charactr.cpp.

References ref_ptr< T >::get(), and trading_with.

Referenced by cancel_all_trades(), die(), disconnect_cleanup(), doubleclick(), handle_secure_trade_msg(), handle_walk(), open_trade_window(), and place_item().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::is_visible ( ) const [inline]

Definition at line 884 of file charactr.h.

References concealed_, and hidden_.

Referenced by get_flag1(), ConcealedUpdater::on_change(), and unhide().

+ Here is the caller graph for this function:

bool Character::layer_is_equipped ( int  layer) const

Definition at line 1514 of file charactr.cpp.

References WornItemsContainer::GetItemOnLayer(), and wornitems.

Referenced by character_race_changer_handler(), NPCExecutorModule::CreateBackpack(), equip_item(), equippable(), on_mount(), and resurrect().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8 Character::los_height ( ) const [virtual]

Implements UObject.

Definition at line 740 of file charactr.cpp.

References UObject::height.

Definition at line 1124 of file repsys.cpp.

References RepSys_Cfg::AggressorFlagTimeout, client, RepSys_Cfg::General, polclock(), POLCLOCKS_PER_SEC, repsys_cfg, restart_aggressor_timer(), RepSystem::schedule_repsys_task(), send_create_mobile_to_nearby_cansee(), and send_move().

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::make_criminal ( int  level = 1)

To Set Amy Criminal (For a LevelOfOffense)

If the LevelOfOffense is 0, clear the CriminalTimer Else Set her Criminal Timer for (LevelOfOffense * CriminalFlagInterval) seconds

Definition at line 1080 of file repsys.cpp.

References clear_criminal_timer(), client, RepSys_Cfg::CriminalFlagInterval, RepSys_Cfg::General, is_criminal(), UObject::orphan(), polclock(), POLCLOCKS_PER_SEC, repsys_cfg, restart_criminal_timer(), RepSystem::schedule_repsys_task(), send_create_mobile_to_nearby_cansee(), send_move(), and UObject::set_dirty().

Referenced by RepSystem::on_pc_helps_pc(), repsys_on_attack(), repsys_on_damage(), repsys_on_help(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::make_murderer ( bool  newlval = true)

Definition at line 1107 of file repsys.cpp.

References client, murderer_, UObject::orphan(), polclock(), RepSystem::schedule_repsys_task(), send_create_mobile_to_nearby_cansee(), send_move(), and UObject::set_dirty().

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1258 of file uoscrobj.cpp.

Referenced by WornItemsContainer::make_ref().

+ Here is the caller graph for this function:

Definition at line 2948 of file charactr.cpp.

References OneShotTask::cancel(), dtrace, opponent_, opponent_of, polclock(), ready_to_swing, swing_task, swing_task_func(), and swing_timer_start_clock_.

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned short Character::max_weapon_damage ( ) const

Definition at line 3219 of file charactr.cpp.

References WeaponDesc::damage_dice, UWeapon::descriptor(), Dice::max_value(), and weapon.

Referenced by send_full_statmsg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::mightsee ( const Item item) const

Definition at line 4138 of file charactr.cpp.

References Item::container, RANGE_VISUAL, UObject::realm, remote_containers_, UObject::x, and UObject::y.

Referenced by send_put_in_container_to_inrange().

+ Here is the caller graph for this function:

unsigned short Character::min_weapon_damage ( ) const

Definition at line 3214 of file charactr.cpp.

References WeaponDesc::damage_dice, UWeapon::descriptor(), Dice::min_value(), and weapon.

Referenced by send_full_statmsg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned short Character::name_color ( const Character seen_by) const [virtual]

Reimplemented in NPC.

Definition at line 975 of file repsys.cpp.

Referenced by send_nametext().

+ Here is the caller graph for this function:

Definition at line 869 of file party.cpp.

References offline_mem_of_.

Referenced by EPartyRefObjImp::call_method_id(), Party::disband(), PartyExecutorModule::mf_CreateParty(), on_loggoff_party(), and on_loggon_party().

+ Here is the caller graph for this function:

Definition at line 874 of file party.cpp.

References offline_mem_of_.

Definition at line 1884 of file charactr.cpp.

References AOS, Client::chr, client, has_active_client(), send_full_statmsg(), and Client::UOExpansionFlag.

Referenced by set_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::on_color_changed ( ) [virtual]

Reimplemented from UObject.

Definition at line 1841 of file charactr.cpp.

References Client::chr, client, send_create_mobile_to_nearby_cansee(), send_goxyz(), and send_remove_character_to_nearby_cansee().

Referenced by character_race_changer_handler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::on_mount ( ) const

Definition at line 1658 of file charactr.cpp.

References layer_is_equipped(), LAYER_MOUNT, movemode, MOVEMODE_FLY, race, and RACE_GARGOYLE.

Referenced by handle_walk(), move(), send_action_to_inrange(), and weapon_anim().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::on_swing_failure ( Character attacker) [virtual]

Definition at line 3055 of file charactr.cpp.

Referenced by attack().

+ Here is the caller graph for this function:

Character& Character::operator= ( const Character ) [private]
bool Character::paralyzed ( ) const [inline]

Definition at line 904 of file charactr.h.

References paralyzed_.

Referenced by can_face(), CanUseSkill(), check_attack_after_move(), check_undamaged(), do_cast(), doubleclick(), TargetCursor::handle_target_cursor(), and singleclick().

+ Here is the caller graph for this function:

void Character::party ( Party p)

Definition at line 844 of file party.cpp.

References party_.

bool Character::party_can_loot ( ) const

Definition at line 849 of file party.cpp.

References party_can_loot_.

Referenced by get_script_member_id().

+ Here is the caller graph for this function:

void Character::printDebugProperties ( std::ostream &  os) const [protected, virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 956 of file charactr.cpp.

References UObject::printDebugProperties().

Referenced by NPC::printDebugProperties().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::printOn ( std::ostream &  os) const [protected, virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 971 of file charactr.cpp.

References UObject::printOn().

Referenced by write_characters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::printProperties ( std::ostream &  os) const [protected, virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 783 of file charactr.cpp.

References acct, attribute(), AttributeValue::base(), AttributeValue::cap(), charindex(), cmdlevel, cmdlevels2, Resistances_Mods::cold, ElementDamages_Mods::cold, concealed_, created_at, VitalValue::current_ones(), dead_, deafened_until, UObject::element_damage_mod, UObject::element_resist_mod, StringSet::empty(), encode_movemode(), Resistances_Mods::energy, ElementDamages_Mods::energy, expanded_statbar, StringSet::extract(), FindAttribute(), FindVital(), Resistances_Mods::fire, ElementDamages_Mods::fire, Expanded_Statbar::followers, Expanded_Statbar::followers_max, frozen_, gender, getencodedquotedstring(), hexint(), hidden_, last_corpse, AttributeValue::lock(), Expanded_Statbar::luck, mountedsteps_, movement_cost, movemode, MOVEMODE_LAND, murderer_, Account::name(), Attribute::next, Vital::next, UObject::orphan(), party_can_loot_, pf_endl, Resistances_Mods::physical, ElementDamages_Mods::physical, Resistances_Mods::poison, ElementDamages_Mods::poison, reportable_t::polclock, UObject::printProperties(), privs, race, registered_house, reportable_, MovementCost_Mod::run, MovementCost_Mod::run_mounted, reportable_t::serial, settings, skillcap_, squelched_until, Expanded_Statbar::statcap, system_find_item(), Expanded_Statbar::tithing, title_guild, title_prefix, title_race, title_suffix, truecolor, trueobjtype, vital(), MovementCost_Mod::walk, and MovementCost_Mod::walk_mounted.

Referenced by NPC::printProperties().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::printSelfOn ( std::ostream &  os) const [protected, virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 966 of file charactr.cpp.

References UObject::printOn().

+ Here is the call graph for this function:

void Character::printWornItems ( std::ostream &  pc,
std::ostream &  equip 
) const [protected]

Definition at line 975 of file charactr.cpp.

References WornItemsContainer::print(), and wornitems.

Referenced by write_characters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::produce ( const Vital pVital,
VitalValue vv,
unsigned int  amt 
)

Definition at line 1697 of file charactr.cpp.

References VitalValue::current_ones(), VitalValue::produce(), UObject::set_dirty(), and ClientInterface::tell_vital_changed().

Referenced by heal_damage_hundredths(), and regen_vital().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned short Character::random_weapon_damage ( ) const

Definition at line 3209 of file charactr.cpp.

References UWeapon::get_random_damage(), and weapon.

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1008 of file charactr.cpp.

References acct, PolConfig::character_slots, charindex(), PolConfig::check_integrity, CmdLevel::cmdlevel, cmdlevel, Resistances_Mods::cold, ElementDamages_Mods::cold, concealed_, config, created_at, ctBEu32, dead_, deafened_until, decode_movemode(), UObject::element_damage_mod, UObject::element_resist_mod, Resistances_Mods::energy, ElementDamages_Mods::energy, expanded_statbar, find_account(), find_cmdlevel(), FindOrCreateGuild(), Resistances_Mods::fire, ElementDamages_Mods::fire, Expanded_Statbar::followers, Expanded_Statbar::followers_max, frozen_, gender, Account::get_character(), UObject::graphic, guild_, UObject::height, hexint(), hidden_, ISTRINGSTREAM, Expanded_Statbar::luck, mountedsteps_, movement_cost, movemode, murderer_, UObject::name(), UObject::name_, UObject::objtype_, party_can_loot_, Resistances_Mods::physical, ElementDamages_Mods::physical, PLAYER_CHARACTER_HEIGHT, Resistances_Mods::poison, ElementDamages_Mods::poison, reportable_t::polclock, position_changed(), privs, race, RACE_HUMAN, StringSet::readfrom(), UObject::readProperties(), refresh_cached_settings(), registered_house, ConfigElem::remove_bool(), ConfigElem::remove_double(), ConfigElem::remove_int(), ConfigElem::remove_prop(), ConfigElem::remove_string(), ConfigElem::remove_ulong(), ConfigElem::remove_unsigned(), ConfigElem::remove_ushort(), reportable_, MovementCost_Mod::run, MovementCost_Mod::run_mounted, reportable_t::serial, UObject::serial, UObject::serial_ext, ref_ptr< T >::set(), Account::set_character(), settings, skillcap_, squelched_until, Expanded_Statbar::statcap, system_find_mobile(), ConfigElem::throw_error(), Expanded_Statbar::tithing, title_guild, title_prefix, title_race, title_suffix, truecolor, trueobjtype, uclang, UseCharSerialNumber(), MovementCost_Mod::walk, MovementCost_Mod::walk_mounted, and wornitems.

Referenced by readProperties(), and NPC::readPropertiesForNewNPC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::readProperties ( ConfigElem elem) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1262 of file charactr.cpp.

References last_corpse, readAttributesAndVitals(), readCommonProperties(), and ConfigElem::remove_ulong().

Referenced by NPC::readProperties().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2589 of file charactr.cpp.

void Character::recalc_skill ( int  skillnum)
void Character::refresh_cached_settings ( bool  update = true) [private]

Definition at line 1316 of file charactr.cpp.

References cached_settings, PrivUpdater::on_change_invul(), PrivUpdater::on_change_see_ghosts(), PrivUpdater::on_change_see_hidden(), PrivUpdater::on_change_see_invis_items(), and setting_enabled().

Referenced by Character(), readCommonProperties(), revoke_privilege(), and set_setting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::regen_vital ( const Vital pVital)

Definition at line 1735 of file charactr.cpp.

References consume(), produce(), VitalValue::regenrate(), vital(), and Vital::vitalid.

Referenced by regen_stats().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 639 of file charactr.cpp.

References OneShotTask::cancel(), clear_opponent_of(), disconnect_cleanup(), opponent_, opponent_of, and swing_task.

Referenced by Client::PreDelete(), and ~Character().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1201 of file repsys.cpp.

References aggressor_to_, client, and send_create_mobile_if_nearby_cansee().

Referenced by clear_my_aggressors(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 1230 of file repsys.cpp.

References client, lawfully_damaged_, and send_create_mobile_if_nearby_cansee().

Referenced by clear_my_lawful_damagers(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::repsys_on_attack ( Character defender) [virtual]

[13] Mobile (MA) Attacks Mobile (MA)

Rules are applied based on whether MA is a PC or an NPC.

[13.1] Player (Amy) Attacks Mobile (Mob) If Mob is a PC (Bob), Apply 'Player Attacks Player' rules[->3] for Amy vs Bob. Else if Mob is an NPC with a Master (Bob), Apply 'Player Attacks Player' rules for Amy vs Bob Else if Mob is a Good-aligned NPC, Set Amy's Criminal Flag

Reimplemented in NPC.

Definition at line 801 of file repsys.cpp.

References NPC::alignment(), ExportedFunction::call(), UObject::CLASS_CHARACTER, NpcTemplate::GOOD, RepSys_Cfg::Hooks, is_criminal(), UObject::isa(), make_criminal(), make_ref(), NPC::master(), RepSystem::on_pc_attacks_pc(), RepSys_Cfg::OnAttack, and repsys_cfg.

Referenced by apply_raw_damage_hundredths(), attack(), handle_script_cursor(), and set_opponent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::repsys_on_damage ( Character defender) [virtual]

[14] Mobile (MA) Damages Mobile (MB)

Rules are applied based on whether MA is a PC or an NPC.

[14.1] Player (Amy) Damages Mobile (Mob) If Mob is a PC (Bob), Apply 'Player Damages Player' rules[->4] for Amy vs Bob. Else if Mob is an NPC with a Master (Bob), Apply 'Player Damages Player' rules for Amy vs Bob Else if Mob is a Good-aligned NPC, Set Amy's Criminal Flag

Reimplemented in NPC.

Definition at line 863 of file repsys.cpp.

References NPC::alignment(), ExportedFunction::call(), UObject::CLASS_CHARACTER, NpcTemplate::GOOD, RepSys_Cfg::Hooks, is_criminal(), UObject::isa(), make_criminal(), make_ref(), NPC::master(), RepSystem::on_pc_damages_pc(), RepSys_Cfg::OnDamage, and repsys_cfg.

Referenced by apply_raw_damage_hundredths(), attack(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::repsys_on_help ( Character helped) [virtual]

[15] Mobile (MA) Helps Mobile (MB)

Rules are applied based on whether MA is a PC or an NPC.

[15.1] Player (Amy) Helps Mobile (Mob) If Mob is a PC (Bob), Apply 'Player Helps Player' rules[->5] for Amy helps Bob. Else if Mob is an NPC with a Master (Bob), Apply 'Player Helps Player' rules for Amy helps Bob Else if Mob is an Evil-aligned NPC, Set Amy's Criminal Flag

Reimplemented in NPC.

Definition at line 922 of file repsys.cpp.

References NPC::alignment(), ExportedFunction::call(), UObject::CLASS_CHARACTER, NpcTemplate::EVIL, RepSys_Cfg::Hooks, UObject::isa(), make_criminal(), make_ref(), NPC::master(), RepSystem::on_pc_helps_pc(), RepSys_Cfg::OnHelp, and repsys_cfg.

Referenced by handle_script_cursor(), VitalExecutorModule::mf_HealDamage(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2933 of file charactr.cpp.

References OneShotTask::cancel(), dtrace, opponent_, opponent_of, polclock(), ready_to_swing, schedule_attack(), swing_task, and swing_timer_start_clock_.

Referenced by check_attack_after_move(), equip(), face(), move(), set_opponent(), set_warmode(), and unequip().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 703 of file repsys.cpp.

References aggressor_to_.

Referenced by make_aggressor_to(), and RepSystem::on_pc_attacks_pc().

+ Here is the caller graph for this function:

Definition at line 748 of file repsys.cpp.

References criminal_until_, ForEachMobileInRange(), NpcPropagateCriminal(), polclock(), UObject::realm, UObject::x, and UObject::y.

Referenced by make_criminal(), and RepSystem::on_pc_attacks_pc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 723 of file repsys.cpp.

References lawfully_damaged_.

Referenced by make_lawfullydamaged_to(), and RepSystem::on_pc_damages_pc().

+ Here is the caller graph for this function:

void Character::revoke_privilege ( const char *  priv)

Definition at line 1392 of file charactr.cpp.

References privs, refresh_cached_settings(), StringSet::remove(), UObject::set_dirty(), and settings.

Referenced by UOExecutorModule::mf_RevokePrivilege().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::schedule_attack ( ) [private]

Definition at line 2885 of file charactr.cpp.

References UWeapon::delay(), delay_mod_, dexterity(), dtrace, UObject::name(), POLCLOCKS_PER_SEC, UWeapon::speed(), swing_task, swing_task_func(), swing_timer_start_clock_, and weapon.

Referenced by check_attack_after_move(), check_justice_region_change(), reset_swing_timer(), and set_opponent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::schedule_spell ( class USpell spell)

Definition at line 31 of file chrcast.cpp.

References passert, polclock(), and spell_task.

Referenced by do_cast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::script_isa ( unsigned  isatype) const [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 3665 of file uoscrobj.cpp.

References POLCLASS_MOBILE, and UObject::script_isa().

Referenced by move(), NPC::script_isa(), and set_opponent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * Character::script_method ( const char *  methodname,
Executor ex 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 2275 of file uoscrobj.cpp.

References getKnownObjMethod(), ObjMethod::id, and script_method_id().

+ Here is the call graph for this function:

BObjectImp * Character::script_method_id ( const int  id,
Executor ex 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1752 of file uoscrobj.cpp.

References BDictionary::addMember(), all_privs(), attack(), check_region_changes(), check_undamaged(), clear_gotten_item(), clear_reportable(), client, CmdLevel::cmdlevel, cmdlevel, Client::compareVersion(), UOExecutorModule::controller_, String::data(), dead_, deafened_until, DecodeFacing(), die(), face(), find_cmdlevel(), Executor::findModule(), gameclock, ref_ptr< T >::get(), get_attackable_opponent(), getCharacterParam(), Executor::getParam(), Executor::getParamImp(), Executor::getStringParam(), String::getStringRep(), Client::getversiondetail(), gold_carried(), gotten_item, has_privilege(), Executor::hasParams(), is_attackable(), BObjectImp::isa(), ISTRINGSTREAM, last_corpse, lightoverride, lightoverride_until, VersionDetailStruct::major, make_aggressor_to(), make_criminal(), make_lawfullydamaged_to(), make_murderer(), manual_set_swing_timer(), MTH_ATTACK_ONCE, MTH_CLEARAGGRESSORTO, MTH_CLEARGOTTENITEM, MTH_CLEARLAWFULLYDAMAGEDTO, MTH_COMPAREVERSION, MTH_DEAF, MTH_DISABLE, MTH_ENABLE, MTH_ENABLED, MTH_GETCORPSE, MTH_GETGOTTENITEM, MTH_KILL, MTH_PRIVILEGES, MTH_REMOVEREPORTABLE, MTH_SET_SWINGTIMER, MTH_SETAGGRESSORTO, MTH_SETCMDLEVEL, MTH_SETCRIMINAL, MTH_SETFACING, MTH_SETLAWFULLYDAMAGEDTO, MTH_SETLIGHTLEVEL, MTH_SETMURDERER, MTH_SETPARALYZED, MTH_SETPOISONED, MTH_SETSEASON, MTH_SETWARMODE, MTH_SPENDGOLD, MTH_SQUELCH, Executor::numParams(), on_facing_changed(), on_poison_changed(), UObject::orphan(), BObjectImp::OTLong, BObjectImp::OTString, paralyzed_, Executor::paramAsString(), PKTIN_02_FACING_MASK, poisoned, POLCLOCKS_PER_SEC, read_gameclock(), remove_as_aggressor_to(), remove_as_lawful_damager(), repsys_on_damage(), repsys_on_help(), UObject::script_method_id(), PktHelper::PacketOut< T >::Send(), send_warmode(), UObject::serial, UObject::set_dirty(), set_setting(), set_warmode(), setting_enabled(), spend_gold(), squelched_until, system_find_item(), BLong::value(), warmode, and PacketWriterDefs::PacketWriter< _id, _size, _sub >::Write().

Referenced by script_method(), and NPC::script_method_id().

+ Here is the caller graph for this function:

Item * Character::search_remote_containers ( u32  serial,
bool *  isRemoteContainer 
) const

Definition at line 4107 of file charactr.cpp.

References UObject::CLASS_CONTAINER, UObject::isa(), UObject::orphan(), remote_containers_, and UObject::serial.

Referenced by find_legal_container(), find_legal_item(), and Realm::has_los().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::select_opponent ( u32  serial)

Definition at line 3148 of file charactr.cpp.

References find_character(), opponent_, UObject::realm, UObject::serial, and set_opponent().

Referenced by handle_attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 2141 of file charactr.cpp.

References client, PacketWriterDefs::PacketInterface::offset, PktHelper::PacketOut< T >::Send(), warmode, and PacketWriterDefs::PacketWriter< _id, _size, _sub >::Write().

Referenced by on_death(), resurrect(), script_method_id(), and start_client_char().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 4322 of file charactr.cpp.

References attribute(), attributes, AttributeValue::cap(), Attribute::default_cap, and numAttributes.

Referenced by Character().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_current ( const Vital pVital,
VitalValue vv,
unsigned int  ones 
)

Definition at line 1728 of file charactr.cpp.

References VitalValue::current(), UObject::set_dirty(), and ClientInterface::tell_vital_changed().

Referenced by VitalExecutorModule::mf_SetVital().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_current_ones ( const Vital pVital,
VitalValue vv,
unsigned int  ones 
)

Definition at line 1721 of file charactr.cpp.

References VitalValue::current_ones(), UObject::set_dirty(), and ClientInterface::tell_vital_changed().

Referenced by die(), and resurrect().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_dexterity ( u16  dexterity)
void Character::set_intelligence ( u16  intelligence)

Definition at line 854 of file party.cpp.

References party_can_loot_.

Referenced by handle_loot_perm().

+ Here is the caller graph for this function:

Definition at line 879 of file party.cpp.

References OneShotTask::cancel(), Party_Cfg::DeclineTimeout, Party_Cfg::General, invite_timeout(), party_decline_timeout_, polclock(), and POLCLOCKS_PER_SEC.

Referenced by add_candidate(), and EPartyRefObjImp::call_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_privs ( const std::string &  privlist)

Definition at line 1377 of file charactr.cpp.

References privs, StringSet::readfrom(), and UObject::set_dirty().

Referenced by ClientCreateChar(), ClientCreateChar70160(), and ClientCreateCharKR().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_raw_skill ( USKILLID  skillid,
unsigned int  raw_value 
)
BObjectImp * Character::set_script_member ( const char *  membername,
const std::string &  value 
) [virtual]

id test

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1553 of file uoscrobj.cpp.

References getKnownObjMember(), ObjMember::id, and set_script_member_id().

+ Here is the call graph for this function:

BObjectImp * Character::set_script_member ( const char *  membername,
int  value 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1743 of file uoscrobj.cpp.

References getKnownObjMember(), ObjMember::id, and set_script_member_id().

+ Here is the call graph for this function:

BObjectImp * Character::set_script_member_id ( const int  id,
const std::string &  value 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1531 of file uoscrobj.cpp.

References has_active_client(), UObject::increv(), MBR_TITLE_GUILD, MBR_TITLE_PREFIX, MBR_TITLE_RACE, MBR_TITLE_SUFFIX, send_object_cache_to_inrange(), UObject::set_dirty(), UObject::set_script_member_id(), title_guild, title_prefix, title_race, and title_suffix.

Referenced by set_script_member(), and NPC::set_script_member_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * Character::set_script_member_id ( const int  id,
int  value 
) [virtual]

Reimplemented from UObject.

Reimplemented in NPC.

Definition at line 1562 of file uoscrobj.cpp.

References ar_mod(), UObject::CLASS_NPC, cmdlevel, cmdlevels2, Resistances_Mods::cold, ElementDamages_Mods::cold, concealed_, delay_mod_, UObject::element_damage_mod, UObject::element_resist_mod, Resistances_Mods::energy, ElementDamages_Mods::energy, evasionchance_mod_, expanded_statbar, face(), Resistances_Mods::fire, ElementDamages_Mods::fire, Expanded_Statbar::followers, Expanded_Statbar::followers_max, frozen_, gender, GENDER_FEMALE, GENDER_MALE, hidden_, hitchance_mod_, UObject::isa(), Expanded_Statbar::luck, MBR_AR_MOD, MBR_CMDLEVEL, MBR_COLD_DAMAGE_MOD, MBR_COLD_RESIST_MOD, MBR_CONCEALED, MBR_DELAY_MOD, MBR_ENERGY_DAMAGE_MOD, MBR_ENERGY_RESIST_MOD, MBR_EVASIONCHANCE_MOD, MBR_FACING, MBR_FIRE_DAMAGE_MOD, MBR_FIRE_RESIST_MOD, MBR_FOLLOWERS, MBR_FOLLOWERSMAX, MBR_FROZEN, MBR_GENDER, MBR_HIDDEN, MBR_HITCHANCE_MOD, MBR_LUCK, MBR_MOUNTEDSTEPS, MBR_MOVECOST_RUN, MBR_MOVECOST_RUN_MOUNTED, MBR_MOVECOST_WALK, MBR_MOVECOST_WALK_MOUNTED, MBR_MURDERER, MBR_PARALYZED, MBR_PHYSICAL_DAMAGE_MOD, MBR_PHYSICAL_RESIST_MOD, MBR_POISON_DAMAGE_MOD, MBR_POISON_RESIST_MOD, MBR_POISONED, MBR_RACE, MBR_SKILLCAP, MBR_STATCAP, MBR_STEALTHSTEPS, MBR_TITHING, MBR_TRUECOLOR, MBR_TRUEOBJTYPE, mountedsteps_, movement_cost, movemode, MOVEMODE_FLY, murderer_, on_aos_ext_stat_changed(), HiddenUpdater::on_change(), ConcealedUpdater::on_change(), on_facing_changed(), on_poison_changed(), paralyzed_, Resistances_Mods::physical, ElementDamages_Mods::physical, PKTIN_02_FACING_MASK, Resistances_Mods::poison, ElementDamages_Mods::poison, poisoned, race, RACE_ELF, RACE_GARGOYLE, RACE_HUMAN, refresh_ar(), MovementCost_Mod::run, MovementCost_Mod::run_mounted, UObject::set_script_member_id(), skillcap_, Expanded_Statbar::statcap, stealthsteps_, Expanded_Statbar::tithing, truecolor, trueobjtype, MovementCost_Mod::walk, and MovementCost_Mod::walk_mounted.

+ Here is the call graph for this function:

void Character::set_setting ( const char *  setting,
bool  value 
)

Definition at line 1356 of file charactr.cpp.

References StringSet::add(), has_privilege(), refresh_cached_settings(), StringSet::remove(), UObject::set_dirty(), and settings.

Referenced by script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::set_stealthsteps ( unsigned short  newval)

Definition at line 3710 of file charactr.cpp.

References stealthsteps_.

Referenced by HiddenUpdater::on_change().

+ Here is the caller graph for this function:

void Character::set_strength ( u16  strength)

Definition at line 1815 of file charactr.cpp.

References VitalValue::current(), VitalValue::maximum(), numVitals, UObject::set_dirty(), ClientInterface::tell_vital_changed(), vital(), and vitals.

Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), and NPC::readPropertiesForNewNPC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::setfacing ( u8  newfacing) [virtual]

Implements UObject.

Definition at line 1895 of file charactr.cpp.

References UObject::facing.

Referenced by CustomHousingMove(), and face().

+ Here is the caller graph for this function:

bool Character::setgraphic ( u16  newobjtype) [virtual]

Reimplemented from UObject.

Definition at line 1827 of file charactr.cpp.

References Client::chr, client, UObject::graphic, send_create_mobile_to_nearby_cansee(), send_goxyz(), send_remove_character_to_nearby_cansee(), and UObject::set_dirty().

+ Here is the call graph for this function:

bool Character::setting_enabled ( const char *  setting) const

Definition at line 1276 of file charactr.cpp.

References cached_settings, StringSet::contains(), and settings.

Referenced by TargetCursor::handle_target_cursor(), refresh_cached_settings(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::showarmor ( ) const

Definition at line 2727 of file charactr.cpp.

References armor_, armorzones, client, and send_sysmessage().

Referenced by textcmd_listarmor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::skill_ex_active ( ) const [inline]

Definition at line 925 of file charactr.h.

References script_ex.

Referenced by CanUseSkill(), do_cast(), Item::double_click(), and UOExecutorModule::mf_UseItem().

+ Here is the caller graph for this function:

Spellbook * Character::spellbook ( u8  school) const

Definition at line 1458 of file charactr.cpp.

References backpack(), UContainer::begin(), UContainer::end(), GET_ITEM_PTR, LAYER_HAND1, POLCLASS_SPELLBOOK, Item::script_isa(), Spellbook::spell_school, and wornitem().

+ Here is the call graph for this function:

void Character::spend_gold ( unsigned int  amount)

Definition at line 1498 of file charactr.cpp.

References backpack(), client, UContainer::consume_sumof_objtype_noninuse(), gold_carried(), passert, send_full_statmsg(), and UOBJ_GOLD_COIN.

Referenced by oldBuyHandler(), and script_method_id().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::squelched ( ) const

Definition at line 4158 of file charactr.cpp.

References read_gameclock(), and squelched_until.

Referenced by get_script_member_id(), handle_processed_speech(), NPCExecutorModule::say(), NPCExecutorModule::SayUC(), SendUnicodeSpeech(), and singleclick().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::start_itemuse_script ( EScriptProgram prog,
Item item,
bool  start_attached 
)

Definition at line 77 of file chrituse.cpp.

References start_script().

Referenced by Item::double_click(), and UOExecutorModule::mf_UseItem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 23 of file chrskuse.cpp.

References start_script().

Referenced by StartSkillScript().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::start_spell_script ( EScriptProgram prog,
USpell spell 
)

Definition at line 26 of file chrcast.cpp.

References USpell::spell_id(), and start_script().

Referenced by USpell::cast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::stop_skill_script ( ) [private]

Definition at line 728 of file charactr.cpp.

References deschedule_executor(), passert, and script_ex.

Referenced by destroy(), and disconnect_cleanup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 4199 of file charactr.cpp.

References attribute(), Attribute::attrid, AttributeValue::effective(), and pAttrStrength.

Referenced by attack(), and carrying_capacity().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::strong_enough_to_equip ( const Item item) const

Definition at line 1532 of file charactr.cpp.

References attribute(), Attribute::attrid, AttributeValue::base(), ItemDesc::base_str_req, find_itemdesc(), UObject::objtype_, and pAttrStrength.

Referenced by equip_item().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Character::swing_task_func ( Character chr) [static, private]

Definition at line 2876 of file charactr.cpp.

References check_attack_after_move(), dtrace, ready_to_swing, and THREAD_CHECKPOINT.

Referenced by manual_set_swing_timer(), and schedule_attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char * Character::target_tag ( ) const [virtual]

Reimplemented from UObject.

Definition at line 4317 of file charactr.cpp.

void Character::unequip ( Item item)

Definition at line 1632 of file charactr.cpp.

References Item::container, intrinsic_weapon(), is_equipped(), passert, refresh_ar(), WornItemsContainer::RemoveItemFromLayer(), reset_swing_timer(), shield, valid_equip_layer(), weapon, and wornitems.

Referenced by die(), Item::extricate(), and resurrect().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Character::valid_equip_layer ( const Item item) [static]

Definition at line 1527 of file charactr.cpp.

References HIGHEST_LAYER, and Item::tile_layer.

Referenced by equippable(), is_equipped(), and unequip().

+ Here is the caller graph for this function:

VitalValue& Character::vital ( unsigned  vitalid) [inline]

Definition at line 856 of file charactr.h.

References passert, and vitals.

Definition at line 3246 of file charactr.cpp.

References UWeapon::anim(), UWeapon::mounted_anim(), on_mount(), and weapon.

Referenced by do_attack_effects().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 3204 of file charactr.cpp.

References UWeapon::attribute(), attribute(), Attribute::attrid, and weapon.

Referenced by attack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int Character::weight ( ) const [virtual]

A Mobile's weight is 10 stones + the weight of their equipment.

Implements UObject.

Definition at line 748 of file charactr.cpp.

References ref_ptr< T >::get(), gotten_item, trading_cont, UContainer::weight(), Item::weight(), and wornitems.

Referenced by move(), and send_full_statmsg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Item * Character::wornitem ( int  layer) const

Definition at line 1509 of file charactr.cpp.

References WornItemsContainer::GetItemOnLayer(), and wornitems.

Referenced by character_race_changer_handler(), handle_open_spellbook(), hands_are_free(), knows_spell(), UOExecutorModule::mf_GetEquipmentByLayer(), UOExecutorModule::mf_ListEquippedItems(), send_owncreate(), and spellbook().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Friends And Related Function Documentation

void ClientCreateChar ( Client client,
struct PKTIN_00 msg 
) [friend]

Definition at line 211 of file create.cpp.

void ClientCreateChar70160 ( Client client,
struct PKTIN_F8 msg 
) [friend]

Definition at line 948 of file create.cpp.

void ClientCreateCharKR ( Client client,
struct PKTIN_8D msg 
) [friend]

Definition at line 598 of file create.cpp.

void createchar2 ( Account acct,
unsigned  index 
) [friend]

Definition at line 573 of file create.cpp.

void handle_script_cursor ( Character chr,
UObject obj 
) [friend]

Definition at line 726 of file uomod.cpp.

void menu_selection_made ( Client client,
class MenuItem mi,
struct PKTIN_7D msg 
) [friend]

Definition at line 1548 of file uomod.cpp.

friend class RepSystem [friend]

Reimplemented in NPC.

Definition at line 486 of file charactr.h.

void undo_get_item ( Character chr,
Item item 
) [friend]

Definition at line 271 of file getitem.cpp.

Referenced by clear_gotten_item().

friend class UOExecutorModule [friend]

Definition at line 637 of file charactr.h.

Referenced by run_hit_script(), NPC::start_script(), and start_script().

void write_characters ( class SaveContext sc) [friend]

Definition at line 917 of file uimport.cpp.


Member Data Documentation

Definition at line 771 of file charactr.h.

unsigned short Character::ar_ [protected]

Definition at line 745 of file charactr.h.

Referenced by NPC::ar(), ar(), NPC::refresh_ar(), and refresh_ar().

s16 Character::ar_mod_ [protected]

Definition at line 746 of file charactr.h.

Referenced by ar_mod().

vector<UArmor*> Character::armor_ [protected]

Definition at line 753 of file charactr.h.

Referenced by choose_armor(), NPC::refresh_ar(), refresh_ar(), and showarmor().

Definition at line 786 of file charactr.h.

Definition at line 789 of file charactr.h.

Definition at line 828 of file charactr.h.

Referenced by candidate_of(), and get_script_member_id().

Definition at line 647 of file charactr.h.

Referenced by UHouse::AcceptHouseCommit(), add_candidate(), attack(), BPacket::call_method_id(), AccountObjImp::call_method_id(), EPartyRefObjImp::call_method_id(), can_face(), cancel_menu(), cancel_trade(), USpell::cast(), char_select(), check_attack_after_move(), check_justice_region_change(), check_light_region_change(), check_music_region_change(), check_region_changes(), check_weather_region_change(), clear_gotten_item(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), CustomHousesAddMulti(), CustomHousesClear(), CustomHousesErase(), UHouse::CustomHousesQuit(), CustomHousesRestore(), CustomHousesRevert(), CustomHousesRoofRemove(), CustomHousesSelectFloor(), CustomHousesSendFullToInRange(), CustomHousesSynch(), CustomHouseStopEditing(), CustomHousingMove(), PrivUpdater::disable_invul(), PrivUpdater::disable_see_ghosts(), PrivUpdater::disable_see_hidden(), PrivUpdater::disable_see_invis_items(), Party::disband(), do_open_trade_window(), do_place_item_in_secure_trade_container(), PrivUpdater::enable_invul(), PrivUpdater::enable_see_ghosts(), PrivUpdater::enable_see_hidden(), PrivUpdater::enable_see_invis_items(), UHouse::FindWorkingHouse(), get_script_member_id(), handle_add_member_cursor(), handle_attack(), handle_coord_cursor(), handle_decline_invite(), handle_delete_character(), handle_ident_cursor(), handle_remove(), handle_remove_member_cursor(), handle_script_cursor(), TargetCursor::handle_target_cursor(), has_active_client(), has_active_gump(), has_active_prompt(), UOExecutorModule::internal_MoveCharacter(), UOExecutorModule::internal_SendCompressedGumpMenu(), UOExecutorModule::internal_SendUnCompressedGumpMenu(), invite_timeout(), is_house_editing(), make_aggressor_to(), make_criminal(), make_lawfullydamaged_to(), make_murderer(), menu_selection_made(), UOExecutorModule::mf_CloseGump(), UOExecutorModule::mf_CloseWindow(), VitalExecutorModule::mf_ConsumeMana(), PartyExecutorModule::mf_CreateParty(), UOExecutorModule::mf_DisconnectClient(), UOExecutorModule::mf_GetRegionName(), UOExecutorModule::mf_MoveItemToSecureTradeWin(), UOExecutorModule::mf_OpenPaperdoll(), OSExecutorModule::mf_OpenURL(), UOExecutorModule::mf_PlayMusic(), UOExecutorModule::mf_PromptInput(), UnicodeExecutorModule::mf_RequestInputUC(), UOExecutorModule::mf_SecureTradeWin(), UOExecutorModule::mf_SelectColor(), UOExecutorModule::mf_SelectMenuItem(), UOExecutorModule::mf_SendBuyWindow(), UOExecutorModule::mf_SendCharacterRaceChanger(), UOExecutorModule::mf_SendGumpMenu(), UOExecutorModule::mf_SendHousingTool(), UOExecutorModule::mf_SendInstaResDialog(), UOExecutorModule::mf_SendOpenBook(), UOExecutorModule::mf_SendOpenSpecialContainer(), UOExecutorModule::mf_SendPacket(), UOExecutorModule::mf_SendQuestArrow(), UOExecutorModule::mf_SendSellWindow(), UOExecutorModule::mf_SendSkillWindow(), UOExecutorModule::mf_SendStatus(), UOExecutorModule::mf_SendStringAsTipWindow(), UOExecutorModule::mf_SendSysMessage(), ClilocExecutorModule::mf_SendSysMessageCL(), UnicodeExecutorModule::mf_SendSysMessageUC(), UOExecutorModule::mf_SendTextEntryGump(), UOExecutorModule::mf_SendViewContainer(), UOExecutorModule::mf_Target(), UOExecutorModule::mf_TargetCancel(), UOExecutorModule::mf_TargetCoordinates(), UOExecutorModule::mf_TargetMultiPlacement(), UOExecutorModule::mf_UpdateMobile(), UOExecutorModule::mf_UseItem(), move_character_to(), UBoat::move_travellers(), on_aos_ext_stat_changed(), HiddenUpdater::on_change(), ConcealedUpdater::on_change(), PrivUpdater::on_change_invul(), PrivUpdater::on_change_see_ghosts(), PrivUpdater::on_change_see_hidden(), PrivUpdater::on_change_see_invis_items(), on_color_changed(), on_death(), on_facing_changed(), on_loggon_party(), Party::on_mana_changed(), RepSystem::on_pc_attacks_pc(), on_poison_changed(), Party::on_stam_changed(), LosCheckedTargetCursor::on_target_cursor(), NoLosCheckedTargetCursor::on_target_cursor(), open_trade_window(), place_item_in_secure_trade_container(), play_sound_effect_private(), Client::PreDelete(), private_say_above(), private_say_above_cl(), private_say_above_cl_affix(), private_say_above_ex(), realm_changed(), refresh_ar(), remove_as_aggressor_to(), remove_as_lawful_damager(), RepSystem::repsys_task(), resurrect(), return_traded_items(), UHouse::script_method_id(), script_method_id(), send_attributes_normalized(), send_damage(), send_empty_party(), send_highlight(), send_invite(), Party::send_member_list(), Party::send_member_msg_private(), Party::send_member_msg_public(), Party::send_msg_to_all(), Party::send_remove_member(), Party::send_stat_to(), Party::send_stats_on_add(), send_trade_statuses(), send_update_hits_to_inrange(), send_warmode(), sendCharProfile(), setgraphic(), show_repdata(), showarmor(), USpell::speak_power_words(), spend_gold(), start_packetlog(), OSExecutorModule::start_skill_script(), stop_packetlog(), target_cursor_busy(), ClientInterface::tell_attribute_changed(), ClientInterface::tell_vital_changed(), UBoat::turn_travellers(), unhide(), Guild::update_online_members(), Guild::update_online_members_remove(), UpdateCharacterWeight(), Realm::walkheight(), Account::~Account(), ~Character(), UnicodeExecutorModule::~UnicodeExecutorModule(), and UOExecutorModule::~UOExecutorModule().

Definition at line 775 of file charactr.h.

Definition at line 674 of file charactr.h.

Referenced by doubleclick().

Definition at line 781 of file charactr.h.

gameclock_t Character::deafened_until [mutable, protected]

Definition at line 807 of file charactr.h.

Referenced by deafened(), printProperties(), readCommonProperties(), and script_method_id().

Definition at line 747 of file charactr.h.

Referenced by get_script_member_id(), schedule_attack(), and set_script_member_id().

Definition at line 663 of file charactr.h.

Referenced by disable_regeneration_for().

Definition at line 749 of file charactr.h.

Referenced by attack(), get_script_member_id(), and set_script_member_id().

Definition at line 785 of file charactr.h.

Definition at line 784 of file charactr.h.

Definition at line 680 of file charactr.h.

Referenced by get_item(), and undo_get_item().

Definition at line 671 of file charactr.h.

Referenced by Character(), NPC::could_move(), move(), and move_character_to().

Definition at line 826 of file charactr.h.

Referenced by get_script_member_id(), guild(), guildid(), and readCommonProperties().

Definition at line 779 of file charactr.h.

Definition at line 787 of file charactr.h.

Definition at line 748 of file charactr.h.

Referenced by attack(), get_script_member_id(), and set_script_member_id().

Definition at line 783 of file charactr.h.

Referenced by UOExecutorModule::mf_Resurrect().

Definition at line 782 of file charactr.h.

unsigned int Character::mountedsteps_ [protected]

Definition at line 772 of file charactr.h.

Definition at line 773 of file charactr.h.

Definition at line 829 of file charactr.h.

Referenced by offline_mem_of().

Definition at line 827 of file charactr.h.

Referenced by get_script_member_id(), and party().

Definition at line 788 of file charactr.h.

vector< ItemRef > Character::remote_containers_ [protected]

Definition at line 765 of file charactr.h.

Referenced by add_remote_container(), mightsee(), move(), and search_remote_containers().

Definition at line 774 of file charactr.h.

Definition at line 790 of file charactr.h.

Definition at line 778 of file charactr.h.

Definition at line 777 of file charactr.h.

Definition at line 780 of file charactr.h.

Definition at line 791 of file charactr.h.

Definition at line 802 of file charactr.h.

Referenced by casting_spell(), and schedule_spell().

Definition at line 806 of file charactr.h.

Referenced by printProperties(), readCommonProperties(), script_method_id(), and squelched().

unsigned short Character::stealthsteps_ [protected]

Definition at line 761 of file charactr.h.

Referenced by face(), get_script_member_id(), move(), set_script_member_id(), and set_stealthsteps().

std::string Character::uclang

Definition at line 685 of file charactr.h.

Referenced by get_script_member_id(), handle_msg_BF(), and readCommonProperties().

Definition at line 683 of file charactr.h.

Referenced by calc_vital_stuff(), set_vitals_to_maximum(), and vital().

Definition at line 333 of file charactr.h.

Referenced by handle_mode_set().

Definition at line 742 of file charactr.h.


The documentation for this class was generated from the following files: