mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 05:08:26 +00:00
[Quest API] Add GetGuildPublicNote() to Perl/Lua. (#2608)
# Perl - Add `$client->GetGuildPublicNote()`. # Lua - Add `client:GetGuildPublicNote()`. # Notes - Allows operators to grab a player's public note in there guild if they wanted to.
This commit is contained in:
@@ -2855,6 +2855,12 @@ luabind::object Lua_Client::GetZoneFlags(lua_State* L) {
|
||||
return t;
|
||||
}
|
||||
|
||||
std::string Lua_Client::GetGuildPublicNote()
|
||||
{
|
||||
Lua_Safe_Call_String();
|
||||
return self->GetGuildPublicNote();
|
||||
}
|
||||
|
||||
#ifdef BOTS
|
||||
|
||||
int Lua_Client::GetBotRequiredLevel()
|
||||
@@ -3112,6 +3118,7 @@ luabind::scope lua_register_client() {
|
||||
.def("GetGMStatus", (int16(Lua_Client::*)(void))&Lua_Client::GetGMStatus)
|
||||
.def("GetGroup", (Lua_Group(Lua_Client::*)(void))&Lua_Client::GetGroup)
|
||||
.def("GetGroupPoints", (uint32(Lua_Client::*)(void))&Lua_Client::GetGroupPoints)
|
||||
.def("GetGuildPublicNote", (std::string(Lua_Client::*)(void))&Lua_Client::GetGuildPublicNote)
|
||||
.def("GetHorseId", (int(Lua_Client::*)(void))&Lua_Client::GetHorseId)
|
||||
.def("GetHealAmount", (int(Lua_Client::*)(void))&Lua_Client::GetHealAmount)
|
||||
.def("GetHunger", (int(Lua_Client::*)(void))&Lua_Client::GetHunger)
|
||||
|
||||
Reference in New Issue
Block a user