|
| BonusAttackElement (std::shared_ptr< Unit > unit, int value) |
|
| Bonus () |
|
| Bonus (std::shared_ptr< Unit > unit, status_point_type status_point_type, int bonus, int parameter_1=0, int parameter_2=0, int parameter_3=0) |
|
| Bonus (Bonus &other) |
|
| Bonus (Bonus &&other) noexcept |
|
Bonus & | operator= (Bonus &other) |
|
Bonus & | operator= (Bonus &&other) noexcept |
|
int32_t | get () |
|
void | set (int bonus, bool notify_client=true) |
|
int32_t | get_parameter_1 () |
|
void | set_parameter_1 (int parameter_1) |
|
int32_t | get_parameter_2 () |
|
void | set_parameter_2 (int parameter_2) |
|
int32_t | get_parameter_3 () |
|
void | set_parameter_3 (int parameter_3) |
|
virtual void | apply (int64_t &ret) |
|
virtual void | remove (int64_t &ret) |
|
std::shared_ptr< Unit > | unit () |
|
void | unit (std::shared_ptr< Unit > e) |
|
void | set_applied (bool applied) |
|
bool | is_applied () |
|
| Attribute ()=default |
|
| Attribute (std::weak_ptr< Unit > unit, status_point_type st_type, int32_t base=0, int32_t equip=0, int32_t status=0) |
|
| Attribute (const Attribute &other) |
|
| Attribute (Attribute &&other) noexcept |
|
std::shared_ptr< Unit > | unit () |
|
void | unit (std::shared_ptr< Unit > e) |
|
virtual void | set_base (int32_t val, bool notify=true) |
|
virtual void | add_base (int32_t val, bool notify=true) |
|
virtual void | sub_base (int32_t val, bool notify=true) |
|
virtual int32_t | get_base () const |
|
virtual void | set_equip (int32_t val, bool notify=true) |
|
virtual void | add_equip (int32_t val, bool notify=true) |
|
virtual void | sub_equip (int32_t val, bool notify=true) |
|
virtual int32_t | get_equip () const |
|
virtual void | set_status (int32_t val, bool notify=true) |
|
virtual void | add_status (int32_t val, bool notify=true) |
|
virtual void | sub_status (int32_t val, bool notify=true) |
|
virtual int32_t | get_status () const |
|
virtual int32_t | total () const |
|
virtual int32_t | compute () |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
TT | operator+ (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
TT | operator/ (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
TT | operator* (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
TT | operator- (TT right) |
|
int | operator+ (Attribute const &right) const |
|
double | operator/ (Attribute const &right) |
|
double | operator* (Attribute const &right) |
|
int | operator- (Attribute const &right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator== (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator!= (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator> (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator>= (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator< (TT right) |
|
template<typename TT , typename std::enable_if< std::is_integral< TT >::value >::type * = nullptr> |
bool | operator<= (TT right) |
|
bool | operator== (Attribute const &right) |
|
bool | operator!= (Attribute const &right) |
|
bool | operator> (Attribute const &right) |
|
bool | operator>= (Attribute const &right) |
|
bool | operator< (Attribute const &right) |
|
bool | operator<= (Attribute const &right) |
|
Attribute | operator= (Attribute &right) |
|
Attribute | operator= (Attribute &&right) |
|
void | add_permanent_change (s_attribute_change_values change, std::string source) |
|
void | remove_permanent_change (std::string source) |
|
void | add_temporary_change (s_attribute_change_values change, uint64_t duration, std::string source) |
|
void | remove_temporary_change (std::string source) |
|
void | add_periodic_change (s_attribute_change_values change, uint64_t duration, uint64_t interval, std::string source) |
|
void | remove_periodic_change (std::string source) |
|
void | update (uint64_t delta) |
|
void | apply (bool notify=true) |
|
void | reset () |
|
void | notify () |
|
status_point_type | get_type () const |
|
bool | needs_recalculation () const |
|
void | recalculate (bool flag) |
|
bool | is_compute_ready () const |
|