mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 08:21:28 +00:00
Add GetTargetRingX(), GetTargetRingY(), and GetTargetRingZ() to Lua.
This commit is contained in:
parent
de5b7f472d
commit
c58ba2e6a5
@ -329,6 +329,21 @@ uint32 Lua_Client::GetBindZoneID(int index) {
|
|||||||
return self->GetBindZoneID(index);
|
return self->GetBindZoneID(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
float Lua_Client::GetTargetRingX() {
|
||||||
|
Lua_Safe_Call_Real();
|
||||||
|
return self->GetTargetRingX();
|
||||||
|
}
|
||||||
|
|
||||||
|
float Lua_Client::GetTargetRingY() {
|
||||||
|
Lua_Safe_Call_Real();
|
||||||
|
return self->GetTargetRingY();
|
||||||
|
}
|
||||||
|
|
||||||
|
float Lua_Client::GetTargetRingZ() {
|
||||||
|
Lua_Safe_Call_Real();
|
||||||
|
return self->GetTargetRingZ();
|
||||||
|
}
|
||||||
|
|
||||||
void Lua_Client::MovePC(int zone, float x, float y, float z, float heading) {
|
void Lua_Client::MovePC(int zone, float x, float y, float z, float heading) {
|
||||||
Lua_Safe_Call_Void();
|
Lua_Safe_Call_Void();
|
||||||
self->MovePC(zone, x, y, z, heading);
|
self->MovePC(zone, x, y, z, heading);
|
||||||
@ -1942,6 +1957,9 @@ luabind::scope lua_register_client() {
|
|||||||
.def("GetBindHeading", (float(Lua_Client::*)(int))&Lua_Client::GetBindHeading)
|
.def("GetBindHeading", (float(Lua_Client::*)(int))&Lua_Client::GetBindHeading)
|
||||||
.def("GetBindZoneID", (uint32(Lua_Client::*)(void))&Lua_Client::GetBindZoneID)
|
.def("GetBindZoneID", (uint32(Lua_Client::*)(void))&Lua_Client::GetBindZoneID)
|
||||||
.def("GetBindZoneID", (uint32(Lua_Client::*)(int))&Lua_Client::GetBindZoneID)
|
.def("GetBindZoneID", (uint32(Lua_Client::*)(int))&Lua_Client::GetBindZoneID)
|
||||||
|
.def("GetTargetRingX", (float(Lua_Client::*)(void))&Lua_Client::GetTargetRingX)
|
||||||
|
.def("GetTargetRingY", (float(Lua_Client::*)(void))&Lua_Client::GetTargetRingY)
|
||||||
|
.def("GetTargetRingZ", (float(Lua_Client::*)(void))&Lua_Client::GetTargetRingZ)
|
||||||
.def("SetPrimaryWeaponOrnamentation", (void(Lua_Client::*)(uint32))&Lua_Client::SetPrimaryWeaponOrnamentation)
|
.def("SetPrimaryWeaponOrnamentation", (void(Lua_Client::*)(uint32))&Lua_Client::SetPrimaryWeaponOrnamentation)
|
||||||
.def("SetSecondaryWeaponOrnamentation", (void(Lua_Client::*)(uint32))&Lua_Client::SetSecondaryWeaponOrnamentation)
|
.def("SetSecondaryWeaponOrnamentation", (void(Lua_Client::*)(uint32))&Lua_Client::SetSecondaryWeaponOrnamentation)
|
||||||
.def("MovePC", (void(Lua_Client::*)(int,float,float,float,float))&Lua_Client::MovePC)
|
.def("MovePC", (void(Lua_Client::*)(int,float,float,float,float))&Lua_Client::MovePC)
|
||||||
|
|||||||
@ -92,6 +92,9 @@ public:
|
|||||||
float GetBindHeading(int index);
|
float GetBindHeading(int index);
|
||||||
uint32 GetBindZoneID();
|
uint32 GetBindZoneID();
|
||||||
uint32 GetBindZoneID(int index);
|
uint32 GetBindZoneID(int index);
|
||||||
|
float GetTargetRingX();
|
||||||
|
float GetTargetRingY();
|
||||||
|
float GetTargetRingZ();
|
||||||
void MovePC(int zone, float x, float y, float z, float heading);
|
void MovePC(int zone, float x, float y, float z, float heading);
|
||||||
void MovePCInstance(int zone, int instance, float x, float y, float z, float heading);
|
void MovePCInstance(int zone, int instance, float x, float y, float z, float heading);
|
||||||
void MoveZone(const char *zone_short_name);
|
void MoveZone(const char *zone_short_name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user