Horizon Official Technical Documentation
|
|
#include <SkillExecution.hpp>
Public Member Functions | |
SkillExecution (std::shared_ptr< Unit > initial_source, int16_t skill_id, int16_t skill_lv) | |
~SkillExecution () | |
void | execute (int initial_target_guid) |
void | execute (MapCoords map_coords) |
void | execute (int16_t x, int16_t y) |
void | execute (MapCoords map_coords, std::string message) |
void | execute (int16_t x, int16_t y, std::string message) |
sol::table | get_skill_cast_data () |
Private Member Functions | |
void | start_execution (enum skill_target_type target_type) |
std::shared_ptr< Map > | map () |
void | set_map (std::shared_ptr< Map > map) |
std::shared_ptr< GameLogicProcess > | map_container () |
std::shared_ptr< ScriptManager > | lua_manager () |
std::shared_ptr< sol::state > | lua_state () |
Private Attributes | |
std::weak_ptr< Map > | _map |
std::weak_ptr< GameLogicProcess > | _map_container_thread |
std::weak_ptr< ScriptManager > | _lua_mgr |
std::weak_ptr< sol::state > | _lua_state |
std::shared_ptr< Unit > | _initial_source {nullptr} |
std::shared_ptr< Unit > | _initial_target {nullptr} |
int16_t | _skill_id |
int16_t | _skill_lv |
MapCoords | _map_coords |
std::string | _message |
sol::table | _scd |
SkillExecution::SkillExecution | ( | std::shared_ptr< Unit > | initial_source, |
int16_t | skill_id, | ||
int16_t | skill_lv | ||
) |
References set_map().
SkillExecution::~SkillExecution | ( | ) |
void SkillExecution::execute | ( | int | initial_target_guid | ) |
References _initial_source, _initial_target, SKTT_SINGLE_TARGETED, and start_execution().
Referenced by execute(), and Horizon::Zone::SkillComponent::sync_data_types().
void SkillExecution::execute | ( | int16_t | x, |
int16_t | y | ||
) |
References execute().
void SkillExecution::execute | ( | int16_t | x, |
int16_t | y, | ||
std::string | message | ||
) |
void SkillExecution::execute | ( | MapCoords | map_coords | ) |
References _map_coords, SKTT_GROUND_TARGETED, and start_execution().
void SkillExecution::execute | ( | MapCoords | map_coords, |
std::string | message | ||
) |
References _map_coords, _message, SKTT_GROUND_TARGETED, and start_execution().
|
inline |
References _scd.
Referenced by Horizon::Zone::SkillComponent::sync_data_types().
|
inlineprivate |
References _lua_mgr.
|
inlineprivate |
References _lua_state.
Referenced by set_map(), and start_execution().
|
inlineprivate |
|
inlineprivate |
References _map_container_thread.
|
private |
References _lua_mgr, _lua_state, _map, _map_container_thread, lua_state(), map(), Horizon::System::RUNTIME_SCRIPTVM, and sZone.
Referenced by SkillExecution().
|
private |
References _initial_source, _initial_target, _map_coords, _message, _scd, _skill_id, _skill_lv, HLog, lua_state(), SkillDB, SKTT_SINGLE_TARGETED, and sZone.
Referenced by execute().
|
private |
Referenced by execute(), and start_execution().
|
private |
Referenced by execute(), and start_execution().
|
private |
Referenced by lua_manager(), and set_map().
|
private |
Referenced by lua_state(), and set_map().
|
private |
Referenced by map_container(), and set_map().
|
private |
Referenced by execute(), and start_execution().
|
private |
Referenced by execute(), and start_execution().
|
private |
Referenced by get_skill_cast_data(), and start_execution().
|
private |
Referenced by start_execution().
|
private |
Referenced by start_execution().