29#ifndef HORIZON_ZONE_NPC_LUA_COMPONENT_HPP
30#define HORIZON_ZONE_NPC_LUA_COMPONENT_HPP
40class GameLogicProcess;
Definition: LUAComponent.hpp:40
Definition: NPCComponent.hpp:42
std::shared_ptr< npc_db_data > get_npc_from_db(uint32_t guid)
Definition: NPCComponent.hpp:53
void add_npc_to_db(uint32_t guid, std::shared_ptr< npc_db_data > const &data)
Definition: NPCComponent.hpp:52
void sync_data_types(std::shared_ptr< sol::state > state)
Definition: NPCComponent.cpp:45
void sync_definitions(std::shared_ptr< sol::state > state)
Definition: NPCComponent.cpp:41
~NPCComponent()
Definition: NPCComponent.hpp:46
void sync_functions(std::shared_ptr< sol::state > state)
Definition: NPCComponent.cpp:56
NPCComponent(std::shared_ptr< GameLogicProcess > container)
Definition: NPCComponent.hpp:45
void contact_npc_for_player(std::shared_ptr< Units::Player > player, uint32_t npc_guid)
Definition: NPCComponent.cpp:202
LockedLookupTable< uint32_t, std::shared_ptr< npc_db_data > > _npc_db
Definition: NPCComponent.hpp:62
NPCComponent()
Definition: NPCComponent.hpp:44
void continue_npc_script_for_player(std::shared_ptr< Units::Player > player, uint32_t npc_guid, uint32_t select_idx=0)
Definition: NPCComponent.cpp:222
Definition: LockedLookupTable.hpp:44
void insert(const Key &key, const Value &value)
Definition: LockedLookupTable.hpp:68
Value at(Key const &key, Value const &default_value=Value()) const
Definition: LockedLookupTable.hpp:63
Definition: Element.hpp:7