feat(LuaEngine): Add GetInventoryFreeSlots and GetBankFreeSlots to Player class (#369)

This commit is contained in:
arielcami
2026-03-18 16:35:37 -05:00
committed by GitHub
parent 9ecb0f6d10
commit e665ae2f38
2 changed files with 69 additions and 0 deletions

View File

@@ -478,6 +478,8 @@ ALERegister<Unit> UnitMethods[] =
ALERegister<Player> PlayerMethods[] =
{
// Getters
{ "GetInventoryFreeSlots", &LuaPlayer::GetInventoryFreeSlots },
{ "GetBankFreeSlots", &LuaPlayer::GetBankFreeSlots },
{ "GetSelection", &LuaPlayer::GetSelection },
{ "GetGMRank", &LuaPlayer::GetGMRank },
{ "GetGuildId", &LuaPlayer::GetGuildId },