mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +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:
+37
-37
@@ -180,43 +180,43 @@ bool Lua_Object::EntityVariableExists(const char *name) {
|
||||
|
||||
luabind::scope lua_register_object() {
|
||||
return luabind::class_<Lua_Object, Lua_Entity>("Object")
|
||||
.def(luabind::constructor<>())
|
||||
.property("null", &Lua_Object::Null)
|
||||
.property("valid", &Lua_Object::Valid)
|
||||
.def("Depop", (void(Lua_Object::*)(void))&Lua_Object::Depop)
|
||||
.def("Repop", (void(Lua_Object::*)(void))&Lua_Object::Repop)
|
||||
.def("SetModelName", (void(Lua_Object::*)(const char*))&Lua_Object::SetModelName)
|
||||
.def("GetModelName", (const char*(Lua_Object::*)(void))&Lua_Object::GetModelName)
|
||||
.def("GetX", (float(Lua_Object::*)(void))&Lua_Object::GetX)
|
||||
.def("GetY", (float(Lua_Object::*)(void))&Lua_Object::GetY)
|
||||
.def("GetZ", (float(Lua_Object::*)(void))&Lua_Object::GetZ)
|
||||
.def("GetHeading", (float(Lua_Object::*)(void))&Lua_Object::GetHeading)
|
||||
.def("SetX", (void(Lua_Object::*)(float))&Lua_Object::SetX)
|
||||
.def("SetY", (void(Lua_Object::*)(float))&Lua_Object::SetY)
|
||||
.def("SetZ", (void(Lua_Object::*)(float))&Lua_Object::SetZ)
|
||||
.def("SetHeading", (void(Lua_Object::*)(float))&Lua_Object::SetHeading)
|
||||
.def("SetLocation", (void(Lua_Object::*)(float,float,float))&Lua_Object::SetLocation)
|
||||
.def("SetItemID", (void(Lua_Object::*)(uint32))&Lua_Object::SetItemID)
|
||||
.def("GetItemID", (uint32(Lua_Object::*)(void))&Lua_Object::GetItemID)
|
||||
.def("SetIcon", (void(Lua_Object::*)(uint32))&Lua_Object::SetIcon)
|
||||
.def("GetIcon", (uint32(Lua_Object::*)(void))&Lua_Object::GetIcon)
|
||||
.def("SetType", (void(Lua_Object::*)(uint32))&Lua_Object::SetType)
|
||||
.def("GetType", (uint32(Lua_Object::*)(void))&Lua_Object::GetType)
|
||||
.def("GetDBID", (uint32(Lua_Object::*)(void))&Lua_Object::GetDBID)
|
||||
.def("ClearUser", (void(Lua_Object::*)(void))&Lua_Object::ClearUser)
|
||||
.def("SetID", (void(Lua_Object::*)(int))&Lua_Object::SetID)
|
||||
.def("GetID", (int(Lua_Object::*)(void))&Lua_Object::GetID)
|
||||
.def("Save", (bool(Lua_Object::*)(void))&Lua_Object::Save)
|
||||
.def("VarSave", (uint32(Lua_Object::*)(void))&Lua_Object::VarSave)
|
||||
.def("DeleteItem", (void(Lua_Object::*)(int))&Lua_Object::DeleteItem)
|
||||
.def("StartDecay", (void(Lua_Object::*)(void))&Lua_Object::StartDecay)
|
||||
.def("Delete", (void(Lua_Object::*)(void))&Lua_Object::Delete)
|
||||
.def("Delete", (void(Lua_Object::*)(bool))&Lua_Object::Delete)
|
||||
.def("IsGroundSpawn", (bool(Lua_Object::*)(void))&Lua_Object::IsGroundSpawn)
|
||||
.def("Close", (void(Lua_Object::*)(void))&Lua_Object::Close)
|
||||
.def("GetEntityVariable", (const char*(Lua_Object::*)(const char*))&Lua_Object::GetEntityVariable)
|
||||
.def("SetEntityVariable", (void(Lua_Object::*)(const char*,const char*))&Lua_Object::SetEntityVariable)
|
||||
.def("EntityVariableExists", (bool(Lua_Object::*)(const char*))&Lua_Object::EntityVariableExists);
|
||||
.def(luabind::constructor<>())
|
||||
.property("null", &Lua_Object::Null)
|
||||
.property("valid", &Lua_Object::Valid)
|
||||
.def("ClearUser", (void(Lua_Object::*)(void))&Lua_Object::ClearUser)
|
||||
.def("Close", (void(Lua_Object::*)(void))&Lua_Object::Close)
|
||||
.def("Delete", (void(Lua_Object::*)(bool))&Lua_Object::Delete)
|
||||
.def("Delete", (void(Lua_Object::*)(void))&Lua_Object::Delete)
|
||||
.def("DeleteItem", (void(Lua_Object::*)(int))&Lua_Object::DeleteItem)
|
||||
.def("Depop", (void(Lua_Object::*)(void))&Lua_Object::Depop)
|
||||
.def("EntityVariableExists", (bool(Lua_Object::*)(const char*))&Lua_Object::EntityVariableExists)
|
||||
.def("GetDBID", (uint32(Lua_Object::*)(void))&Lua_Object::GetDBID)
|
||||
.def("GetEntityVariable", (const char*(Lua_Object::*)(const char*))&Lua_Object::GetEntityVariable)
|
||||
.def("GetHeading", (float(Lua_Object::*)(void))&Lua_Object::GetHeading)
|
||||
.def("GetID", (int(Lua_Object::*)(void))&Lua_Object::GetID)
|
||||
.def("GetIcon", (uint32(Lua_Object::*)(void))&Lua_Object::GetIcon)
|
||||
.def("GetItemID", (uint32(Lua_Object::*)(void))&Lua_Object::GetItemID)
|
||||
.def("GetModelName", (const char*(Lua_Object::*)(void))&Lua_Object::GetModelName)
|
||||
.def("GetType", (uint32(Lua_Object::*)(void))&Lua_Object::GetType)
|
||||
.def("GetX", (float(Lua_Object::*)(void))&Lua_Object::GetX)
|
||||
.def("GetY", (float(Lua_Object::*)(void))&Lua_Object::GetY)
|
||||
.def("GetZ", (float(Lua_Object::*)(void))&Lua_Object::GetZ)
|
||||
.def("IsGroundSpawn", (bool(Lua_Object::*)(void))&Lua_Object::IsGroundSpawn)
|
||||
.def("Repop", (void(Lua_Object::*)(void))&Lua_Object::Repop)
|
||||
.def("Save", (bool(Lua_Object::*)(void))&Lua_Object::Save)
|
||||
.def("SetEntityVariable", (void(Lua_Object::*)(const char*,const char*))&Lua_Object::SetEntityVariable)
|
||||
.def("SetHeading", (void(Lua_Object::*)(float))&Lua_Object::SetHeading)
|
||||
.def("SetID", (void(Lua_Object::*)(int))&Lua_Object::SetID)
|
||||
.def("SetIcon", (void(Lua_Object::*)(uint32))&Lua_Object::SetIcon)
|
||||
.def("SetItemID", (void(Lua_Object::*)(uint32))&Lua_Object::SetItemID)
|
||||
.def("SetLocation", (void(Lua_Object::*)(float,float,float))&Lua_Object::SetLocation)
|
||||
.def("SetModelName", (void(Lua_Object::*)(const char*))&Lua_Object::SetModelName)
|
||||
.def("SetType", (void(Lua_Object::*)(uint32))&Lua_Object::SetType)
|
||||
.def("SetX", (void(Lua_Object::*)(float))&Lua_Object::SetX)
|
||||
.def("SetY", (void(Lua_Object::*)(float))&Lua_Object::SetY)
|
||||
.def("SetZ", (void(Lua_Object::*)(float))&Lua_Object::SetZ)
|
||||
.def("StartDecay", (void(Lua_Object::*)(void))&Lua_Object::StartDecay)
|
||||
.def("VarSave", (uint32(Lua_Object::*)(void))&Lua_Object::VarSave);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user