mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 11:28:25 +00:00
[Quest API] Alphabetize Lua method exports. (#1673)
- Keeps things tidier. - Removes unnecessary/outdated comments at the top of files.
This commit is contained in:
+24
-24
@@ -132,32 +132,32 @@ Lua_Bot Lua_Entity::CastToBot() {
|
||||
|
||||
luabind::scope lua_register_entity() {
|
||||
return luabind::class_<Lua_Entity>("Entity")
|
||||
.def(luabind::constructor<>())
|
||||
.property("null", &Lua_Entity::Null)
|
||||
.property("valid", &Lua_Entity::Valid)
|
||||
.def("IsClient", &Lua_Entity::IsClient)
|
||||
.def("IsNPC", &Lua_Entity::IsNPC)
|
||||
.def("IsMob", &Lua_Entity::IsMob)
|
||||
.def("IsMerc", &Lua_Entity::IsMerc)
|
||||
.def("IsCorpse", &Lua_Entity::IsCorpse)
|
||||
.def("IsPlayerCorpse", &Lua_Entity::IsPlayerCorpse)
|
||||
.def("IsNPCCorpse", &Lua_Entity::IsNPCCorpse)
|
||||
.def("IsObject", &Lua_Entity::IsObject)
|
||||
.def("IsDoor", &Lua_Entity::IsDoor)
|
||||
.def("IsTrap", &Lua_Entity::IsTrap)
|
||||
.def("IsBeacon", &Lua_Entity::IsBeacon)
|
||||
.def("IsEncounter", &Lua_Entity::IsEncounter)
|
||||
.def("IsBot", &Lua_Entity::IsBot)
|
||||
.def("GetID", &Lua_Entity::GetID)
|
||||
.def("CastToClient", &Lua_Entity::CastToClient)
|
||||
.def(luabind::constructor<>())
|
||||
.property("null", &Lua_Entity::Null)
|
||||
.property("valid", &Lua_Entity::Valid)
|
||||
#ifdef BOTS
|
||||
.def("CastToBot", &Lua_Entity::CastToBot)
|
||||
.def("CastToBot", &Lua_Entity::CastToBot)
|
||||
#endif
|
||||
.def("CastToNPC", &Lua_Entity::CastToNPC)
|
||||
.def("CastToMob", &Lua_Entity::CastToMob)
|
||||
.def("CastToCorpse", &Lua_Entity::CastToCorpse)
|
||||
.def("CastToObject", &Lua_Entity::CastToObject)
|
||||
.def("CastToDoor", &Lua_Entity::CastToDoor);
|
||||
.def("CastToClient", &Lua_Entity::CastToClient)
|
||||
.def("CastToCorpse", &Lua_Entity::CastToCorpse)
|
||||
.def("CastToDoor", &Lua_Entity::CastToDoor)
|
||||
.def("CastToMob", &Lua_Entity::CastToMob)
|
||||
.def("CastToNPC", &Lua_Entity::CastToNPC)
|
||||
.def("CastToObject", &Lua_Entity::CastToObject)
|
||||
.def("GetID", &Lua_Entity::GetID)
|
||||
.def("IsBeacon", &Lua_Entity::IsBeacon)
|
||||
.def("IsBot", &Lua_Entity::IsBot)
|
||||
.def("IsClient", &Lua_Entity::IsClient)
|
||||
.def("IsCorpse", &Lua_Entity::IsCorpse)
|
||||
.def("IsDoor", &Lua_Entity::IsDoor)
|
||||
.def("IsEncounter", &Lua_Entity::IsEncounter)
|
||||
.def("IsMerc", &Lua_Entity::IsMerc)
|
||||
.def("IsMob", &Lua_Entity::IsMob)
|
||||
.def("IsNPC", &Lua_Entity::IsNPC)
|
||||
.def("IsNPCCorpse", &Lua_Entity::IsNPCCorpse)
|
||||
.def("IsObject", &Lua_Entity::IsObject)
|
||||
.def("IsPlayerCorpse", &Lua_Entity::IsPlayerCorpse)
|
||||
.def("IsTrap", &Lua_Entity::IsTrap);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user