Horizon Official Technical Documentation
Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand Class Reference

#include <Combat.hpp>

+ Inheritance diagram for Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand:
+ Collaboration diagram for Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand:

Classes

struct  s_skill_result_operation_config
 

Public Member Functions

 SkillResultOperand ()=delete
 
 SkillResultOperand (std::shared_ptr< Unit > source, std::shared_ptr< Unit > target, s_skill_result_operation_config config)
 
 ~SkillResultOperand ()
 
s_skill_result_operation_config get_config ()
 
- Public Member Functions inherited from Horizon::Zone::CombatRegistry::CombatOperand
virtual ~CombatOperand ()=default
 
virtual combat_operand_type get_type ()
 
std::shared_ptr< Unitget_source ()
 
std::shared_ptr< Unitget_target ()
 
void set_source (std::shared_ptr< Unit > source)
 
void set_target (std::shared_ptr< Unit > target)
 

Private Attributes

s_skill_result_operation_config _config
 

Additional Inherited Members

- Public Types inherited from Horizon::Zone::CombatRegistry::CombatOperand
enum  combat_operand_type {
  COMBAT_OPERAND_ATTRIBUTE = 0 , COMBAT_OPERAND_APPEARANCE = 1 , COMBAT_OPERAND_STATUS = 2 , COMBAT_OPERAND_SKILL_EXECUTION = 3 ,
  COMBAT_OPERAND_MELEE_EXECUTION = 4 , COMBAT_OPERAND_SKILL_RESULT = 5 , COMBAT_OPERAND_MELEE_RESULT = 6
}
 
- Protected Member Functions inherited from Horizon::Zone::CombatRegistry::CombatOperand
 CombatOperand ()=delete
 
 CombatOperand (CombatOperand &operand)=delete
 
 CombatOperand (CombatOperand &&operand)=delete
 
 CombatOperand (std::shared_ptr< Unit > source, std::shared_ptr< Unit > target, combat_operand_type type)
 
void operator= (const CombatOperand &operand)=delete
 
void operator= (CombatOperand &&operand)=delete
 

Constructor & Destructor Documentation

◆ SkillResultOperand() [1/2]

Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand::SkillResultOperand ( )
delete

◆ SkillResultOperand() [2/2]

Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand::SkillResultOperand ( std::shared_ptr< Unit source,
std::shared_ptr< Unit target,
s_skill_result_operation_config  config 
)
inline
505 : CombatOperand(source, target, COMBAT_OPERAND_SKILL_RESULT), _config(config) { }
@ COMBAT_OPERAND_SKILL_RESULT
Definition: Combat.hpp:255
s_skill_result_operation_config _config
Definition: Combat.hpp:510

◆ ~SkillResultOperand()

Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand::~SkillResultOperand ( )
inline
506{ }

Member Function Documentation

◆ get_config()

s_skill_result_operation_config Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand::get_config ( )
inline
508{ return _config; }

References _config.

Referenced by Horizon::Zone::CombatRegistry::SkillResultOperation::execute(), and Horizon::Zone::CombatComponent::sync_data_types().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _config

s_skill_result_operation_config Horizon::Zone::CombatRegistry::SkillResultOperation::SkillResultOperand::_config
private

Referenced by get_config().


The documentation for this class was generated from the following file: