|
| PlayerCombatComponent (ItemId helmet_id, ItemId armor_id, ItemId shield_id, ItemId weapon_id, unsigned int current_hp, unsigned int current_mp, stats_t stats, Player &player, float attack_speed) |
|
std::vector< map_log_t > | use_ability (Entity *target, position_t source, position_t dest) |
|
attack_t | attack () override |
|
attack_result_t | receive_damage (attack_t attack) override |
|
Armor * | equip (Armor *armor) |
|
Weapon * | equip (Weapon *weapon) |
|
Armor * | unequip_helmet () |
|
Armor * | unequip_chest () |
|
Armor * | unequip_shield () |
|
Weapon * | unequip_weapon () |
|
void | regen_max () |
|
void | regen (unsigned int amount_hp, unsigned int amount_mp) |
|
void | regen_hp (unsigned int amount_hp) |
|
void | regen_mp (unsigned int amount_mp) |
|
void | set_meditate (bool meditating) |
|
void | resuscitate (int delta_t) |
|
void | update (uint64_t delta_t) override |
|
bool | attack_ready () const override |
|
nlohmann::json | get_data () const override |
|
nlohmann::json | get_persist_data () const |
|
| CombatComponent (unsigned int max_hp, unsigned int max_mp) |
|
| CombatComponent (unsigned int max_hp, unsigned int max_mp, unsigned int current_hp, unsigned int current_mp) |
|
void | reset_max (unsigned int max_hp, unsigned int max_mp) |
|
unsigned int | restore_hp (unsigned int hp) |
|
bool | can_spend_mp (unsigned int mp) |
|
void | spend_mp (unsigned int mp) |
|
unsigned int | get_max_hp () const |
|
void | set_max_mp (unsigned int mp) |
|
void | set_max_hp (unsigned int hp) |
|
|
unsigned int | max_hp |
|
unsigned int | max_mp |
|
unsigned int | current_hp |
|
unsigned int | current_mp |
|
La documentación para esta clase fue generada a partir de los siguientes ficheros:
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/server/game/entities/components/player_combat_component.h
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/server/game/entities/components/player_combat_component.cpp