|
Pol
Rev 533
|
#include <charactr.h>
Inheritance diagram for Character:
Collaboration diagram for Character:Definition at line 268 of file charactr.h.
typedef UObject Character::base [private] |
Reimplemented in NPC.
Definition at line 270 of file charactr.h.
| typedef set<Character*> Character::CharacterSet |
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.
| anonymous enum |
Definition at line 660 of file charactr.h.
| anonymous enum |
Definition at line 677 of file charactr.h.
| Character::Character | ( | u32 | objtype, |
| UOBJ_CLASS | uobj_class = CLASS_CHARACTER |
||
| ) | [explicit] |
Definition at line 472 of file charactr.cpp.
References WornItemsContainer::chr_owner, Expanded_Statbar::dmg_max, Expanded_Statbar::dmg_min, expanded_statbar, Expanded_Statbar::followers, Expanded_Statbar::followers_max, gradual_boost, UObject::height, load_default_elements(), Expanded_Statbar::luck, PLAYER_CHARACTER_HEIGHT, refresh_cached_settings(), set_caps_to_default(), WornItemsContainer::SetInitialSize(), Expanded_Statbar::statcap, Expanded_Statbar::tithing, ucharacter_count, and wornitems.
Here is the call graph for this function:| Character::~Character | ( | ) | [virtual] |
Definition at line 594 of file charactr.cpp.
References acct, Account::active_character, OneShotTask::cancel(), PolConfig::character_slots, Client::chr, ref_ptr< T >::clear(), Account::clear_character(), client, config, UContainer::destroy(), ref_ptr< T >::get(), Account::get_character(), party_decline_timeout_, removal_cleanup(), repsys_task_, ucharacter_count, and wornitems.
Here is the call graph for this function:| Character::Character | ( | const Character & | ) | [private] |
| void Character::add_remote_container | ( | Item * | item | ) |
Definition at line 4102 of file charactr.cpp.
References remote_containers_.
Referenced by UOExecutorModule::mf_SendOpenSpecialContainer().
Here is the caller graph for this function:| void Character::add_to_be_reportable | ( | u32 | serial | ) |
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] |
Reimplemented in NPC.
Definition at line 1920 of file charactr.cpp.
References cached_settings, consume(), VitalValue::current(), dead(), die(), disable_regeneration_for(), hidden(), paralyzed_, pVitalLife, repsys_on_attack(), repsys_on_damage(), send_damage(), send_update_hits_to_inrange(), UObject::set_dirty(), unhide(), vital(), and Vital::vitalid.
Referenced by apply_damage(), NPC::apply_raw_damage_hundredths(), and VitalExecutorModule::mf_ApplyRawDamage().
Here is the call graph for this function:
Here is the caller graph for this function:| 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] |
Definition at line 914 of file charactr.h.
References ar_mod_.
Referenced by NPC::armor_absorb_damage(), armor_absorb_damage(), NPC::get_hitscript_params(), get_hitscript_params(), get_script_member_id(), NPC::refresh_ar(), refresh_ar(), and set_script_member_id().
Here is the caller graph for this function:| 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:| void Character::attack | ( | Character * | opponent | ) |
Definition at line 3322 of file charactr.cpp.
References apply_damage(), UArmor::ar(), SystemHooks::attack_hook, attribute(), Attribute::attrid, backpack(), ExportedFunction::call(), client, Watch::combat, SystemHooks::combat_advancement_hook, combat_config, UWeapon::consume_projectile(), damage_weapon(), CombatConfig::display_parry_success_messages, do_attack_effects(), do_hit_failure_effects(), do_hit_success_effects(), AttributeValue::effective(), ScriptDef::empty(), evasionchance_mod_, WornItemsContainer::GetItemOnLayer(), UWeapon::hit_script(), hitchance_mod_, SystemHooks::hitmiss_hook, INC_PROFILEVAR, UWeapon::is_projectile(), LAYER_BACKPACK, LAYER_BEARD, LAYER_EQUIP__HIGHEST, LAYER_EQUIP__LOWEST, LAYER_FACE, LAYER_HAIR, LAYER_MOUNT, UObject::name(), on_swing_failure(), SystemHooks::parry_advancement_hook, pAttrParry, pAttrTactics, POLCLASS_CONTAINER, random_float(), random_weapon_damage(), repsys_on_attack(), repsys_on_damage(), run_hit_script(), Item::script_isa(), CombatConfig::send_damage_packet, send_sysmessage(), shield, strength(), system_hooks, watch, weapon, weapon_attribute(), and wornitems.
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:| const AttributeValue& Character::attribute | ( | unsigned | attrid | ) | const [inline] |
Definition at line 838 of file charactr.h.
References attributes, and passert.
Referenced by attack(), calc_single_attribute(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), dexterity(), equippable(), ext_stats_in(), handle_skill_lock(), intelligence(), AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), AttributeExecutorModule::mf_GetAttribute(), AttributeExecutorModule::mf_GetAttributeBaseValue(), AttributeExecutorModule::mf_GetAttributeCap(), AttributeExecutorModule::mf_GetAttributeIntrinsicMod(), AttributeExecutorModule::mf_GetAttributeLock(), AttributeExecutorModule::mf_GetAttributeTemporaryMod(), AttributeExecutorModule::mf_SetAttributeBaseValue(), AttributeExecutorModule::mf_SetAttributeCap(), AttributeExecutorModule::mf_SetAttributeLock(), AttributeExecutorModule::mf_SetAttributeTemporaryMod(), printProperties(), readAttributesAndVitals(), NPC::readNewNpcAttributes(), NPC::refresh_ar(), refresh_ar(), send_full_statmsg(), send_skillmsg(), send_stat_locks(), send_uo_skill(), set_caps_to_default(), strength(), strong_enough_to_equip(), and weapon_attribute().
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 | ||
| ) |
| UContainer * Character::backpack | ( | ) | const |
Definition at line 1453 of file charactr.cpp.
References WornItemsContainer::GetItemOnLayer(), LAYER_BACKPACK, and wornitems.
Referenced by attack(), buyhandler(), USpell::consume_reagents(), NPCExecutorModule::CreateItem(), die(), drop_item_on_object(), equip_loaded_item(), find_legal_container(), find_legal_item(), get_script_member_id(), gold_carried(), handle_open_spellbook(), knows_spell(), UOExecutorModule::mf_CreateItemInBackpack(), UOExecutorModule::mf_SendSellWindow(), oldBuyHandler(), oldSellHandler(), return_traded_items(), sellhandler(), spellbook(), spend_gold(), undo_get_item(), and ItemGivenEvent::~ItemGivenEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| s16 Character::calc_element_damage | ( | unsigned | element | ) | const |
Definition at line 2714 of file charactr.cpp.
References ElementDamages::cold, ElementDamages_Mods::cold, UObject::element_damage, UObject::element_damage_mod, ELEMENTAL_COLD, ELEMENTAL_ENERGY, ELEMENTAL_FIRE, ELEMENTAL_PHYSICAL, ELEMENTAL_POISON, ElementDamages::energy, ElementDamages_Mods::energy, ElementDamages::fire, ElementDamages_Mods::fire, ElementDamages::physical, ElementDamages_Mods::physical, ElementDamages::poison, and ElementDamages_Mods::poison.
| s16 Character::calc_element_resist | ( | unsigned | resist | ) | const |
Definition at line 2701 of file charactr.cpp.
References Resistances::cold, Resistances_Mods::cold, UObject::element_resist, UObject::element_resist_mod, ELEMENTAL_COLD, ELEMENTAL_ENERGY, ELEMENTAL_FIRE, ELEMENTAL_PHYSICAL, ELEMENTAL_POISON, Resistances::energy, Resistances_Mods::energy, Resistances::fire, Resistances_Mods::fire, Resistances::physical, Resistances_Mods::physical, Resistances::poison, and Resistances_Mods::poison.
| void Character::calc_single_attribute | ( | const Attribute * | pAttr | ) |
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_single_vital | ( | const Vital * | pVital | ) |
Definition at line 1768 of file charactr.cpp.
References ExportedFunction::call_long(), VitalValue::current_ones(), Vital::get_maximum_func, Vital::get_regenrate_func, VitalValue::maximum(), VitalValue::maximum_ones(), VitalValue::regenrate(), ClientInterface::tell_vital_changed(), vital(), VITAL_HIGHEST_MAX_HUNDREDTHS, VITAL_HIGHEST_REGENRATE, VITAL_LOWEST_MAX_HUNDREDTHS, VITAL_LOWEST_REGENRATE, and Vital::vitalid.
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:| bool Character::can_be_heard_as_ghost | ( | ) | const |
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 1400 of file charactr.cpp.
References cached_settings, Item::movable(), UObject::objtype_, and UOBJ_CORPSE.
Referenced by get_from_ground(), get_item(), UOExecutorModule::internal_MoveItem(), UOExecutorModule::mf_EquipItem(), UOExecutorModule::mf_MoveItemToContainer(), UOExecutorModule::mf_MoveItemToSecureTradeWin(), readdynamics(), and send_item().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::can_moveanydist | ( | ) | 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:| void Character::cancel_menu | ( | ) |
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:| Party * Character::candidate_of | ( | ) | const |
Definition at line 859 of file party.cpp.
References candidate_of_.
Referenced by add_candidate(), EPartyRefObjImp::call_method_id(), Party::disband(), handle_accept_invite(), handle_decline_invite(), invite_timeout(), and PartyExecutorModule::mf_CreateParty().
Here is the caller graph for this function:| void Character::candidate_of | ( | Party * | c | ) |
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:| void Character::check_attack_after_move | ( | ) |
Definition at line 3460 of file charactr.cpp.
References attack(), CombatConfig::attack_while_frozen, client, combat_config, dead_, dtrace, frozen(), FUNCTION_CHECKPOINT, get_attackable_opponent(), paralyzed(), ready_to_swing, reset_swing_timer(), schedule_attack(), send_fight_occuring(), and CombatConfig::send_swing_packet.
Referenced by _check_attack(), swing_task_func(), and tellmove().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::check_concealment_level | ( | ) |
Definition at line 2781 of file charactr.cpp.
References cmdlevel, and concealed_.
Definition at line 3532 of file charactr.cpp.
References OneShotTask::cancel(), Client::chr, clear_opponent_of(), client, JusticeRegion::entertext(), Client::gd, get_opponent(), RegionGroup< T >::getregion(), ClientGameData::justice_region, justicedef, JusticeRegion::leavetext(), opponent_, opponent_of, UObject::realm, JusticeRegion::RunEnterScript(), JusticeRegion::RunLeaveScript(), JusticeRegion::RunNoCombatCheck(), schedule_attack(), send_sysmessage(), set_opponent(), swing_task, 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:| void Character::check_light_region_change | ( | ) |
Definition at line 3499 of file charactr.cpp.
References client, ServSpecOpt::default_light_level, Client::gd, RegionGroup< T >::getregion(), lightdef, LightRegion::lightlevel, ClientGameData::lightlevel, WeatherRegion::lightoverride, lightoverride, lightoverride_until, read_gameclock(), UObject::realm, send_light(), ssopt, ClientGameData::weather_region, UObject::x, and UObject::y.
Referenced by check_region_changes(), check_weather_change(), move_character_to(), update_lightregion(), and update_weatherregion().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::check_music_region_change | ( | ) |
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:| void Character::check_region_changes | ( | ) |
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:| void Character::check_undamaged | ( | ) |
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:| void Character::check_weather_region_change | ( | bool | force = false | ) |
Definition at line 3622 of file charactr.cpp.
References WeatherRegion::aux, client, Client::gd, RegionGroup< T >::getregion(), ClientGameData::lightlevel, WeatherRegion::lightoverride, lightoverride, UObject::realm, send_light(), send_weather(), WeatherRegion::severity, ClientGameData::weather_region, weatherdef, WeatherRegion::weathertype, UObject::x, and UObject::y.
Referenced by check_region_changes(), check_weather_change(), start_client_char(), and update_weatherregion().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::CheckPushthrough | ( | ) |
Definition at line 4025 of file charactr.cpp.
References ObjArray::addElement(), cached_settings, ExportedFunction::call(), Zone::characters, dead(), UObject::facing, hidden(), is_visible_to_me(), make_mobileref(), SystemHooks::pushthrough_hook, UObject::realm, system_hooks, UObject::x, MoveDelta::xmove, UObject::y, MoveDelta::ymove, UObject::z, Realm::zone, and zone_convert_clip().
Referenced by move().
Here is the call graph for this function:
Here is the caller graph for this function:| UArmor * Character::choose_armor | ( | ) | const |
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] |
| void Character::clear_criminal_timer | ( | ) |
Definition at line 761 of file repsys.cpp.
References criminal_until_.
Referenced by make_criminal().
Here is the caller graph for this function:| void Character::clear_gotten_item | ( | ) |
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:| void Character::clear_my_aggressors | ( | ) |
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:| void Character::clear_my_lawful_damagers | ( | ) |
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:| void Character::clear_opponent_of | ( | ) |
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:| void Character::clear_to_be_reportables | ( | ) |
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:| void Character::commit_to_reportables | ( | ) |
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::concealed | ( | ) | const [inline] |
Definition at line 894 of file charactr.h.
References concealed_.
Referenced by UOExecutorModule::mf_ListHostiles(), UOExecutorModule::mf_ListMobilesInLineOfSight(), UOExecutorModule::mf_ListMobilesNearLocation(), UOExecutorModule::mf_ListMobilesNearLocationEx(), and ConcealedUpdater::on_change().
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:| void Character::create_trade_container | ( | ) |
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:| bool Character::CustomHousingMove | ( | unsigned char | i_dir | ) |
Definition at line 3791 of file charactr.cpp.
References UMulti::as_house(), client, ClientGameData::custom_house_serial, CustomHouseDesign::custom_house_z_xlate_table, dir, UHouse::editing_floor_num, UObject::facing, Client::gd, lastx, lasty, MultiDef::maxrx, MultiDef::maxry, MultiDef::minrx, MultiDef::minry, MoveCharacterWorldPosition(), UMulti::multidef(), passert, PKTIN_02_FACING_MASK, position_changed(), UObject::set_dirty(), setfacing(), system_find_multi(), UObject::x, MoveDelta::xmove, UObject::y, MoveDelta::ymove, and UObject::z.
Referenced by move().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::damage_weapon | ( | ) |
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::dead | ( | ) | const [inline] |
Definition at line 879 of file charactr.h.
References dead_.
Referenced by apply_raw_damage_hundredths(), can_face(), CanUseSkill(), CheckPushthrough(), PrivUpdater::disable_see_ghosts(), doubleclick(), PrivUpdater::enable_see_ghosts(), equip_item(), get_item(), handle_attack(), handle_open_spellbook(), handle_processed_speech(), TargetCursor::handle_target_cursor(), heal_damage_hundredths(), is_attackable(), is_visible_to_me(), UOExecutorModule::mf_ListGhostsNearLocation(), UOExecutorModule::mf_ListMobilesInLineOfSight(), UOExecutorModule::mf_ListMobilesNearLocation(), UOExecutorModule::mf_ListMobilesNearLocationEx(), UOExecutorModule::mf_Resurrect(), move(), NPC::npc_path_blocked(), open_trade_window(), regen_stats(), resurrect(), sayto_listening_points(), send_create_ghost(), SendUnicodeSpeech(), set_opponent(), set_warmode(), and ItemGivenEvent::~ItemGivenEvent().
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:| u16 Character::dexterity | ( | ) | const |
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:| void Character::disconnect_cleanup | ( | ) |
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:| void Character::do_attack_effects | ( | Character * | target | ) |
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:| void Character::do_hit_failure_effects | ( | ) |
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:| void Character::do_hit_success_effects | ( | ) |
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:| void Character::do_imhit_effects | ( | ) |
Definition at line 3298 of file charactr.cpp.
References ACTION_GOT_HIT, UObject::CLASS_NPC, combat_config, CombatConfig::core_hit_sounds, NPC::damaged_sound, gender, GENDER_MALE, UObject::isa(), UObject::objtype_, play_sound_effect(), send_action_to_inrange(), SOUND_EFFECT_FEMALE_DEFENSE, SOUND_EFFECT_MALE_DEFENSE, and UOBJ_HUMAN_MALE.
Referenced by apply_damage().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::doors_block | ( | ) | const |
Definition at line 3715 of file charactr.cpp.
References cached_settings, UObject::graphic, UOBJ_ELF_FEMALE_GHOST, UOBJ_ELF_MALE_GHOST, UOBJ_GAMEMASTER, UOBJ_GARGOYLE_FEMALE_GHOST, UOBJ_GARGOYLE_MALE_GHOST, UOBJ_HUMAN_FEMALE_GHOST, and UOBJ_HUMAN_MALE_GHOST.
Referenced by uo_walkheight(), and Realm::walkheight().
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:| void Character::equip | ( | Item * | item | ) |
Definition at line 1599 of file charactr.cpp.
References UObject::CLASS_ARMOR, UObject::CLASS_WEAPON, equippable(), hexint(), UObject::isa(), Item::layer, LAYER_HAND1, LAYER_HAND2, UObject::objtype_, passert_r, WornItemsContainer::PutItemOnLayer(), refresh_ar(), reset_swing_timer(), shield, weapon, and wornitems.
Referenced by character_race_changer_handler(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), NPCExecutorModule::CreateBackpack(), equip_from_template(), equip_item(), equip_loaded_item(), UOExecutorModule::mf_EquipItem(), on_death(), resurrect(), and undo_get_item().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::equippable | ( | const Item * | item | ) | const |
Definition at line 1538 of file charactr.cpp.
References attribute(), Attribute::attrid, AttributeValue::base(), ItemDesc::base_str_req, UObject::CLASS_CONTAINER, UObject::CLASS_WEAPON, UWeapon::descriptor(), FLAG::EQUIPPABLE, extobj, find_itemdesc(), UObject::graphic, UWeapon::is_intrinsic(), UObject::isa(), LAYER_BACKPACK, LAYER_HAND1, LAYER_HAND2, layer_is_equipped(), LAYER_MOUNT, ExternalObject::mount, UObject::objtype_, pAttrStrength, tile_flags(), Item::tile_layer, tilelayer(), WeaponDesc::two_handed, valid_equip_layer(), and weapon.
Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), NPCExecutorModule::CreateBackpack(), equip(), equip_from_template(), equip_item(), equip_loaded_item(), UOExecutorModule::mf_EquipItem(), and undo_get_item().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::face | ( | UFACING | i_facing, |
| int | flags = 0 |
||
| ) |
Definition at line 3764 of file charactr.cpp.
References cached_settings, can_face(), combat_config, UObject::facing, hidden(), ServSpecOpt::hidden_turns_count, UWeapon::is_projectile(), CombatConfig::reset_swing_onturn, reset_swing_timer(), setfacing(), ssopt, stealthsteps_, unhide(), and weapon.
Referenced by NPCExecutorModule::face(), NPCExecutorModule::mf_TurnAwayFrom(), NPCExecutorModule::mf_TurnAwayFromLocation(), NPCExecutorModule::mf_TurnToward(), NPCExecutorModule::mf_TurnTowardLocation(), move(), script_method_id(), and set_script_member_id().
Here is the call graph for this function:
Here is the caller graph for this function:| Item * Character::find_wornitem | ( | u32 | serial | ) | const |
Definition at line 1667 of file charactr.cpp.
References UContainer::find(), WornItemsContainer::GetItemOnLayer(), LAYER_BACKPACK, LAYER_BEARD, LAYER_EQUIP__HIGHEST, LAYER_EQUIP__LOWEST, LAYER_FACE, LAYER_HAIR, LAYER_MOUNT, POLCLASS_CONTAINER, Item::script_isa(), UObject::serial, and wornitems.
Referenced by find_legal_container(), find_legal_item(), and find_legal_singleclick_item().
Here is the call graph for this function:
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:| Character * Character::get_attackable_opponent | ( | ) | const |
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 |
Definition at line 1900 of file charactr.cpp.
References CHAR_FLAG1_FLYING, CHAR_FLAG1_GENDER, CHAR_FLAG1_INVISIBLE, CHAR_FLAG1_POISONED, CHAR_FLAG1_WARMODE, CHAR_FLAG1_YELLOWHEALTH, Client::ClientType, CLIENTTYPE_7000, gender, invul(), ServSpecOpt::invul_tag, is_visible(), movemode, MOVEMODE_FLY, poisoned, ssopt, and warmode.
Referenced by send_goxyz(), send_move(), and send_owncreate().
Here is the call graph for this function:
Here is the caller graph for this function:| Item * Character::get_from_ground | ( | u32 | serial, |
| UContainer ** | found_in | ||
| ) |
Definition at line 4215 of file charactr.cpp.
References can_move(), cfBEu32, UObject::CLASS_CONTAINER, Item::classname(), Item::description(), inrange(), UObject::isa(), Zone::items, Log2(), UObject::realm, remove_item_from_world(), UObject::serial, UObject::serial_ext, UObject::set_dirty(), UObject::x, UObject::y, Realm::zone, and zone_convert_clip().
Here is the call graph for this function:| 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:| Character * Character::get_opponent | ( | ) | const |
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:| bool Character::has_active_client | ( | ) | const |
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:| bool Character::has_active_gump | ( | ) | const |
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_active_prompt | ( | ) | const |
Definition at line 681 of file charactr.cpp.
References client, Client::gd, ClientGameData::prompt_uniemod, and ClientGameData::prompt_uoemod.
Referenced by get_script_member_id(), UOExecutorModule::mf_PromptInput(), and UnicodeExecutorModule::mf_RequestInputUC().
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:| bool Character::has_party_invite_timeout | ( | ) |
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] |
Definition at line 687 of file charactr.h.
References shield.
Referenced by AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), AttributeExecutorModule::mf_SetAttributeBaseValue(), and AttributeExecutorModule::mf_SetAttributeTemporaryMod().
Here is the caller graph for this function:| 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:| bool Character::hidden | ( | ) | const [inline] |
Definition at line 889 of file charactr.h.
References hidden_.
Referenced by apply_raw_damage_hundredths(), CheckPushthrough(), PrivUpdater::disable_see_hidden(), Item::double_click(), PrivUpdater::enable_see_hidden(), face(), handle_processed_speech(), is_attackable(), is_visible_to_me(), UOExecutorModule::mf_ListHostiles(), UOExecutorModule::mf_ListMobilesInLineOfSight(), UOExecutorModule::mf_ListMobilesNearLocation(), UOExecutorModule::mf_ListMobilesNearLocationEx(), UOExecutorModule::mf_UseItem(), move(), HiddenUpdater::on_change(), NPCExecutorModule::say(), NPCExecutorModule::SayUC(), SendUnicodeSpeech(), USpell::speak_power_words(), OSExecutorModule::start_skill_script(), and StartSkillScript().
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:| u16 Character::intelligence | ( | ) | const |
Definition at line 4207 of file charactr.cpp.
References attribute(), Attribute::attrid, AttributeValue::effective(), and pAttrIntelligence.
Here is the call graph for this function:| UWeapon * Character::intrinsic_weapon | ( | ) | [virtual] |
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:| bool Character::is_house_editing | ( | ) | const |
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::is_visible_to_me | ( | const Character * | chr | ) | const |
Definition at line 2794 of file charactr.cpp.
References cached_settings, dead(), hidden(), is_concealed_from_me(), logged_in, UObject::realm, and warmode.
Referenced by CheckPushthrough(), PrivUpdater::disable_invul(), PrivUpdater::enable_invul(), handle_allnames(), handle_attack(), handle_processed_speech(), TargetCursor::handle_target_cursor(), NPC::inform_criminal(), NPC::inform_enteredarea(), NPC::inform_imoved(), NPC::inform_leftarea(), NPC::inform_moved(), NPCExecutorModule::mf_RunAwayFrom(), NPCExecutorModule::mf_RunToward(), NPCExecutorModule::mf_TurnAwayFrom(), NPCExecutorModule::mf_TurnToward(), NPCExecutorModule::mf_WalkAwayFrom(), NPCExecutorModule::mf_WalkToward(), NPC::npc_path_blocked(), NPC::on_ghost_pc_spoke(), NPC::on_pc_spoke(), PropagateMove(), NPCExecutorModule::say(), send_char_data(), send_char_if_newly_inrange(), send_client_char_data(), send_create_ghost(), send_create_mobile_if_nearby_cansee(), send_move_mobile_if_nearby_cansee(), send_remove_character_if_nearby_cansee(), send_remove_character_if_nearby_cantsee(), send_remove_character_to_nearby_cansee(), send_remove_character_to_nearby_cantsee(), send_remove_if_hidden_ghost(), Party::send_stat_to(), SendUnicodeSpeech(), srequest(), and statrequest().
Here is the call graph for this function:
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:| void Character::load_default_elements | ( | ) | [private] |
Definition at line 1281 of file charactr.cpp.
References Resistances::cold, Resistances_Mods::cold, ElementDamages::cold, ElementDamages_Mods::cold, UObject::element_damage, UObject::element_damage_mod, UObject::element_resist, UObject::element_resist_mod, Resistances::energy, Resistances_Mods::energy, ElementDamages::energy, ElementDamages_Mods::energy, Resistances::fire, Resistances_Mods::fire, ElementDamages::fire, ElementDamages_Mods::fire, movement_cost, Resistances::physical, Resistances_Mods::physical, ElementDamages::physical, ElementDamages_Mods::physical, Resistances::poison, Resistances_Mods::poison, ElementDamages::poison, ElementDamages_Mods::poison, MovementCost_Mod::run, MovementCost_Mod::run_mounted, MovementCost_Mod::walk, and MovementCost_Mod::walk_mounted.
Referenced by Character().
Here is the caller graph for this function:| u8 Character::los_height | ( | ) | const [virtual] |
| void Character::make_aggressor_to | ( | Character * | chr | ) |
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_lawfullydamaged_to | ( | Character * | chr | ) |
Definition at line 1137 of file repsys.cpp.
References RepSys_Cfg::AggressorFlagTimeout, client, RepSys_Cfg::General, polclock(), POLCLOCKS_PER_SEC, repsys_cfg, restart_lawfully_damaged_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_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:| BObjectImp * Character::make_offline_ref | ( | ) | [virtual] |
Definition at line 1258 of file uoscrobj.cpp.
Referenced by WornItemsContainer::make_ref().
Here is the caller graph for this function:| BObjectImp * Character::make_ref | ( | ) | [virtual] |
Implements UObject.
Definition at line 1254 of file uoscrobj.cpp.
Referenced by add_candidate(), EPartyRefObjImp::call_method_id(), CallOutgoingPacketExportedFunction(), UContainer::can_insert_add_item(), UContainer::can_insert_increase_stack(), UContainer::check_can_remove_script(), NPC::custom_script_method(), custom_script_method(), ExportedPacketHookHandler(), get_script_member_id(), handle_accept_invite(), handle_decline_invite(), handle_loot_perm(), handle_member_msg(), handle_party_msg(), handle_remove(), handle_remove_member_cursor(), RepSystem::hilite_color_idx(), NPC::hilite_color_idx(), invite_timeout(), UOExecutorModule::mf_ListGhostsNearLocation(), UOExecutorModule::mf_ListHostiles(), UOExecutorModule::mf_ListMobilesInLineOfSight(), UOExecutorModule::mf_ListMobilesNearLocation(), UOExecutorModule::mf_ListMobilesNearLocationEx(), UOExecutorModule::mf_ListObjectsInBox(), PartyExecutorModule::mf_SendPartyMsg(), PartyExecutorModule::mf_SendPrivatePartyMsg(), RepSystem::name_color(), NPC::name_color(), UContainer::on_insert_add_item(), UContainer::on_insert_increase_stack(), on_loggoff_party(), NPC::repsys_on_attack(), repsys_on_attack(), NPC::repsys_on_damage(), repsys_on_damage(), NPC::repsys_on_help(), repsys_on_help(), Party::send_member_msg_private(), and Party::send_member_msg_public().
Here is the caller graph for this function:| bool Character::manual_set_swing_timer | ( | int | time | ) |
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:| u16 Character::max_hits | ( | ) | const |
| u32 Character::max_hits_hundredths | ( | ) | const |
| u16 Character::max_mana | ( | ) | const |
| u16 Character::max_stamina | ( | ) | const |
| 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:| bool Character::move | ( | unsigned char | dir | ) |
Definition at line 3843 of file charactr.cpp.
References UMulti::as_house(), cached_settings, ExportedFunction::call(), carrying_capacity(), CheckPushthrough(), consume(), CustomHousingMove(), dead(), dir, face(), UObject::facing, gradual_boost, hidden(), is_house_editing(), UWeapon::is_projectile(), lastx, lasty, lastz, make_mobileref(), mountedsteps_, MoveCharacterWorldPosition(), movecost(), ServSpecOpt::movement_uses_stamina, on_mount(), SystemHooks::ouch_hook, PKTIN_02_DIR_RUNNING_BIT, PKTIN_02_FACING_MASK, POLCLASS_NPC, position_changed(), private_say_above(), pVitalStamina, UObject::realm, UMulti::register_object(), registered_house, remote_containers_, reset_swing_timer(), script_isa(), UObject::serial, UObject::set_dirty(), ssopt, stealthsteps_, system_find_multi(), system_hooks, unhide(), UHouse::unregister_object(), vital(), Vital::vitalid, Item::walk_on(), UHouse::walk_on(), Realm::walkheight(), weapon, weight(), UObject::x, MoveDelta::xmove, UObject::y, MoveDelta::ymove, and UObject::z.
Referenced by NPCExecutorModule::_internal_move(), handle_walk(), NPCExecutorModule::move(), and NPCExecutorModule::move_self().
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:| Party * Character::offline_mem_of | ( | ) | const |
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:| void Character::offline_mem_of | ( | Party * | c | ) |
Definition at line 874 of file party.cpp.
References offline_mem_of_.
| void Character::on_aos_ext_stat_changed | ( | ) |
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:| void Character::on_death | ( | Item * | corpse | ) | [virtual] |
Reimplemented in NPC.
Definition at line 2247 of file charactr.cpp.
References Client::chr, client, create_death_shroud(), equip(), FileExists(), ForEachMobileInVisualRange(), inform_disengaged(), opponent_, Client::pause(), UObject::realm, send_create_ghost(), send_create_mobile_to_nearby_cansee(), send_goxyz(), send_remove_character_to_nearby_cantsee(), send_warmode(), send_wornitem_to_inrange(), and start_script().
Referenced by die().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::on_facing_changed | ( | ) | [virtual] |
Reimplemented from UObject.
Definition at line 1878 of file charactr.cpp.
References Client::chr, client, send_goxyz(), and send_move_mobile_to_nearby_cansee().
Referenced by NPCExecutorModule::face(), NPCExecutorModule::mf_TurnAwayFrom(), NPCExecutorModule::mf_TurnAwayFromLocation(), NPCExecutorModule::mf_TurnToward(), NPCExecutorModule::mf_TurnTowardLocation(), script_method_id(), and set_script_member_id().
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_poison_changed | ( | ) | [virtual] |
Definition at line 1848 of file charactr.cpp.
References PacketWriterDefs::PacketWriter< _id, _size, _sub >::buffer, Client::chr, UObject::CLASS_NPC, client, Client::ClientType, CLIENTTYPE_UOKR, UObject::isa(), PacketWriterDefs::PacketInterface::offset, poisoned, send_goxyz(), send_move_mobile_to_nearby_cansee(), send_poisonhealthbar(), UObject::serial_ext, transmit_to_inrange(), PacketWriterDefs::PacketWriter< _id, _size, _sub >::Write(), and PacketWriterDefs::PacketWriter< _id, _size, _sub >::WriteFlipped().
Referenced by script_method_id(), and set_script_member_id().
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:| 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:| Party * Character::party | ( | ) | const |
Definition at line 840 of file party.cpp.
References party_.
Referenced by add_candidate(), EPartyRefObjImp::call_method_id(), Party::disband(), handle_accept_invite(), handle_decline_invite(), handle_loot_perm(), handle_member_msg(), handle_party_msg(), handle_remove(), handle_remove_member_cursor(), PartyExecutorModule::mf_CreateParty(), on_loggoff_party(), on_loggon_party(), RepSystem::on_pc_helps_pc(), Party::register_with_members(), send_uo_mana(), send_uo_stamina(), and srequest().
Here is the caller graph for this function:| void Character::party | ( | Party * | p | ) |
| 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::position_changed | ( | void | ) |
Definition at line 3674 of file charactr.cpp.
References UObject::realm, wornitems, UObject::x, UObject::y, and UObject::z.
Referenced by CustomHousingMove(), move(), move_character_to(), UBoat::move_travellers(), readCommonProperties(), start_client_char(), and UBoat::turn_travellers().
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:| void Character::readAttributesAndVitals | ( | ConfigElem & | elem | ) |
Definition at line 1156 of file charactr.cpp.
References attribute(), ATTRIBUTE_MAX_BASE, ATTRIBUTE_MIN_BASE, AttributeValue::base(), calc_vital_stuff(), AttributeValue::cap(), VitalValue::current_ones(), PolVar::DataWrittenBy, FindAttribute(), FindVital(), gflag_in_system_load, hexint(), AttributeValue::lock(), Vital::next, Attribute::next, polvar, raw_to_base(), ConfigElem::remove_prop(), UObject::serial, ConfigElem::throw_error(), vital(), VITAL_MAX_VALUE, and VITAL_MIN_VALUE.
Referenced by readProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::readCommonProperties | ( | ConfigElem & | elem | ) |
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:| void Character::realm_changed | ( | ) |
Definition at line 3999 of file charactr.cpp.
References client, ServSpecOpt::core_sends_season, WornItemsContainer::for_each_item(), ref_ptr< T >::get(), gotten_item, has_active_client(), UObject::realm, send_feature_enable(), send_map_difs(), send_realm_change(), send_season_info(), send_short_statmsg(), setrealm(), ssopt, trading_cont, and wornitems.
Referenced by UOExecutorModule::internal_MoveCharacter(), UBoat::move_offline_mobiles(), and UBoat::realm_changed().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::recalc_all_skills | ( | void | ) |
Definition at line 2589 of file charactr.cpp.
| void Character::recalc_skill | ( | int | skillnum | ) |
| void Character::refresh_ar | ( | ) | [virtual] |
Reimplemented in NPC.
Definition at line 2593 of file charactr.cpp.
References UArmor::ar(), ar_, ar_mod(), armor_, armorzones, attribute(), Attribute::attrid, UObject::CLASS_ARMOR, client, AttributeValue::effective(), ELEMENTAL_TYPE_MAX, WornItemsContainer::GetItemOnLayer(), UObject::isa(), LAYER_EQUIP__HIGHEST, LAYER_EQUIP__LOWEST, pAttrParry, refresh_element(), send_full_statmsg(), shield, UArmor::tmplzones(), update_element(), and wornitems.
Referenced by equip(), get_item(), AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), AttributeExecutorModule::mf_SetAttributeBaseValue(), AttributeExecutorModule::mf_SetAttributeTemporaryMod(), ARUpdater::on_change(), Equipment::reduce_hp_from_hit(), set_script_member_id(), and unequip().
Here is the call graph for this function:
Here is the caller graph for this function:| 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::refresh_element | ( | unsigned | element | ) |
Definition at line 2684 of file charactr.cpp.
References Resistances::cold, Resistances_Mods::cold, ElementDamages::cold, ElementDamages_Mods::cold, UObject::element_damage, UObject::element_damage_mod, UObject::element_resist, UObject::element_resist_mod, ELEMENTAL_COLD, ELEMENTAL_ENERGY, ELEMENTAL_FIRE, ELEMENTAL_PHYSICAL, ELEMENTAL_POISON, Resistances::energy, Resistances_Mods::energy, ElementDamages::energy, ElementDamages_Mods::energy, Resistances::fire, Resistances_Mods::fire, ElementDamages::fire, ElementDamages_Mods::fire, Resistances::physical, Resistances_Mods::physical, ElementDamages::physical, ElementDamages_Mods::physical, Resistances::poison, Resistances_Mods::poison, ElementDamages::poison, and ElementDamages_Mods::poison.
Referenced by NPC::refresh_ar(), and refresh_ar().
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:| void Character::removal_cleanup | ( | ) |
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:| void Character::remove_as_aggressor_to | ( | Character * | chr | ) |
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:| void Character::remove_as_lawful_damager | ( | Character * | chr | ) |
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:| void Character::reset_swing_timer | ( | ) |
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:| void Character::restart_aggressor_timer | ( | Character * | chr, |
| polclock_t | until | ||
| ) |
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:| void Character::restart_criminal_timer | ( | polclock_t | until | ) |
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:| void Character::restart_lawfully_damaged_timer | ( | Character * | chr, |
| polclock_t | until | ||
| ) |
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::resurrect | ( | ) |
Definition at line 2172 of file charactr.cpp.
References VitalValue::_current, Client::chr, client, UObject::color, create_death_robe(), dead(), dead_, UObject::destroy(), equip(), ForEachMobileInRange(), ForEachMobileInVisualRange(), frozen_, WornItemsContainer::GetItemOnLayer(), UObject::graphic, layer_is_equipped(), LAYER_ROBE_DRESS, UObject::name(), NpcPropagateEnteredArea(), paralyzed_, Client::pause(), pVitalLife, pVitalMana, pVitalStamina, UObject::realm, Vital::regen_while_dead, Client::restart(), send_create_mobile_to_nearby_cansee(), send_goxyz(), send_owncreate(), send_remove_character_to_nearby_cansee(), send_remove_if_hidden_ghost(), send_warmode(), set_current_ones(), UObject::set_dirty(), truecolor, unequip(), 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, vital(), Vital::vitalid, warmode, wornitems, UObject::x, and UObject::y.
Referenced by UOExecutorModule::mf_Resurrect().
Here is the call graph for this function:
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::run_hit_script | ( | Character * | defender, |
| double | damage | ||
| ) |
Definition at line 2036 of file charactr.cpp.
References Executor::addModule(), PolConfig::cache_interactive_scripts, config, UOExecutorModule::controller_, create_script_executor(), find_script2(), ref_ptr< T >::get(), get_hitscript_params(), UWeapon::hit_script(), Log(), ScriptDef::name(), UOExecutor::os_module, OSExecutorModule::priority, Executor::pushArg(), schedule_executor(), CharacterRef::set(), Executor::setProgram(), UOExecutorModule, and weapon.
Referenced by attack().
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:| void Character::send_highlight | ( | ) | const |
Definition at line 3040 of file charactr.cpp.
References client, get_opponent(), has_active_client(), PacketWriterDefs::PacketInterface::offset, PktHelper::PacketOut< T >::Send(), UObject::serial_ext, and PacketWriterDefs::PacketWriter< _id, _size, _sub >::Write().
Referenced by handle_attack(), inform_disengaged(), inform_engaged(), set_opponent(), and start_client_char().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::send_warmode | ( | ) |
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:| void Character::set_caps_to_default | ( | ) |
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 | ) |
| void Character::set_opponent | ( | Character * | opponent, |
| bool | inform_old_opponent = true |
||
| ) |
Definition at line 3099 of file charactr.cpp.
References dead(), dtrace, exit_signalled, get_opponent(), has_active_client(), inform_disengaged(), inform_engaged(), opponent_, opponent_of, POLCLASS_NPC, repsys_on_attack(), reset_swing_timer(), schedule_attack(), script_isa(), send_highlight(), set_warmode(), and warmode.
Referenced by check_justice_region_change(), clear_opponent_of(), RepSystem::de_escalate(), die(), NPCExecutorModule::mf_SetOpponent(), Client::PreDelete(), select_opponent(), and set_warmode().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::set_party_can_loot | ( | bool | b | ) |
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:| void Character::set_party_invite_timeout | ( | ) |
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:| BObjectImp * Character::set_script_member_id_double | ( | const int | id, |
| double | value | ||
| ) | [virtual] |
Reimplemented from UObject.
Definition at line 1730 of file uoscrobj.cpp.
References MBR_MOVECOST_RUN, MBR_MOVECOST_RUN_MOUNTED, MBR_MOVECOST_WALK, MBR_MOVECOST_WALK_MOUNTED, movement_cost, MovementCost_Mod::run, MovementCost_Mod::run_mounted, MovementCost_Mod::walk, and MovementCost_Mod::walk_mounted.
| 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 | ) |
| void Character::set_vitals_to_maximum | ( | ) |
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::set_warmode | ( | bool | warmode | ) |
Definition at line 3172 of file charactr.cpp.
References clients, ConstForEach(), dead(), disable_regeneration_for(), reset_swing_timer(), send_create_mobile_to_nearby_cansee(), send_move_if_inrange(), send_remove_character_to_nearby_cantsee(), set_opponent(), and warmode.
Referenced by handle_mode_set(), NPCExecutorModule::mf_SetWarMode(), script_method_id(), and set_opponent().
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:| bool Character::start_script | ( | EScriptProgram * | prog, |
| bool | start_attached, | ||
| BObjectImp * | param2 = NULL, |
||
| BObjectImp * | param3 = NULL, |
||
| BObjectImp * | param4 = NULL |
||
| ) |
Definition at line 26 of file chrituse.cpp.
References Executor::addModule(), UOExecutorModule::attached_chr_, UOExecutorModule::controller_, UninitObject::create(), create_script_executor(), EScriptProgram::haveProgram, Log(), EScriptProgram::name, UOExecutor::os_module, passert, OSExecutorModule::priority, Executor::pushArg(), schedule_executor(), script_ex, Executor::scriptname(), CharacterRef::set(), Executor::setProgram(), and UOExecutorModule.
Referenced by doubleclick(), gumpbutton_handler(), handle_char_profile_request(), handle_help(), on_death(), OnChatButton(), OnGuildButton(), OnQuestButton(), skillrequest(), start_itemuse_script(), OSExecutorModule::start_skill_script(), start_skill_script(), and start_spell_script().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Character::start_skill_script | ( | EScriptProgram * | prog | ) |
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:| u16 Character::strength | ( | ) | const |
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:| bool Character::target_cursor_busy | ( | ) | const |
Definition at line 4274 of file charactr.cpp.
References client, Client::gd, ClientGameData::target_cursor_uoemod, and tcursor2.
Referenced by get_script_member_id(), UOExecutorModule::mf_Target(), UOExecutorModule::mf_TargetCancel(), UOExecutorModule::mf_TargetCoordinates(), UOExecutorModule::mf_TargetMultiPlacement(), LosCheckedCoordCursor::send_coord_cursor(), and TargetCursor::send_object_cursor().
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::tellmove | ( | void | ) |
Definition at line 4071 of file charactr.cpp.
References _check_attack(), check_attack_after_move(), check_region_changes(), ForEach(), ForEachMobileInRange(), lastx, lasty, move_reason, NpcPropagateMove(), opponent_, opponent_of, OTHER, pol_distance(), PropagateMove(), UObject::realm, UObject::x, and UObject::y.
Referenced by NPCExecutorModule::_internal_move(), UBoat::do_tellmoves(), handle_walk(), NPCExecutorModule::move(), move_character_to(), NPCExecutorModule::move_self(), and start_client_char().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 4310 of file charactr.cpp.
References ref_ptr< T >::get(), and trading_cont.
Referenced by cancel_trade(), change_trade_status(), do_open_trade_window(), doubleclick(), find_legal_singleclick_item(), place_item(), place_item_in_secure_trade_container(), return_traded_items(), and send_trade_statuses().
Here is the call graph for this function:
Here is the caller graph for this function:| 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:| void Character::unhide | ( | ) |
Definition at line 3683 of file charactr.cpp.
References ExportedFunction::call(), client, clients, ForEach(), ForEachMobileInRange(), hidden_, is_visible(), lastx, lasty, make_mobileref(), NpcPropagateMove(), UObject::realm, send_char_data(), send_owncreate(), system_hooks, SystemHooks::un_hide, UObject::x, and UObject::y.
Referenced by apply_raw_damage_hundredths(), Item::double_click(), face(), handle_processed_speech(), UOExecutorModule::mf_UseItem(), move(), HiddenUpdater::on_change(), ConcealedUpdater::on_change(), NPCExecutorModule::say(), NPCExecutorModule::SayUC(), SendUnicodeSpeech(), OSExecutorModule::start_skill_script(), and StartSkillScript().
Here is the call graph for this function:
Here is the caller graph for this function:| void Character::update_element | ( | unsigned | element, |
| Item * | item | ||
| ) |
Definition at line 2667 of file charactr.cpp.
References Item::calc_element_damage(), Item::calc_element_resist(), Resistances::cold, ElementDamages::cold, UObject::element_damage, UObject::element_resist, ELEMENTAL_COLD, ELEMENTAL_ENERGY, ELEMENTAL_FIRE, ELEMENTAL_PHYSICAL, ELEMENTAL_POISON, Resistances::energy, ElementDamages::energy, Resistances::fire, ElementDamages::fire, Resistances::physical, ElementDamages::physical, Resistances::poison, and ElementDamages::poison.
Referenced by NPC::refresh_ar(), and refresh_ar().
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:| void Character::validate_stat_ranges | ( | ) |
| const VitalValue& Character::vital | ( | unsigned | vitalid | ) | const [inline] |
Definition at line 851 of file charactr.h.
References passert, and vitals.
Referenced by apply_raw_damage_hundredths(), calc_single_vital(), can_face(), USpell::check_mana(), check_undamaged(), USpell::consume_mana(), die(), heal_damage_hundredths(), VitalExecutorModule::mf_ConsumeVital(), VitalExecutorModule::mf_GetVital(), VitalExecutorModule::mf_GetVitalMaximumValue(), VitalExecutorModule::mf_GetVitalRegenRate(), VitalExecutorModule::mf_SetVital(), move(), Party::on_mana_changed(), Party::on_stam_changed(), printProperties(), readAttributesAndVitals(), regen_vital(), resurrect(), send_attributes_normalized(), send_full_statmsg(), send_mana_level(), send_short_statmsg(), send_stamina_level(), send_uo_hits(), send_uo_mana(), send_uo_stamina(), send_update_hits_to_inrange(), and set_vitals_to_maximum().
Here is the caller graph for this function:| VitalValue& Character::vital | ( | unsigned | vitalid | ) | [inline] |
Definition at line 856 of file charactr.h.
| UACTION Character::weapon_anim | ( | ) | const |
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:| const AttributeValue & Character::weapon_attribute | ( | ) | const |
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:| USKILLID Character::weapon_skillid | ( | ) | const |
| 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:| 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.
| Character* CreateNewBlankCharacter | ( | ) | [friend] |
| void handle_script_cursor | ( | Character * | chr, |
| UObject * | obj | ||
| ) | [friend] |
| void menu_selection_made | ( | Client * | client, |
| class MenuItem * | mi, | ||
| struct PKTIN_7D * | msg | ||
| ) | [friend] |
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.
Definition at line 646 of file charactr.h.
Referenced by AccountObjImp::call_method_id(), char_select(), charindex(), cleanup_vars(), ObjectHash::ClearCharacterAccountReferences(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), delete_character(), die(), get_script_member_id(), handle_attack(), handle_target_cursor(), handle_textentry(), printProperties(), read_data(), readCommonProperties(), Account::~Account(), and ~Character().
MobileCont Character::aggressor_to_ [mutable, private] |
Definition at line 811 of file charactr.h.
Referenced by GetAggressorTo(), is_aggressor_to(), remove_as_aggressor_to(), RepSystem::repsys_task(), restart_aggressor_timer(), and RepSystem::show_repdata().
| bool Character::all |
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.
| vector<AttributeValue> Character::attributes |
Definition at line 682 of file charactr.h.
Referenced by attribute(), calc_vital_stuff(), and set_caps_to_default().
struct { ... } Character::cached_settings [protected] |
Referenced by apply_raw_damage_hundredths(), can_be_heard_as_ghost(), can_clothe(), can_dblclickany(), can_face(), can_hearghosts(), can_move(), can_moveanydist(), can_plogany(), can_rename(), can_seeinvisitems(), can_speedhack(), CheckPushthrough(), doors_block(), face(), ignores_line_of_sight(), is_attackable(), is_visible_to_me(), UOExecutorModule::mf_Resurrect(), move(), NPC::npc_path_blocked(), refresh_cached_settings(), and setting_enabled().
Definition at line 789 of file charactr.h.
Party* Character::candidate_of_ [private] |
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().
| bool Character::clotheany |
Definition at line 775 of file charactr.h.
| unsigned char Character::cmdlevel |
Definition at line 651 of file charactr.h.
Referenced by char_select(), check_concealment_level(), client_io_thread(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), get_script_member_id(), get_textcmd_help(), is_concealed_from_me(), printProperties(), process_command(), readCommonProperties(), script_method_id(), set_script_member_id(), and start_textcmd_script().
unsigned char Character::concealed_ [protected] |
Definition at line 758 of file charactr.h.
Referenced by check_concealment_level(), concealed(), get_script_member_id(), is_concealed_from_me(), is_visible(), printProperties(), readCommonProperties(), and set_script_member_id().
| bool Character::connected |
Definition at line 655 of file charactr.h.
Referenced by clear_gotten_item(), client_io_thread(), get_script_member_id(), NPC::NPC(), start_client_char(), start_packetlog(), and stop_packetlog().
gameclock_t Character::created_at [protected] |
Definition at line 805 of file charactr.h.
Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), get_script_member_id(), printProperties(), and readCommonProperties().
polclock_t Character::criminal_until_ [private] |
Definition at line 813 of file charactr.h.
Referenced by clear_criminal_timer(), is_criminal(), RepSystem::repsys_task(), restart_criminal_timer(), and RepSystem::show_repdata().
| unsigned int Character::dblclick_wait |
Definition at line 674 of file charactr.h.
Referenced by doubleclick().
Definition at line 781 of file charactr.h.
bool Character::dead_ [protected] |
Definition at line 756 of file charactr.h.
Referenced by check_attack_after_move(), dead(), die(), get_script_member_id(), is_attackable(), printProperties(), readCommonProperties(), resurrect(), and script_method_id().
gameclock_t Character::deafened_until [mutable, protected] |
Definition at line 807 of file charactr.h.
Referenced by deafened(), printProperties(), readCommonProperties(), and script_method_id().
s16 Character::delay_mod_ [protected] |
Definition at line 747 of file charactr.h.
Referenced by get_script_member_id(), schedule_attack(), and set_script_member_id().
Definition at line 652 of file charactr.h.
Referenced by NPC::anchor_allows_move(), build_send_move(), NPC::could_move(), CustomHousingMove(), move(), NPC::npc_path_blocked(), and send_move().
Definition at line 663 of file charactr.h.
Referenced by disable_regeneration_for().
Definition at line 664 of file charactr.h.
Referenced by CanUseSkill(), OSExecutorModule::start_skill_script(), and StartSkillScript().
s16 Character::evasionchance_mod_ [protected] |
Definition at line 749 of file charactr.h.
Referenced by attack(), get_script_member_id(), and set_script_member_id().
Definition at line 737 of file charactr.h.
Referenced by Character(), get_script_member_id(), printProperties(), readCommonProperties(), send_full_statmsg(), and set_script_member_id().
Definition at line 785 of file charactr.h.
| bool Character::freemove |
Definition at line 784 of file charactr.h.
bool Character::frozen_ [protected] |
Definition at line 759 of file charactr.h.
Referenced by die(), frozen(), get_script_member_id(), printProperties(), readCommonProperties(), resurrect(), and set_script_member_id().
Definition at line 668 of file charactr.h.
Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), die(), do_imhit_effects(), get_flag1(), get_script_member_id(), UOExecutorModule::mf_SendCharacterRaceChanger(), printProperties(), readCommonProperties(), send_full_statmsg(), and set_script_member_id().
Definition at line 675 of file charactr.h.
Referenced by clear_gotten_item(), drop_item(), drop_item_v2(), equip_item(), get_item(), realm_changed(), script_method_id(), weight(), write_characters(), and WriteGottenItem().
| unsigned char Character::gotten_item_source |
Definition at line 680 of file charactr.h.
Referenced by get_item(), and undo_get_item().
| short Character::gradual_boost |
Definition at line 671 of file charactr.h.
Referenced by Character(), NPC::could_move(), move(), and move_character_to().
Guild* Character::guild_ [private] |
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.
bool Character::hidden_ [protected] |
Definition at line 757 of file charactr.h.
Referenced by get_script_member_id(), hidden(), is_visible(), printProperties(), readCommonProperties(), set_script_member_id(), and unhide().
Definition at line 787 of file charactr.h.
s16 Character::hitchance_mod_ [protected] |
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().
| bool Character::invul |
Definition at line 776 of file charactr.h.
Referenced by RepSystem::hilite_color_idx(), RepSystem::name_color(), and singleclick().
Definition at line 673 of file charactr.h.
Referenced by die(), printProperties(), readProperties(), and script_method_id().
Definition at line 657 of file charactr.h.
Referenced by char_select(), CustomHousingMove(), get_script_member_id(), NPC::inform_imoved(), NPC::inform_moved(), UOExecutorModule::internal_MoveCharacter(), move(), move_character_to(), UBoat::move_travellers(), PropagateMove(), send_char_if_newly_inrange(), send_item_if_newly_inrange(), send_multi_if_newly_inrange(), start_client_char(), tellmove(), UBoat::turn_traveller_coords(), UBoat::turn_travellers(), unhide(), Item::walk_on(), and UHouse::walk_on().
Definition at line 657 of file charactr.h.
Referenced by char_select(), CustomHousingMove(), get_script_member_id(), NPC::inform_imoved(), NPC::inform_moved(), UOExecutorModule::internal_MoveCharacter(), move(), move_character_to(), UBoat::move_travellers(), PropagateMove(), send_char_if_newly_inrange(), send_item_if_newly_inrange(), send_multi_if_newly_inrange(), start_client_char(), tellmove(), UBoat::turn_traveller_coords(), UBoat::turn_travellers(), unhide(), Item::walk_on(), and UHouse::walk_on().
Definition at line 658 of file charactr.h.
Referenced by get_script_member_id(), move(), move_character_to(), start_client_char(), Item::walk_on(), and UHouse::walk_on().
MobileCont Character::lawfully_damaged_ [mutable, private] |
Definition at line 812 of file charactr.h.
Referenced by GetLawFullyDamaged(), has_lawfully_damaged(), remove_as_lawful_damager(), RepSystem::repsys_task(), restart_lawfully_damaged_timer(), and RepSystem::show_repdata().
Definition at line 729 of file charactr.h.
Referenced by check_light_region_change(), check_weather_region_change(), regen_stats(), script_method_id(), send_season_info(), and SetRegionLightLevel().
Definition at line 730 of file charactr.h.
Referenced by check_light_region_change(), regen_stats(), script_method_id(), and SetRegionLightLevel().
| bool Character::logged_in |
Definition at line 654 of file charactr.h.
Referenced by AccountObjImp::call_method_id(), char_select(), delete_character(), find_character(), getCharacterOrClientParam(), getCharacterParam(), UBoat::has_offline_mobiles(), is_visible_to_me(), UOExecutorModule::mf_GetRegionName(), VitalExecutorModule::mf_RecalcVitals(), UOExecutorModule::mf_SendCharProfile(), UOExecutorModule::mf_SendOverallSeason(), UOExecutorModule::mf_SendStatus(), UBoat::mobiles_list(), UBoat::move_offline_mobiles(), UBoat::move_travellers(), NPC::NPC(), Client::PreDelete(), read_data(), and UBoat::turn_travellers().
| bool Character::losany |
Definition at line 782 of file charactr.h.
Definition at line 724 of file charactr.h.
Referenced by cancel_menu(), handle_menu_selection(), and UOExecutorModule::mf_SelectMenuItem().
unsigned int Character::mountedsteps_ [protected] |
Definition at line 762 of file charactr.h.
Referenced by get_script_member_id(), move(), printProperties(), readCommonProperties(), and set_script_member_id().
| enum { ... } Character::move_reason |
Referenced by UBoat::move_travellers(), PropagateMove(), tellmove(), and UBoat::turn_travellers().
| bool Character::moveany |
Definition at line 772 of file charactr.h.
Definition at line 773 of file charactr.h.
Definition at line 739 of file charactr.h.
Referenced by get_script_member_id(), load_default_elements(), movecost(), printProperties(), readCommonProperties(), set_script_member_id(), and set_script_member_id_double().
Definition at line 661 of file charactr.h.
Referenced by get_flag1(), get_script_member_id(), handle_msg_BF(), UOExecutorModule::internal_MoveCharacter(), UOExecutorModule::mf_Resurrect(), move_character_to(), on_mount(), printProperties(), readCommonProperties(), set_script_member_id(), uo_walkheight(), and Realm::walkheight().
bool Character::murderer_ [private] |
Definition at line 832 of file charactr.h.
Referenced by get_script_member_id(), is_criminal(), is_murderer(), make_murderer(), printProperties(), readCommonProperties(), and set_script_member_id().
Party* Character::offline_mem_of_ [private] |
Definition at line 829 of file charactr.h.
Referenced by offline_mem_of().
| void(* Character::on_menu_selection)(Client *client, class MenuItem *mi, struct PKTIN_7D *msg) |
Definition at line 725 of file charactr.h.
Referenced by cancel_menu(), handle_menu_selection(), and UOExecutorModule::mf_SelectMenuItem().
Character* Character::opponent_ [protected] |
Definition at line 796 of file charactr.h.
Referenced by check_justice_region_change(), RepSystem::de_escalate(), get_attackable_opponent(), get_opponent(), get_script_member_id(), inform_disengaged(), inform_engaged(), NPC::inform_moved(), manual_set_swing_timer(), on_death(), removal_cleanup(), reset_swing_timer(), select_opponent(), set_opponent(), and tellmove().
CharacterSet Character::opponent_of [protected] |
Definition at line 797 of file charactr.h.
Referenced by check_justice_region_change(), clear_opponent_of(), get_attackable_opponent(), get_opponent(), hostiles(), manual_set_swing_timer(), removal_cleanup(), RepSystem::repsys_task(), reset_swing_timer(), set_opponent(), and tellmove().
bool Character::paralyzed_ [protected] |
Definition at line 760 of file charactr.h.
Referenced by apply_raw_damage_hundredths(), die(), get_script_member_id(), paralyzed(), resurrect(), script_method_id(), and set_script_member_id().
Party* Character::party_ [private] |
Definition at line 827 of file charactr.h.
Referenced by get_script_member_id(), and party().
bool Character::party_can_loot_ [private] |
Definition at line 830 of file charactr.h.
Referenced by party_can_loot(), printProperties(), readCommonProperties(), and set_party_can_loot().
OneShotTask* Character::party_decline_timeout_ [private] |
Definition at line 831 of file charactr.h.
Referenced by cancel_party_invite_timeout(), has_party_invite_timeout(), set_party_invite_timeout(), and ~Character().
| bool Character::plogany |
Definition at line 788 of file charactr.h.
| bool Character::poisoned |
Definition at line 670 of file charactr.h.
Referenced by build_poisonhealthbar(), check_undamaged(), get_flag1(), get_script_member_id(), on_poison_changed(), script_method_id(), send_goxyz(), send_move(), send_owncreate(), send_poisonhealthbar(), and set_script_member_id().
StringSet Character::privs [protected] |
Definition at line 767 of file charactr.h.
Referenced by all_privs(), grant_privilege(), has_privilege(), printProperties(), readCommonProperties(), revoke_privilege(), and set_privs().
Definition at line 669 of file charactr.h.
Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), die(), get_script_member_id(), handle_msg_BF(), UOExecutorModule::mf_SendCharacterRaceChanger(), on_mount(), printProperties(), readCommonProperties(), send_full_statmsg(), and set_script_member_id().
bool Character::ready_to_swing [protected] |
Definition at line 799 of file charactr.h.
Referenced by check_attack_after_move(), manual_set_swing_timer(), reset_swing_timer(), and swing_task_func().
Definition at line 649 of file charactr.h.
Referenced by NPC::destroy(), destroy(), destroy_house(), move(), move_character_to(), NPC::printProperties(), printProperties(), readCommonProperties(), NPC::readNpcProperties(), and start_client_char().
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().
| bool Character::renameany |
Definition at line 774 of file charactr.h.
ReportableList Character::reportable_ [private] |
Definition at line 820 of file charactr.h.
Referenced by clear_reportable(), commit_to_reportables(), GetReportables(), printProperties(), readCommonProperties(), and RepSystem::show_repdata().
OneShotTask* Character::repsys_task_ [private] |
Definition at line 814 of file charactr.h.
Referenced by RepSystem::schedule_repsys_task(), RepSystem::show_repdata(), and ~Character().
Definition at line 790 of file charactr.h.
UOExecutor* Character::script_ex [protected] |
Definition at line 794 of file charactr.h.
Referenced by get_script_member_id(), UOExecutorModule::mf_Attach(), UOExecutorModule::mf_Detach(), skill_ex_active(), start_script(), stop_skill_script(), and UOExecutorModule::~UOExecutorModule().
| bool Character::seeghosts |
Definition at line 778 of file charactr.h.
| bool Character::seehidden |
Definition at line 777 of file charactr.h.
Definition at line 780 of file charactr.h.
StringSet Character::settings [protected] |
Definition at line 768 of file charactr.h.
Referenced by all_settings(), printProperties(), readCommonProperties(), revoke_privilege(), set_setting(), and setting_enabled().
UArmor* Character::shield [protected] |
Definition at line 752 of file charactr.h.
Referenced by attack(), equip(), get_script_member_id(), get_shield(), has_shield(), NPC::refresh_ar(), refresh_ar(), and unequip().
Definition at line 738 of file charactr.h.
Referenced by get_script_member_id(), printProperties(), readCommonProperties(), and set_script_member_id().
| bool Character::speedhack |
Definition at line 791 of file charactr.h.
OneShotTask* Character::spell_task [protected] |
Definition at line 802 of file charactr.h.
Referenced by casting_spell(), and schedule_spell().
gameclock_t Character::squelched_until [mutable, protected] |
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().
OneShotTask* Character::swing_task [protected] |
Definition at line 801 of file charactr.h.
Referenced by check_justice_region_change(), manual_set_swing_timer(), removal_cleanup(), reset_swing_timer(), and schedule_attack().
polclock_t Character::swing_timer_start_clock_ [protected] |
Definition at line 798 of file charactr.h.
Referenced by manual_set_swing_timer(), reset_swing_timer(), and schedule_attack().
Definition at line 723 of file charactr.h.
Referenced by TargetCursor::cancel(), disconnect_cleanup(), handle_target_cursor(), LosCheckedCoordCursor::send_coord_cursor(), TargetCursor::send_object_cursor(), MultiPlacementCursor::send_placemulti(), and target_cursor_busy().
| std::string Character::title_guild |
Definition at line 734 of file charactr.h.
Referenced by get_script_member_id(), printProperties(), readCommonProperties(), SendAOSTooltip(), set_script_member_id(), and singleclick().
| std::string Character::title_prefix |
Definition at line 732 of file charactr.h.
Referenced by get_script_member_id(), printProperties(), readCommonProperties(), send_paperdoll(), SendAOSTooltip(), and set_script_member_id().
| std::string Character::title_race |
Definition at line 735 of file charactr.h.
Referenced by get_script_member_id(), printProperties(), readCommonProperties(), send_paperdoll(), SendAOSTooltip(), and set_script_member_id().
| std::string Character::title_suffix |
Definition at line 733 of file charactr.h.
Referenced by get_script_member_id(), printProperties(), readCommonProperties(), send_paperdoll(), SendAOSTooltip(), and set_script_member_id().
Definition at line 817 of file charactr.h.
Referenced by add_to_be_reportable(), clear_my_aggressors(), clear_my_lawful_damagers(), clear_to_be_reportables(), commit_to_reportables(), and RepSystem::show_repdata().
Definition at line 549 of file charactr.h.
Referenced by change_trade_status(), do_open_trade_window(), do_place_item_in_secure_trade_container(), and send_trade_statuses().
Definition at line 547 of file charactr.h.
Referenced by create_trade_container(), get_script_member_id(), realm_changed(), trade_container(), and weight().
Definition at line 548 of file charactr.h.
Referenced by cancel_trade(), change_trade_status(), do_open_trade_window(), doubleclick(), find_legal_singleclick_item(), get_script_member_id(), handle_walk(), is_trading(), UOExecutorModule::mf_CloseTradeWindow(), place_item_in_secure_trade_container(), and send_trade_statuses().
Definition at line 666 of file charactr.h.
Referenced by character_race_changer_handler(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), die(), get_script_member_id(), printProperties(), readCommonProperties(), resurrect(), and set_script_member_id().
Definition at line 667 of file charactr.h.
Referenced by ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), get_script_member_id(), printProperties(), readCommonProperties(), and set_script_member_id().
| std::string Character::uclang |
Definition at line 685 of file charactr.h.
Referenced by get_script_member_id(), handle_msg_BF(), and readCommonProperties().
| vector<VitalValue> Character::vitals |
Definition at line 683 of file charactr.h.
Referenced by calc_vital_stuff(), set_vitals_to_maximum(), and vital().
| bool Character::warmode |
Definition at line 653 of file charactr.h.
Referenced by NPC::anchor_allows_move(), die(), get_flag1(), get_script_member_id(), is_visible_to_me(), open_trade_window(), regen_stats(), resurrect(), script_method_id(), send_paperdoll(), send_warmode(), set_opponent(), and set_warmode().
| unsigned int Character::warmode_wait |
Definition at line 333 of file charactr.h.
Referenced by handle_mode_set().
UWeapon* Character::weapon [protected] |
Definition at line 751 of file charactr.h.
Referenced by attack(), damage_weapon(), do_attack_effects(), do_hit_failure_effects(), do_hit_success_effects(), equip(), equippable(), face(), get_script_member_id(), is_attackable(), max_weapon_damage(), min_weapon_damage(), move(), random_weapon_damage(), NPC::readNpcProperties(), run_hit_script(), schedule_attack(), unequip(), weapon_anim(), and weapon_attribute().
WornItemsContainer& Character::wornitems [protected] |
Definition at line 743 of file charactr.h.
Referenced by attack(), backpack(), Character(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), createchar2(), NPC::destroy(), die(), equip(), find_wornitem(), is_equipped(), layer_is_equipped(), position_changed(), printWornItems(), readCommonProperties(), realm_changed(), NPC::refresh_ar(), refresh_ar(), resurrect(), unequip(), weight(), wornitem(), and ~Character().
ref_ptr<WornItemsContainer> Character::wornitems_ref [protected] |
Definition at line 742 of file charactr.h.