mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
[Bug Fix] Add Missing Lua Registers (#4525)
This commit is contained in:
parent
b92eafd21b
commit
dfd2729b28
@ -6772,7 +6772,6 @@ luabind::scope lua_register_random() {
|
|||||||
)];
|
)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
luabind::scope lua_register_events() {
|
luabind::scope lua_register_events() {
|
||||||
return luabind::class_<Events>("Event")
|
return luabind::class_<Events>("Event")
|
||||||
.enum_("constants")
|
.enum_("constants")
|
||||||
@ -8008,7 +8007,6 @@ luabind::scope lua_register_journal_mode() {
|
|||||||
)];
|
)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
luabind::scope lua_register_exp_source() {
|
luabind::scope lua_register_exp_source() {
|
||||||
return luabind::class_<ExpSource>("ExpSource")
|
return luabind::class_<ExpSource>("ExpSource")
|
||||||
.enum_("constants")
|
.enum_("constants")
|
||||||
|
|||||||
@ -21,8 +21,10 @@ luabind::scope lua_register_rules_const();
|
|||||||
luabind::scope lua_register_rulei();
|
luabind::scope lua_register_rulei();
|
||||||
luabind::scope lua_register_ruler();
|
luabind::scope lua_register_ruler();
|
||||||
luabind::scope lua_register_ruleb();
|
luabind::scope lua_register_ruleb();
|
||||||
|
luabind::scope lua_register_rules();
|
||||||
luabind::scope lua_register_journal_speakmode();
|
luabind::scope lua_register_journal_speakmode();
|
||||||
luabind::scope lua_register_journal_mode();
|
luabind::scope lua_register_journal_mode();
|
||||||
|
luabind::scope lua_register_exp_source();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -1312,11 +1312,13 @@ void LuaParser::MapFunctions(lua_State *L) {
|
|||||||
lua_register_rulei(),
|
lua_register_rulei(),
|
||||||
lua_register_ruler(),
|
lua_register_ruler(),
|
||||||
lua_register_ruleb(),
|
lua_register_ruleb(),
|
||||||
|
lua_register_rules(),
|
||||||
lua_register_journal_speakmode(),
|
lua_register_journal_speakmode(),
|
||||||
lua_register_journal_mode(),
|
lua_register_journal_mode(),
|
||||||
lua_register_expedition(),
|
lua_register_expedition(),
|
||||||
lua_register_expedition_lock_messages(),
|
lua_register_expedition_lock_messages(),
|
||||||
lua_register_buff()
|
lua_register_buff(),
|
||||||
|
lua_register_exp_source()
|
||||||
)];
|
)];
|
||||||
|
|
||||||
} catch(std::exception &ex) {
|
} catch(std::exception &ex) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user