[Quest API] Add Timer Events to Perl/Lua (#4099)

* [Quest API] Add Timer Events to Perl/Lua

# DRAFT

* Cleanup
This commit is contained in:
Alex King
2024-02-19 04:51:16 -05:00
committed by GitHub
parent 137a9f835a
commit db3601c25c
9 changed files with 901 additions and 250 deletions
+80
View File
@@ -220,6 +220,26 @@ void handle_npc_loot_added(
std::vector<std::any> *extra_pointers
);
void handle_npc_timer_pause_resume_start(
QuestInterface *parse,
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
void handle_npc_timer_stop(
QuestInterface *parse,
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
// Player
void handle_player_say(
QuestInterface *parse,
@@ -770,6 +790,24 @@ void handle_player_crystal_gain_loss(
std::vector<std::any> *extra_pointers
);
void handle_player_timer_pause_resume_start(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
void handle_player_timer_stop(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
// Item
void handle_item_click(
QuestInterface *parse,
@@ -870,6 +908,28 @@ void handle_item_null(
std::vector<std::any> *extra_pointers
);
void handle_item_timer_pause_resume_start(
QuestInterface *parse,
lua_State* L,
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
void handle_item_timer_stop(
QuestInterface *parse,
lua_State* L,
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
// Spell
void handle_spell_event(
QuestInterface *parse,
@@ -1112,5 +1172,25 @@ void handle_bot_level_down(
std::vector<std::any> *extra_pointers
);
void handle_bot_timer_pause_resume_start(
QuestInterface *parse,
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
void handle_bot_timer_stop(
QuestInterface *parse,
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
#endif
#endif