mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Remove unused ExpeditionMemberStatus Lua constants
This commit is contained in:
parent
32cc2d66dd
commit
39fad0c1a0
@ -166,16 +166,4 @@ luabind::scope lua_register_expedition() {
|
|||||||
.def("SetZoneInLocation", (void(Lua_Expedition::*)(float, float, float, float))&Lua_Expedition::SetZoneInLocation);
|
.def("SetZoneInLocation", (void(Lua_Expedition::*)(float, float, float, float))&Lua_Expedition::SetZoneInLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
luabind::scope lua_register_expedition_member_status() {
|
|
||||||
return luabind::class_<ExpeditionMemberStatus>("ExpeditionMemberStatus")
|
|
||||||
.enum_("constants")
|
|
||||||
[
|
|
||||||
luabind::value("Unknown", static_cast<int>(ExpeditionMemberStatus::Unknown)),
|
|
||||||
luabind::value("Online", static_cast<int>(ExpeditionMemberStatus::Online)),
|
|
||||||
luabind::value("Offline", static_cast<int>(ExpeditionMemberStatus::Offline)),
|
|
||||||
luabind::value("InDynamicZone", static_cast<int>(ExpeditionMemberStatus::InDynamicZone)),
|
|
||||||
luabind::value("LinkDead", static_cast<int>(ExpeditionMemberStatus::LinkDead))
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // LUA_EQEMU
|
#endif // LUA_EQEMU
|
||||||
|
|||||||
@ -39,7 +39,6 @@ namespace luabind {
|
|||||||
}
|
}
|
||||||
|
|
||||||
luabind::scope lua_register_expedition();
|
luabind::scope lua_register_expedition();
|
||||||
luabind::scope lua_register_expedition_member_status();
|
|
||||||
|
|
||||||
class Lua_Expedition : public Lua_Ptr<Expedition>
|
class Lua_Expedition : public Lua_Ptr<Expedition>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1110,8 +1110,7 @@ void LuaParser::MapFunctions(lua_State *L) {
|
|||||||
lua_register_ruleb(),
|
lua_register_ruleb(),
|
||||||
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_member_status()
|
|
||||||
];
|
];
|
||||||
|
|
||||||
} catch(std::exception &ex) {
|
} catch(std::exception &ex) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user