Add GetReactState to CreatureMethods and GetKnownTaxiNodes, SetKnownTaxiNodes to PlayerMethods (#285)

Co-authored-by: iThorgrim <125808072+iThorgrim@users.noreply.github.com>
This commit is contained in:
Aldori
2025-08-10 16:07:18 -04:00
committed by GitHub
parent f272b03042
commit bcfe631307
3 changed files with 86 additions and 0 deletions

View File

@@ -543,6 +543,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "GetPlayerSettingValue", &LuaPlayer::GetPlayerSettingValue },
{ "GetTrader", &LuaPlayer::GetTrader },
{ "GetBonusTalentCount", &LuaPlayer::GetBonusTalentCount },
{ "GetKnownTaxiNodes", &LuaPlayer::GetKnownTaxiNodes },
// Setters
{ "AdvanceSkillsToMax", &LuaPlayer::AdvanceSkillsToMax },
@@ -559,6 +560,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "SetLifetimeKills", &LuaPlayer::SetLifetimeKills },
{ "SetGameMaster", &LuaPlayer::SetGameMaster },
{ "SetGMChat", &LuaPlayer::SetGMChat },
{ "SetKnownTaxiNodes", &LuaPlayer::SetKnownTaxiNodes },
{ "SetTaxiCheat", &LuaPlayer::SetTaxiCheat },
{ "SetGMVisible", &LuaPlayer::SetGMVisible },
{ "SetPvPDeath", &LuaPlayer::SetPvPDeath },
@@ -785,6 +787,7 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "GetShieldBlockValue", &LuaCreature::GetShieldBlockValue },
{ "GetDBTableGUIDLow", &LuaCreature::GetDBTableGUIDLow },
{ "GetCreatureFamily", &LuaCreature::GetCreatureFamily },
{ "GetReactState", &LuaCreature::GetReactState },
// Setters
{ "SetRegeneratingHealth", &LuaCreature::SetRegeneratingHealth },