Horizon Official Technical Documentation
|
|
#include <BonusesImpl.hpp>
Public Member Functions | |
BonusExpPercentPerRace (std::shared_ptr< Unit > unit) | |
void | set (int type, int bonus, bool notify_client=true) |
![]() | |
BonusArray (std::shared_ptr< Unit > unit, status_point_type status_point_type) | |
BonusArray (const BonusArray &other) | |
BonusArray (BonusArray &&other) | |
BonusArray & | operator= (const BonusArray &other) |
BonusArray & | operator= (BonusArray &&other) |
Bonus & | operator[] (int type) |
const Bonus & | operator[] (int type) const |
Bonus | get (int type) |
void | set (int type, Bonus bonus) |
void | clear () |
void | clear (int type) |
![]() | |
IBonusArray (status_point_type type) | |
virtual | ~IBonusArray () |
virtual void | clear ()=0 |
virtual void | clear (int type)=0 |
status_point_type | get_type () |
void | set_type (status_point_type st_type) |
Additional Inherited Members | |
![]() | |
std::array< Bonus, TYPEMAX > | _types |
![]() | |
status_point_type | _st_type |
|
inline |
|
inline |
References Horizon::Zone::Bonuses::BonusArray< Bonus, MONSTER_RACE_MAX >::_types.
Referenced by Horizon::Zone::UnitComponent::sync_data_types().