[Quest API] Add EVENT_GM_COMMAND to Perl/Lua. (#2634)

# Perl
- Add `EVENT_GM_COMMAND`, exports `$message`.

# Lua
- Add `event_gm_command`, exports `e.message`.

# Notes
- Only parses with real GM commands such as `#reload quest`.
This commit is contained in:
Alex King
2022-12-11 14:08:38 -05:00
committed by GitHub
parent 20efa83f73
commit 46f993ef71
7 changed files with 35 additions and 2 deletions
+9
View File
@@ -609,6 +609,15 @@ void handle_player_level_down(
std::vector<std::any> *extra_pointers
);
void handle_player_gm_command(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
// Item
void handle_item_click(