mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Remove functions not to be used or cant be used and fix TC build
This commit is contained in:
@@ -458,7 +458,6 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "GetQuestLevel", &LuaPlayer::GetQuestLevel }, // :GetQuestLevel(quest) - Returns quest's level
|
||||
{ "GetChatTag", &LuaPlayer::GetChatTag }, // :GetChatTag() - Returns player chat tag ID
|
||||
{ "GetRestBonus", &LuaPlayer::GetRestBonus }, // :GetRestBonus() - Gets player's rest bonus
|
||||
{ "GetRestType", &LuaPlayer::GetRestType }, // :GetRestType() - Returns the player's rest type
|
||||
#ifdef WOTLK
|
||||
{ "GetPhaseMaskForSpawn", &LuaPlayer::GetPhaseMaskForSpawn }, // :GetPhaseMaskForSpawn() - Gets the real phasemask for spawning things. Used if the player is in GM mode
|
||||
#endif
|
||||
@@ -490,7 +489,6 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "GetBattlegroundId", &LuaPlayer::GetBattlegroundId }, // :GetBattlegroundId() - Returns the player's current battleground ID
|
||||
{ "GetBattlegroundTypeId", &LuaPlayer::GetBattlegroundTypeId }, // :GetBattlegroundTypeId() - Returns the player's current battleground type ID
|
||||
{ "GetXPRestBonus", &LuaPlayer::GetXPRestBonus }, // :GetXPRestBonus(xp) - Returns the rested bonus XP from given XP
|
||||
{ "GetRestTime", &LuaPlayer::GetRestTime }, // :GetRestTime() - Returns the timed rested
|
||||
{ "GetGroupInvite", &LuaPlayer::GetGroupInvite }, // :GetGroupInvite() - Returns the group invited to
|
||||
{ "GetSubGroup", &LuaPlayer::GetSubGroup }, // :GetSubGroup() - Gets the player's current subgroup ID
|
||||
{ "GetNextRandomRaidMember", &LuaPlayer::GetNextRandomRaidMember }, // :GetNextRandomRaidMember(radius) - Gets a random raid member in given radius
|
||||
@@ -545,7 +543,6 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "SetPvPDeath", &LuaPlayer::SetPvPDeath }, // :SetPvPDeath([on]) - Sets PvP death on or off
|
||||
{ "SetAcceptWhispers", &LuaPlayer::SetAcceptWhispers }, // :SetAcceptWhispers([on]) - Sets whisper accepting death on or off
|
||||
{ "SetRestBonus", &LuaPlayer::SetRestBonus }, // :SetRestBonus(bonusrate) - Sets new restbonus rate
|
||||
{ "SetRestType", &LuaPlayer::SetRestType }, // :SetRestType() - Sets rest type
|
||||
{ "SetQuestStatus", &LuaPlayer::SetQuestStatus }, // :SetQuestStatus(entry, status) - Sets the quest's status
|
||||
{ "SetReputation", &LuaPlayer::SetReputation }, // :SetReputation(faction, value) - Sets the faction reputation for the player
|
||||
{ "SetFreeTalentPoints", &LuaPlayer::SetFreeTalentPoints }, // :SetFreeTalentPoints(points) - Sets the amount of unused talent points
|
||||
@@ -554,7 +551,6 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "SetSkill", &LuaPlayer::SetSkill }, // :SetSkill(skill, step, currVal, maxVal) - Sets the skill's boundaries and value
|
||||
{ "SetFactionForRace", &LuaPlayer::SetFactionForRace }, // :SetFactionForRace(race) - Sets the faction by raceID
|
||||
{ "SetDrunkValue", &LuaPlayer::SetDrunkValue }, // :SetDrunkValue(newDrunkValue) - Sets drunkness value
|
||||
{ "SetRestTime", &LuaPlayer::SetRestTime }, // :SetRestTime(value) - Sets the rested time
|
||||
{ "SetAtLoginFlag", &LuaPlayer::SetAtLoginFlag }, // :SetAtLoginFlag(flag) - Adds an at login flag
|
||||
{ "SetPlayerLock", &LuaPlayer::SetPlayerLock }, // :SetPlayerLock(on/off)
|
||||
{ "SetGender", &LuaPlayer::SetGender }, // :SetGender(value) - 0 = male 1 = female
|
||||
|
||||
Reference in New Issue
Block a user