Horizon Official Technical Documentation
Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand Class Reference

#include <Combat.hpp>

+ Inheritance diagram for Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand:
+ Collaboration diagram for Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand:

Classes

struct  s_melee_execution_operation_config
 

Public Member Functions

 MeleeExecutionOperand ()=delete
 
 MeleeExecutionOperand (std::shared_ptr< Unit > source, std::shared_ptr< Unit > target, s_melee_execution_operation_config config)
 
 ~MeleeExecutionOperand ()
 
s_melee_execution_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_melee_execution_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

◆ MeleeExecutionOperand() [1/2]

Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand::MeleeExecutionOperand ( )
delete

◆ MeleeExecutionOperand() [2/2]

Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand::MeleeExecutionOperand ( std::shared_ptr< Unit source,
std::shared_ptr< Unit target,
s_melee_execution_operation_config  config 
)
inline
544 : CombatOperand(source, target, COMBAT_OPERAND_MELEE_EXECUTION), _config(config) { }
@ COMBAT_OPERAND_MELEE_EXECUTION
Definition: Combat.hpp:254
s_melee_execution_operation_config _config
Definition: Combat.hpp:549

◆ ~MeleeExecutionOperand()

Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand::~MeleeExecutionOperand ( )
inline
545{ }

Member Function Documentation

◆ get_config()

s_melee_execution_operation_config Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand::get_config ( )
inline
547{ return _config; }

References _config.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ _config

s_melee_execution_operation_config Horizon::Zone::CombatRegistry::MeleeExecutionOperation::MeleeExecutionOperand::_config
private

Referenced by get_config().


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