feat(PlayerMethods): Expose the player settings methods (#125)

This commit is contained in:
Skjalf
2023-04-13 19:41:54 -03:00
committed by GitHub
parent a689c043a7
commit cea79af0b1
3 changed files with 34 additions and 0 deletions

View File

@@ -543,6 +543,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "GetRankPoints", &LuaPlayer::GetRankPoints },
{ "GetHonorLastWeekStandingPos", &LuaPlayer::GetHonorLastWeekStandingPos },
#endif
{ "GetPlayerSettingValue", &LuaPlayer::GetPlayerSettingValue },
// Setters
{ "AdvanceSkillsToMax", &LuaPlayer::AdvanceSkillsToMax },
@@ -779,6 +780,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "ResetHonor", &LuaPlayer::ResetHonor },
{ "ClearHonorInfo", &LuaPlayer::ClearHonorInfo },
#endif
{ "UpdatePlayerSetting", &LuaPlayer::UpdatePlayerSetting },
{ NULL, NULL }
};