[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:
Alex King
2022-12-04 12:18:18 -05:00
committed by GitHub
parent 80fffb57b1
commit 5d5c2a4194
5 changed files with 30 additions and 0 deletions
+6
View File
@@ -2732,6 +2732,11 @@ perl::array Perl_Client_GetZoneFlags(Client* self)
return a;
}
std::string Perl_Client_GetGuildPublicNote(Client* self)
{
return self->GetGuildPublicNote();
}
#ifdef BOTS
int Perl_Client_GetBotRequiredLevel(Client* self)
@@ -2981,6 +2986,7 @@ void perl_register_client()
package.add("GetGMStatus", &Perl_Client_GetGMStatus);
package.add("GetGroup", &Perl_Client_GetGroup);
package.add("GetGroupPoints", &Perl_Client_GetGroupPoints);
package.add("GetGuildPublicNote", &Perl_Client_GetGuildPublicNote);
package.add("GetHorseId", &Perl_Client_GetHorseId);
package.add("GetHealAmount", &Perl_Client_GetHealAmount);
package.add("GetHunger", &Perl_Client_GetHunger);