Pol
Revision:cb584c9
|
#include <attribute.h>
Public Member Functions | |
Attribute (const Plib::Package *pkg, Clib::ConfigElem &elem) | |
Attribute (const std::string &name) | |
~Attribute () | |
size_t | estimateSize () const |
Static Public Member Functions | |
static Attribute * | FindAttribute (const std::string &str) |
static Attribute * | FindAttribute (unsigned attrid) |
Public Attributes | |
std::vector< std::string > | aliases |
unsigned | attrid |
unsigned short | default_cap |
unsigned | delay_seconds |
bool | disable_core_checks |
Core::ExportedFunction * | getintrinsicmod_func |
std::string | name |
Attribute * | next |
const Plib::Package * | pkg |
Core::ScriptDef | script_ |
bool | unhides |
Definition at line 31 of file attribute.h.
Pol::Mobile::Attribute::Attribute | ( | const Plib::Package * | pkg, |
Clib::ConfigElem & | elem | ||
) |
Definition at line 39 of file attribute.cpp.
References aliases, Pol::Core::FindExportedFunction(), getintrinsicmod_func, name, and Pol::Clib::ConfigElem::remove_prop().
Referenced by estimateSize(), and Pol::Mobile::load_attribute_entry().
|
explicit |
Pol::Mobile::Attribute::~Attribute | ( | ) |
Definition at line 63 of file attribute.cpp.
References getintrinsicmod_func.
size_t Pol::Mobile::Attribute::estimateSize | ( | ) | const |
Definition at line 69 of file attribute.cpp.
References aliases, Attribute(), Pol::Core::ScriptDef::estimatedSize(), name, and script_.
|
static |
Definition at line 22 of file attribute.cpp.
References Pol::Core::GameState::attributes_byname, and Pol::Core::gamestate.
Referenced by Pol::Core::checka(), Pol::Core::getAttributeParam(), Pol::Mobile::load_attribute_entry(), Pol::Mobile::load_attributes_cfg(), Pol::Module::VitalExecutorModule::mf_RecalcVitals(), Pol::Mobile::Character::printProperties(), Pol::Mobile::Character::readAttributesAndVitals(), Pol::Mobile::NPC::readNewNpcAttributes(), Pol::Core::UOSkill::UOSkill(), and Pol::Items::WeaponDesc::WeaponDesc().
|
static |
Definition at line 31 of file attribute.cpp.
References Pol::Core::gamestate.
std::vector<std::string> Pol::Mobile::Attribute::aliases |
Definition at line 43 of file attribute.h.
Referenced by Attribute(), and estimateSize().
unsigned Pol::Mobile::Attribute::attrid |
Definition at line 41 of file attribute.h.
Referenced by Pol::Mobile::Character::calc_single_attribute(), Pol::Core::checka(), Pol::Core::ClientCreateChar(), Pol::Core::ClientCreateChar70160(), Pol::Core::ClientCreateCharKR(), Pol::Core::ext_stats_in(), Pol::Core::handle_skill_lock(), Pol::Network::UOClientInterface::Initialize(), Pol::Module::AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), Pol::Module::AttributeExecutorModule::mf_GetAttribute(), Pol::Module::AttributeExecutorModule::mf_GetAttributeBaseValue(), Pol::Module::AttributeExecutorModule::mf_GetAttributeCap(), Pol::Module::AttributeExecutorModule::mf_GetAttributeIntrinsicMod(), Pol::Module::AttributeExecutorModule::mf_GetAttributeLock(), Pol::Module::AttributeExecutorModule::mf_GetAttributeTemporaryMod(), Pol::Module::AttributeExecutorModule::mf_SetAttributeBaseValue(), Pol::Module::AttributeExecutorModule::mf_SetAttributeCap(), Pol::Module::AttributeExecutorModule::mf_SetAttributeLock(), Pol::Module::AttributeExecutorModule::mf_SetAttributeTemporaryMod(), Pol::Core::send_skillmsg(), Pol::Network::send_uo_skill(), Pol::Network::ClientInterface::tell_attribute_changed(), and Pol::Mobile::Character::weapon_attribute().
unsigned short Pol::Mobile::Attribute::default_cap |
Definition at line 55 of file attribute.h.
Referenced by Pol::Module::AttributeExecutorModule::mf_GetAttributeDefaultCap(), and Pol::Mobile::Character::set_caps_to_default().
unsigned Pol::Mobile::Attribute::delay_seconds |
Definition at line 50 of file attribute.h.
Referenced by Pol::Module::OSExecutorModule::start_skill_script(), and Pol::Core::StartSkillScript().
bool Pol::Mobile::Attribute::disable_core_checks |
Definition at line 52 of file attribute.h.
Referenced by Pol::Core::handle_use_skill(), and Pol::Module::OSExecutorModule::start_skill_script().
Core::ExportedFunction* Pol::Mobile::Attribute::getintrinsicmod_func |
Definition at line 47 of file attribute.h.
Referenced by Attribute(), Pol::Mobile::Character::calc_single_attribute(), and ~Attribute().
std::string Pol::Mobile::Attribute::name |
Definition at line 40 of file attribute.h.
Referenced by Attribute(), estimateSize(), Pol::Module::AttributeExecutorModule::mf_GetAttributeName(), Pol::Items::WeaponDesc::PopulateStruct(), and Pol::Module::OSExecutorModule::start_skill_script().
Attribute* Pol::Mobile::Attribute::next |
Definition at line 45 of file attribute.h.
Referenced by Pol::Mobile::Character::printProperties(), Pol::Mobile::Character::readAttributesAndVitals(), and Pol::Mobile::NPC::readNewNpcAttributes().
const Plib::Package* Pol::Mobile::Attribute::pkg |
Definition at line 39 of file attribute.h.
Referenced by Pol::Mobile::load_attribute_entry().
Core::ScriptDef Pol::Mobile::Attribute::script_ |
Definition at line 57 of file attribute.h.
Referenced by estimateSize(), Pol::Core::handle_use_skill(), Pol::Module::OSExecutorModule::start_skill_script(), and Pol::Core::StartSkillScript().
bool Pol::Mobile::Attribute::unhides |
Definition at line 51 of file attribute.h.
Referenced by Pol::Module::OSExecutorModule::start_skill_script(), and Pol::Core::StartSkillScript().