mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Change lua constants to be less ugly
This commit is contained in:
@@ -2366,7 +2366,7 @@ luabind::scope lua_register_ruleb() {
|
||||
}
|
||||
|
||||
luabind::scope lua_register_journal_speakmode() {
|
||||
return luabind::class_<Journal_SpeakMode>("Journal_SpeakMode")
|
||||
return luabind::class_<Journal_SpeakMode>("SpeakMode")
|
||||
.enum_("constants")
|
||||
[
|
||||
luabind::value("Raw", static_cast<int>(Journal::SpeakMode::Raw)),
|
||||
@@ -2379,7 +2379,7 @@ luabind::scope lua_register_journal_speakmode() {
|
||||
}
|
||||
|
||||
luabind::scope lua_register_journal_mode() {
|
||||
return luabind::class_<Journal_Mode>("Journal_Mode")
|
||||
return luabind::class_<Journal_Mode>("JournalMode")
|
||||
.enum_("constants")
|
||||
[
|
||||
luabind::value("None", static_cast<int>(Journal::Mode::None)),
|
||||
|
||||
Reference in New Issue
Block a user