[Quest API] Cleanup string copies and push_backs. (#2807)

# Notes
- Several places use `push_back` instead of `emplace_back`.
- Several places use `std::string` instead of `const std::string&`.
This commit is contained in:
Alex King
2023-01-29 15:14:49 -05:00
committed by GitHub
parent 0fef46a6c1
commit bcc2e022dc
21 changed files with 372 additions and 397 deletions
+107 -117
View File
@@ -2,12 +2,12 @@
#define _EQE_LUA_PARSER_EVENTS_H
#ifdef LUA_EQEMU
typedef void(*NPCArgumentHandler)(QuestInterface*, lua_State*, NPC*, Mob*, std::string, uint32, std::vector<std::any>*);
typedef void(*PlayerArgumentHandler)(QuestInterface*, lua_State*, Client*, std::string, uint32, std::vector<std::any>*);
typedef void(*ItemArgumentHandler)(QuestInterface*, lua_State*, Client*, EQ::ItemInstance*, Mob*, std::string, uint32, std::vector<std::any>*);
typedef void(*SpellArgumentHandler)(QuestInterface*, lua_State*, Mob*, Client*, uint32, std::string, uint32, std::vector<std::any>*);
typedef void(*EncounterArgumentHandler)(QuestInterface*, lua_State*, Encounter* encounter, std::string, uint32, std::vector<std::any>*);
typedef void(*BotArgumentHandler)(QuestInterface*, lua_State*, Bot*, Mob*, std::string, uint32, std::vector<std::any>*);
typedef void(*NPCArgumentHandler)(QuestInterface*, lua_State*, NPC*, Mob*, const std::string&, uint32, std::vector<std::any>*);
typedef void(*PlayerArgumentHandler)(QuestInterface*, lua_State*, Client*, const std::string&, uint32, std::vector<std::any>*);
typedef void(*ItemArgumentHandler)(QuestInterface*, lua_State*, Client*, EQ::ItemInstance*, Mob*, const std::string&, uint32, std::vector<std::any>*);
typedef void(*SpellArgumentHandler)(QuestInterface*, lua_State*, Mob*, Client*, uint32, const std::string&, uint32, std::vector<std::any>*);
typedef void(*EncounterArgumentHandler)(QuestInterface*, lua_State*, Encounter* encounter, const std::string&, uint32, std::vector<std::any>*);
typedef void(*BotArgumentHandler)(QuestInterface*, lua_State*, Bot*, Mob*, const std::string&, uint32, std::vector<std::any>*);
// NPC
void handle_npc_event_say(
@@ -15,7 +15,7 @@ void handle_npc_event_say(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -25,7 +25,7 @@ void handle_npc_event_trade(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -35,7 +35,7 @@ void handle_npc_event_hp(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -45,7 +45,7 @@ void handle_npc_single_mob(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -55,17 +55,7 @@ void handle_npc_single_client(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
void handle_npc_single_npc(
QuestInterface *parse,
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -75,7 +65,7 @@ void handle_npc_task_accepted(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -85,7 +75,7 @@ void handle_npc_popup(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -95,7 +85,7 @@ void handle_npc_waypoint(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -105,7 +95,7 @@ void handle_npc_hate(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -115,7 +105,7 @@ void handle_npc_signal(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -125,7 +115,7 @@ void handle_npc_timer(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -135,7 +125,7 @@ void handle_npc_death(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -145,7 +135,7 @@ void handle_npc_cast(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -155,7 +145,7 @@ void handle_npc_area(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -165,7 +155,7 @@ void handle_npc_null(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -175,7 +165,7 @@ void handle_npc_loot_zone(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -185,7 +175,7 @@ void handle_npc_spawn_zone(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -195,7 +185,7 @@ void handle_npc_payload(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -205,7 +195,7 @@ void handle_npc_despawn_zone(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -215,7 +205,7 @@ void handle_npc_damage(
lua_State* L,
NPC* npc,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -225,7 +215,7 @@ void handle_player_say(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -234,7 +224,7 @@ void handle_player_environmental_damage(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -243,7 +233,7 @@ void handle_player_death(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -252,7 +242,7 @@ void handle_player_timer(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -261,7 +251,7 @@ void handle_player_discover_item(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -270,7 +260,7 @@ void handle_player_fish_forage_success(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -279,7 +269,7 @@ void handle_player_click_object(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -288,7 +278,7 @@ void handle_player_click_door(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -297,7 +287,7 @@ void handle_player_signal(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -306,7 +296,7 @@ void handle_player_popup_response(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -315,7 +305,7 @@ void handle_player_pick_up(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -324,7 +314,7 @@ void handle_player_cast(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -333,7 +323,7 @@ void handle_player_task_fail(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -342,7 +332,7 @@ void handle_player_zone(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -351,7 +341,7 @@ void handle_player_duel_win(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -360,7 +350,7 @@ void handle_player_duel_loss(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -369,7 +359,7 @@ void handle_player_loot(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -378,7 +368,7 @@ void handle_player_task_stage_complete(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -387,7 +377,7 @@ void handle_player_task_update(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -396,7 +386,7 @@ void handle_player_command(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -405,7 +395,7 @@ void handle_player_combine(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -414,7 +404,7 @@ void handle_player_feign(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -423,7 +413,7 @@ void handle_player_area(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -432,7 +422,7 @@ void handle_player_respawn(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -441,7 +431,7 @@ void handle_player_packet(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -450,7 +440,7 @@ void handle_player_null(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -459,7 +449,7 @@ void handle_player_use_skill(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -468,7 +458,7 @@ void handle_test_buff(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -477,7 +467,7 @@ void handle_player_combine_validate(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -486,7 +476,7 @@ void handle_player_bot_command(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -495,7 +485,7 @@ void handle_player_warp(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -504,7 +494,7 @@ void handle_player_quest_combine(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -513,7 +503,7 @@ void handle_player_consider(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -522,7 +512,7 @@ void handle_player_consider_corpse(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -531,7 +521,7 @@ void handle_player_equip_item(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -540,7 +530,7 @@ void handle_player_skill_up(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -549,7 +539,7 @@ void handle_player_language_skill_up(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -558,7 +548,7 @@ void handle_player_alt_currency_merchant(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -567,7 +557,7 @@ void handle_player_merchant(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -576,7 +566,7 @@ void handle_player_inspect(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -585,7 +575,7 @@ void handle_player_aa_buy(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -594,7 +584,7 @@ void handle_player_aa_gain(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -603,7 +593,7 @@ void handle_player_payload(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -612,7 +602,7 @@ void handle_player_level_up(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -621,7 +611,7 @@ void handle_player_level_down(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -630,7 +620,7 @@ void handle_player_gm_command(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -639,7 +629,7 @@ void handle_player_bot_create(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -648,7 +638,7 @@ void handle_player_augment_insert(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -657,7 +647,7 @@ void handle_player_augment_remove(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -666,7 +656,7 @@ void handle_player_damage(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -678,7 +668,7 @@ void handle_item_click(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -689,7 +679,7 @@ void handle_item_timer(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -700,7 +690,7 @@ void handle_item_proc(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -711,7 +701,7 @@ void handle_item_loot(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -722,7 +712,7 @@ void handle_item_equip(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -733,7 +723,7 @@ void handle_item_augment(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -744,7 +734,7 @@ void handle_item_augment_insert(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -755,7 +745,7 @@ void handle_item_augment_remove(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -766,7 +756,7 @@ void handle_item_null(
Client* client,
EQ::ItemInstance* item,
Mob *mob,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -778,7 +768,7 @@ void handle_spell_event(
Mob* mob,
Client* client,
uint32 spell_id,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -789,7 +779,7 @@ void handle_translocate_finish(
Mob* mob,
Client* client,
uint32 spell_id,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -800,7 +790,7 @@ void handle_spell_null(
Mob* mob,
Client* client,
uint32 spell_id,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -810,7 +800,7 @@ void handle_encounter_timer(
QuestInterface *parse,
lua_State* L,
Encounter* encounter,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -819,7 +809,7 @@ void handle_encounter_load(
QuestInterface *parse,
lua_State* L,
Encounter* encounter,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -828,7 +818,7 @@ void handle_encounter_unload(
QuestInterface *parse,
lua_State* L,
Encounter* encounter,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -837,7 +827,7 @@ void handle_encounter_null(
QuestInterface *parse,
lua_State* L,
Encounter* encounter,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -848,7 +838,7 @@ void handle_bot_null(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -858,7 +848,7 @@ void handle_bot_cast(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -868,7 +858,7 @@ void handle_bot_combat(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -878,7 +868,7 @@ void handle_bot_death(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -888,7 +878,7 @@ void handle_bot_popup_response(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -898,7 +888,7 @@ void handle_bot_say(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -908,7 +898,7 @@ void handle_bot_signal(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -918,7 +908,7 @@ void handle_bot_slay(
lua_State* L,
Bot* bot,
Mob *init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -928,7 +918,7 @@ void handle_bot_target_change(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -938,7 +928,7 @@ void handle_bot_timer(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -948,7 +938,7 @@ void handle_bot_trade(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -958,7 +948,7 @@ void handle_bot_use_skill(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -968,7 +958,7 @@ void handle_bot_payload(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -978,7 +968,7 @@ void handle_bot_equip_item(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
@@ -988,7 +978,7 @@ void handle_bot_damage(
lua_State* L,
Bot* bot,
Mob* init,
std::string data,
const std::string& data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);