mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna change definition checks from mangos to tc
This commit is contained in:
@@ -444,7 +444,7 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "GetNextRandomRaidMember", &LuaPlayer::GetNextRandomRaidMember }, // :GetNextRandomRaidMember(radius) - Gets a random raid member in given radius
|
||||
{ "GetOriginalGroup", &LuaPlayer::GetOriginalGroup }, // :GetOriginalGroup() - Gets the original group object
|
||||
{ "GetOriginalSubGroup", &LuaPlayer::GetOriginalSubGroup }, // :GetOriginalSubGroup() - Returns the original subgroup ID
|
||||
#ifndef MANGOS
|
||||
#ifdef TRINITY
|
||||
{ "GetChampioningFaction", &LuaPlayer::GetChampioningFaction }, // :GetChampioningFaction() - Returns the player's championing faction
|
||||
#endif
|
||||
{ "GetLatency", &LuaPlayer::GetLatency }, // :GetLatency() - Returns player's latency
|
||||
@@ -507,7 +507,7 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "SetPlayerLock", &LuaPlayer::SetPlayerLock }, // :SetPlayerLock(on/off)
|
||||
{ "SetGender", &LuaPlayer::SetGender }, // :SetGender(value) - 0 = male 1 = female
|
||||
{ "SetSheath", &LuaPlayer::SetSheath }, // :SetSheath(SheathState) - Sets player's sheathstate
|
||||
#ifdef MANGOS
|
||||
#ifndef TRINITY
|
||||
{ "SetFFA", &LuaPlayer::SetFFA }, // :SetFFA([apply]) - Sets the units FFA tag on or off
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user