mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[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:
@@ -4554,7 +4554,8 @@ luabind::scope lua_register_events() {
|
||||
luabind::value("aa_buy", static_cast<int>(EVENT_AA_BUY)),
|
||||
luabind::value("aa_gain", static_cast<int>(EVENT_AA_GAIN)),
|
||||
luabind::value("payload", static_cast<int>(EVENT_PAYLOAD)),
|
||||
luabind::value("level_down", static_cast<int>(EVENT_LEVEL_DOWN))
|
||||
luabind::value("level_down", static_cast<int>(EVENT_LEVEL_DOWN)),
|
||||
luabind::value("gm_command", static_cast<int>(EVENT_GM_COMMAND))
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user