|
Pol
Rev 533
|
#include <charactr.h>
Public Member Functions | |
| AttributeValue () | |
| int | base () const |
| void | base (unsigned short base) |
| unsigned short | cap () const |
| void | cap (unsigned short cap) |
| int | effective () const |
| int | effective_tenths () const |
| int | intrinsic_mod () const |
| void | intrinsic_mod (short val) |
| unsigned char | lock () const |
| void | lock (unsigned char lockstate) |
| int | temp_mod () const |
| void | temp_mod (short temp) |
Private Attributes | |
| unsigned short | _base |
| unsigned short | _cap |
| short | _intrinsic |
| unsigned char | _lockstate |
| short | _temp |
Definition at line 86 of file charactr.h.
| AttributeValue::AttributeValue | ( | ) | [inline] |
Definition at line 89 of file charactr.h.
| int AttributeValue::base | ( | ) | const [inline] |
Definition at line 106 of file charactr.h.
References _base.
Referenced by base(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), Character::equippable(), AttributeExecutorModule::mf_GetAttributeBaseValue(), AttributeExecutorModule::mf_SetAttributeBaseValue(), Character::printProperties(), Character::readAttributesAndVitals(), NPC::readNewNpcAttributes(), send_skillmsg(), send_uo_skill(), and Character::strong_enough_to_equip().
Here is the caller graph for this function:| void AttributeValue::base | ( | unsigned short | base | ) | [inline] |
Definition at line 111 of file charactr.h.
References _base, ATTRIBUTE_MAX_BASE, base(), and passert.
Here is the call graph for this function:| unsigned short AttributeValue::cap | ( | ) | const [inline] |
Definition at line 144 of file charactr.h.
References _cap.
Referenced by cap(), AttributeExecutorModule::mf_GetAttributeCap(), AttributeExecutorModule::mf_SetAttributeCap(), Character::printProperties(), Character::readAttributesAndVitals(), send_skillmsg(), send_uo_skill(), and Character::set_caps_to_default().
Here is the caller graph for this function:| void AttributeValue::cap | ( | unsigned short | cap | ) | [inline] |
| int AttributeValue::effective | ( | ) | const [inline] |
Definition at line 91 of file charactr.h.
References _base, _intrinsic, and _temp.
Referenced by Character::attack(), Character::dexterity(), Character::intelligence(), AttributeExecutorModule::mf_GetAttribute(), NPC::refresh_ar(), Character::refresh_ar(), send_full_statmsg(), and Character::strength().
Here is the caller graph for this function:| int AttributeValue::effective_tenths | ( | ) | const [inline] |
Definition at line 98 of file charactr.h.
References _base, _intrinsic, and _temp.
Referenced by AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), AttributeExecutorModule::mf_SetAttributeBaseValue(), AttributeExecutorModule::mf_SetAttributeTemporaryMod(), send_skillmsg(), and send_uo_skill().
Here is the caller graph for this function:| int AttributeValue::intrinsic_mod | ( | ) | const [inline] |
Definition at line 126 of file charactr.h.
References _intrinsic.
Referenced by Character::calc_single_attribute(), and AttributeExecutorModule::mf_GetAttributeIntrinsicMod().
Here is the caller graph for this function:| void AttributeValue::intrinsic_mod | ( | short | val | ) | [inline] |
Definition at line 130 of file charactr.h.
References _intrinsic.
| unsigned char AttributeValue::lock | ( | ) | const [inline] |
Definition at line 135 of file charactr.h.
References _lockstate.
Referenced by ext_stats_in(), handle_skill_lock(), AttributeExecutorModule::mf_GetAttributeLock(), AttributeExecutorModule::mf_SetAttributeLock(), Character::printProperties(), Character::readAttributesAndVitals(), send_skillmsg(), send_stat_locks(), and send_uo_skill().
Here is the caller graph for this function:| void AttributeValue::lock | ( | unsigned char | lockstate | ) | [inline] |
Definition at line 139 of file charactr.h.
References _lockstate.
| int AttributeValue::temp_mod | ( | ) | const [inline] |
Definition at line 117 of file charactr.h.
References _temp.
Referenced by AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), AttributeExecutorModule::mf_GetAttributeTemporaryMod(), and AttributeExecutorModule::mf_SetAttributeTemporaryMod().
Here is the caller graph for this function:| void AttributeValue::temp_mod | ( | short | temp | ) | [inline] |
Definition at line 121 of file charactr.h.
References _temp.
unsigned short AttributeValue::_base [private] |
Definition at line 154 of file charactr.h.
Referenced by base(), effective(), and effective_tenths().
unsigned short AttributeValue::_cap [private] |
Definition at line 158 of file charactr.h.
Referenced by cap().
short AttributeValue::_intrinsic [private] |
Definition at line 156 of file charactr.h.
Referenced by effective(), effective_tenths(), and intrinsic_mod().
unsigned char AttributeValue::_lockstate [private] |
Definition at line 157 of file charactr.h.
Referenced by lock().
short AttributeValue::_temp [private] |
Definition at line 155 of file charactr.h.
Referenced by effective(), effective_tenths(), and temp_mod().