diff --git a/ElunaTemplate.h b/ElunaTemplate.h index 667b7e952c..7081348b3e 100644 --- a/ElunaTemplate.h +++ b/ElunaTemplate.h @@ -168,10 +168,6 @@ struct ElunaRegister : name(name), mfunc(func), regState(state) {} // constructor for nullptr functions and METHOD_REG_NONE (unimplemented methods) - ElunaRegister(const char* name, std::nullptr_t, MethodRegisterState state = METHOD_REG_NONE) - : name(name), mfunc(std::monostate{}), regState(state) {} - - // constructor for empty entry (last entry of method table) ElunaRegister(const char* name = nullptr, MethodRegisterState state = METHOD_REG_NONE) : name(name), mfunc(std::monostate{}), regState(state) {} }; diff --git a/methods/CMangos/CreatureMethods.h b/methods/CMangos/CreatureMethods.h index f572b5825f..46fbddcdfd 100644 --- a/methods/CMangos/CreatureMethods.h +++ b/methods/CMangos/CreatureMethods.h @@ -1222,7 +1222,7 @@ namespace LuaCreature #ifndef CATA { "GetShieldBlockValue", &LuaCreature::GetShieldBlockValue }, #else - { "GetShieldBlockValue", nullptr, METHOD_REG_NONE }, + { "GetShieldBlockValue", METHOD_REG_NONE }, #endif // Setters @@ -1243,7 +1243,7 @@ namespace LuaCreature #ifndef CATA { "SetDisableReputationGain", &LuaCreature::SetDisableReputationGain }, #else - { "SetDisableReputationGain", nullptr, METHOD_REG_NONE }, + { "SetDisableReputationGain", METHOD_REG_NONE }, #endif // Boolean @@ -1271,7 +1271,7 @@ namespace LuaCreature #ifndef CATA { "IsReputationGainDisabled", &LuaCreature::IsReputationGainDisabled }, #else - { "IsReputationGainDisabled", nullptr, METHOD_REG_NONE }, + { "IsReputationGainDisabled", METHOD_REG_NONE }, #endif // Other @@ -1291,24 +1291,24 @@ namespace LuaCreature { "RemoveFromWorld", &LuaCreature::RemoveFromWorld }, // Not implemented methods - { "GetWaypointPath", nullptr, METHOD_REG_NONE }, // TC/Acore - { "GetLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "SetRegeneratingHealth", nullptr, METHOD_REG_NONE }, // TC/Acore - { "SetLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "SetReactState", nullptr, METHOD_REG_NONE }, // TC/Acore - { "IsDungeonBoss", nullptr, METHOD_REG_NONE }, // TC/Acore - { "IsTrigger", nullptr, METHOD_REG_NONE }, // TC/Acore - { "CanStartAttack", nullptr, METHOD_REG_NONE }, // TC/Acore - { "IsDamageEnoughForLootingAndReward", nullptr, METHOD_REG_NONE }, // TC/Acore - { "HasLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "AddLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "ResetLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "RemoveLootMode", nullptr, METHOD_REG_NONE }, // TC/Acore - { "GetThreat", nullptr, METHOD_REG_NONE }, // TC/Acore - { "ClearThreat", nullptr, METHOD_REG_NONE }, // TC/Acore - { "ResetAllThreat", nullptr, METHOD_REG_NONE }, // TC/Acore - { "FixateTarget", nullptr, METHOD_REG_NONE }, // TC/Acore - { "ClearFixate", nullptr, METHOD_REG_NONE }, // TC/Acore + { "GetWaypointPath", METHOD_REG_NONE }, // TC/Acore + { "GetLootMode", METHOD_REG_NONE }, // TC/Acore + { "SetRegeneratingHealth", METHOD_REG_NONE }, // TC/Acore + { "SetLootMode", METHOD_REG_NONE }, // TC/Acore + { "SetReactState", METHOD_REG_NONE }, // TC/Acore + { "IsDungeonBoss", METHOD_REG_NONE }, // TC/Acore + { "IsTrigger", METHOD_REG_NONE }, // TC/Acore + { "CanStartAttack", METHOD_REG_NONE }, // TC/Acore + { "IsDamageEnoughForLootingAndReward", METHOD_REG_NONE }, // TC/Acore + { "HasLootMode", METHOD_REG_NONE }, // TC/Acore + { "AddLootMode", METHOD_REG_NONE }, // TC/Acore + { "ResetLootMode", METHOD_REG_NONE }, // TC/Acore + { "RemoveLootMode", METHOD_REG_NONE }, // TC/Acore + { "GetThreat", METHOD_REG_NONE }, // TC/Acore + { "ClearThreat", METHOD_REG_NONE }, // TC/Acore + { "ResetAllThreat", METHOD_REG_NONE }, // TC/Acore + { "FixateTarget", METHOD_REG_NONE }, // TC/Acore + { "ClearFixate", METHOD_REG_NONE }, // TC/Acore { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/GameObjectMethods.h b/methods/CMangos/GameObjectMethods.h index 4fbcabb56f..1d813e0af3 100644 --- a/methods/CMangos/GameObjectMethods.h +++ b/methods/CMangos/GameObjectMethods.h @@ -332,7 +332,7 @@ namespace LuaGameObject { "SaveToDB", &LuaGameObject::SaveToDB }, // Not implemented methods - { "IsDestructible", nullptr, METHOD_REG_NONE }, // Not implemented + { "IsDestructible", METHOD_REG_NONE }, // Not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/GroupMethods.h b/methods/CMangos/GroupMethods.h index ce1b7be68e..3bb6ab50f3 100644 --- a/methods/CMangos/GroupMethods.h +++ b/methods/CMangos/GroupMethods.h @@ -405,7 +405,7 @@ namespace LuaGroup #if defined WOTLK { "IsLFGGroup", &LuaGroup::IsLFGGroup }, #else - { "IsLFGGroup", nullptr, METHOD_REG_NONE }, + { "IsLFGGroup", METHOD_REG_NONE }, #endif // Other @@ -413,10 +413,10 @@ namespace LuaGroup { "ConvertToRaid", &LuaGroup::ConvertToRaid, METHOD_REG_WORLD }, // World state method only in multistate // Not implemented methods - { "IsBFGroup", nullptr, METHOD_REG_NONE }, // not implemented - { "ConvertToLFG", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMemberFlags", nullptr, METHOD_REG_NONE }, // not implemented - { "SetMemberFlag", nullptr, METHOD_REG_NONE }, // not implemented + { "IsBFGroup", METHOD_REG_NONE }, // not implemented + { "ConvertToLFG", METHOD_REG_NONE }, // not implemented + { "GetMemberFlags", METHOD_REG_NONE }, // not implemented + { "SetMemberFlag", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/GuildMethods.h b/methods/CMangos/GuildMethods.h index 58a022e030..fbfe804582 100644 --- a/methods/CMangos/GuildMethods.h +++ b/methods/CMangos/GuildMethods.h @@ -255,13 +255,13 @@ namespace LuaGuild #if defined(TBC) || defined(WOTLK) { "SetBankTabText", &LuaGuild::SetBankTabText, METHOD_REG_WORLD }, // World state method only in multistate #else - { "SetBankTabText", nullptr, METHOD_REG_NONE }, + { "SetBankTabText", METHOD_REG_NONE }, #endif { "SetMemberRank", &LuaGuild::SetMemberRank, METHOD_REG_WORLD }, // World state method only in multistate #ifndef CATA { "SetLeader", &LuaGuild::SetLeader, METHOD_REG_WORLD }, // World state method only in multistate #else - { "SetLeader", nullptr, METHOD_REG_NONE }, + { "SetLeader", METHOD_REG_NONE }, #endif // Other diff --git a/methods/CMangos/ItemMethods.h b/methods/CMangos/ItemMethods.h index 085a7f7234..9bc61c2c05 100644 --- a/methods/CMangos/ItemMethods.h +++ b/methods/CMangos/ItemMethods.h @@ -793,7 +793,7 @@ namespace LuaItem #if (!defined(TBC) && !defined(CLASSIC)) { "GetFlags2", &LuaItem::GetFlags2 }, #else - { "GetFlags2", nullptr, METHOD_REG_NONE }, + { "GetFlags2", METHOD_REG_NONE }, #endif { "GetExtraFlags", &LuaItem::GetExtraFlags }, { "GetBuyCount", &LuaItem::GetBuyCount }, @@ -810,12 +810,12 @@ namespace LuaItem #if defined(TBC) || defined(WOTLK) { "GetRandomSuffix", &LuaItem::GetRandomSuffix }, #else - { "GetRandomSuffix", nullptr, METHOD_REG_NONE }, + { "GetRandomSuffix", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "GetStatsCount", &LuaItem::GetStatsCount }, #else - { "GetStatsCount", nullptr, METHOD_REG_NONE }, + { "GetStatsCount", METHOD_REG_NONE }, #endif // Setters @@ -843,22 +843,22 @@ namespace LuaItem #if defined(TBC) || defined(WOTLK) { "IsCurrencyToken", &LuaItem::IsCurrencyToken }, #else - { "IsCurrencyToken", nullptr, METHOD_REG_NONE }, + { "IsCurrencyToken", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "IsBoundAccountWide", &LuaItem::IsBoundAccountWide }, { "IsWeaponVellum", &LuaItem::IsWeaponVellum }, { "IsArmorVellum", &LuaItem::IsArmorVellum }, #else - { "IsBoundAccountWide", nullptr, METHOD_REG_NONE }, - { "IsWeaponVellum", nullptr, METHOD_REG_NONE }, - { "IsArmorVellum", nullptr, METHOD_REG_NONE }, + { "IsBoundAccountWide", METHOD_REG_NONE }, + { "IsWeaponVellum", METHOD_REG_NONE }, + { "IsArmorVellum", METHOD_REG_NONE }, #endif // Other { "SaveToDB", &LuaItem::SaveToDB }, // Not implemented methods - { "IsRefundExpired", nullptr, METHOD_REG_NONE }, // not implemented + { "IsRefundExpired", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/MapMethods.h b/methods/CMangos/MapMethods.h index 7b0261ce3d..7504732783 100644 --- a/methods/CMangos/MapMethods.h +++ b/methods/CMangos/MapMethods.h @@ -357,8 +357,8 @@ namespace LuaMap { "IsArena", &LuaMap::IsArena }, { "IsHeroic", &LuaMap::IsHeroic }, #else - { "IsArena", nullptr, METHOD_REG_NONE }, - { "IsHeroic", nullptr, METHOD_REG_NONE }, + { "IsArena", METHOD_REG_NONE }, + { "IsHeroic", METHOD_REG_NONE }, #endif // Other diff --git a/methods/CMangos/PlayerMethods.h b/methods/CMangos/PlayerMethods.h index 56ad9bf3b9..c964439070 100644 --- a/methods/CMangos/PlayerMethods.h +++ b/methods/CMangos/PlayerMethods.h @@ -3802,22 +3802,22 @@ namespace LuaPlayer { "GetArenaPoints", &LuaPlayer::GetArenaPoints }, { "GetHonorPoints", &LuaPlayer::GetHonorPoints }, #else - { "GetArenaPoints", nullptr, METHOD_REG_NONE }, - { "GetHonorPoints", nullptr, METHOD_REG_NONE }, + { "GetArenaPoints", METHOD_REG_NONE }, + { "GetHonorPoints", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "GetPhaseMaskForSpawn", &LuaPlayer::GetPhaseMaskForSpawn }, { "GetActiveSpec", &LuaPlayer::GetActiveSpec }, { "GetSpecsCount", &LuaPlayer::GetSpecsCount }, #else - { "GetPhaseMaskForSpawn", nullptr, METHOD_REG_NONE }, - { "GetActiveSpec", nullptr, METHOD_REG_NONE }, - { "GetSpecsCount", nullptr, METHOD_REG_NONE }, + { "GetPhaseMaskForSpawn", METHOD_REG_NONE }, + { "GetActiveSpec", METHOD_REG_NONE }, + { "GetSpecsCount", METHOD_REG_NONE }, #endif #ifndef CATA { "GetShieldBlockValue", &LuaPlayer::GetShieldBlockValue }, #else - { "GetShieldBlockValue", nullptr, METHOD_REG_NONE }, + { "GetShieldBlockValue", METHOD_REG_NONE }, #endif { "GetMailCount", &LuaPlayer::GetMailCount }, @@ -3853,10 +3853,10 @@ namespace LuaPlayer { "SetArenaPoints", &LuaPlayer::SetArenaPoints }, { "SetHonorPoints", &LuaPlayer::SetHonorPoints }, #else - { "SetKnownTitle", nullptr, METHOD_REG_NONE }, - { "UnsetKnownTitle", nullptr, METHOD_REG_NONE }, - { "SetArenaPoints", nullptr, METHOD_REG_NONE }, - { "SetHonorPoints", nullptr, METHOD_REG_NONE }, + { "SetKnownTitle", METHOD_REG_NONE }, + { "UnsetKnownTitle", METHOD_REG_NONE }, + { "SetArenaPoints", METHOD_REG_NONE }, + { "SetHonorPoints", METHOD_REG_NONE }, #endif // Boolean @@ -3910,20 +3910,20 @@ namespace LuaPlayer { "CanFly", &LuaPlayer::CanFly }, { "IsFlying", &LuaPlayer::IsFlying }, #else - { "HasTitle", nullptr, METHOD_REG_NONE }, - { "IsInArenaTeam", nullptr, METHOD_REG_NONE }, - { "InArena", nullptr, METHOD_REG_NONE }, - { "CanFly", nullptr, METHOD_REG_NONE }, - { "IsFlying", nullptr, METHOD_REG_NONE }, + { "HasTitle", METHOD_REG_NONE }, + { "IsInArenaTeam", METHOD_REG_NONE }, + { "InArena", METHOD_REG_NONE }, + { "CanFly", METHOD_REG_NONE }, + { "IsFlying", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "HasAchieved", &LuaPlayer::HasAchieved }, { "HasTalent", &LuaPlayer::HasTalent }, { "CanTitanGrip", &LuaPlayer::CanTitanGrip }, #else - { "HasAchieved", nullptr, METHOD_REG_NONE }, - { "HasTalent", nullptr, METHOD_REG_NONE }, - { "CanTitanGrip", nullptr, METHOD_REG_NONE }, + { "HasAchieved", METHOD_REG_NONE }, + { "HasTalent", METHOD_REG_NONE }, + { "CanTitanGrip", METHOD_REG_NONE }, #endif { "CanCompleteRepeatableQuest", &LuaPlayer::CanCompleteRepeatableQuest }, { "CanRewardQuest", &LuaPlayer::CanRewardQuest }, @@ -4012,54 +4012,54 @@ namespace LuaPlayer { "ModifyHonorPoints", &LuaPlayer::ModifyHonorPoints }, { "ModifyArenaPoints", &LuaPlayer::ModifyArenaPoints }, #else - { "RemoveArenaSpellCooldowns", nullptr, METHOD_REG_NONE }, - { "ModifyHonorPoints", nullptr, METHOD_REG_NONE }, - { "ModifyArenaPoints", nullptr, METHOD_REG_NONE }, + { "RemoveArenaSpellCooldowns", METHOD_REG_NONE }, + { "ModifyHonorPoints", METHOD_REG_NONE }, + { "ModifyArenaPoints", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "ResetPetTalents", &LuaPlayer::ResetPetTalents }, { "ResetAchievements", &LuaPlayer::ResetAchievements }, { "SendMovieStart", &LuaPlayer::SendMovieStart }, #else - { "ResetPetTalents", nullptr, METHOD_REG_NONE }, - { "ResetAchievements", nullptr, METHOD_REG_NONE }, - { "SendMovieStart", nullptr, METHOD_REG_NONE }, + { "ResetPetTalents", METHOD_REG_NONE }, + { "ResetAchievements", METHOD_REG_NONE }, + { "SendMovieStart", METHOD_REG_NONE }, #endif // Not implemented methods - { "GetChampioningFaction", nullptr, METHOD_REG_NONE }, // ACore & TC only - { "GetRecruiterId", nullptr, METHOD_REG_NONE }, // not implemented - { "GetHonorStoredKills", nullptr, METHOD_REG_NONE }, // classic only - { "GetRankPoints", nullptr, METHOD_REG_NONE }, // classic only - { "GetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, // classic only - { "SetHonorStoredKills", nullptr, METHOD_REG_NONE }, // classic only - { "SetRankPoints", nullptr, METHOD_REG_NONE }, // classic only - { "SetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, // classic only - { "SetMovement", nullptr, METHOD_REG_NONE }, // not implemented - { "SetFFA", nullptr, METHOD_REG_NONE }, // not implemented + { "GetChampioningFaction", METHOD_REG_NONE }, // ACore & TC only + { "GetRecruiterId", METHOD_REG_NONE }, // not implemented + { "GetHonorStoredKills", METHOD_REG_NONE }, // classic only + { "GetRankPoints", METHOD_REG_NONE }, // classic only + { "GetHonorLastWeekStandingPos", METHOD_REG_NONE }, // classic only + { "SetHonorStoredKills", METHOD_REG_NONE }, // classic only + { "SetRankPoints", METHOD_REG_NONE }, // classic only + { "SetHonorLastWeekStandingPos", METHOD_REG_NONE }, // classic only + { "SetMovement", METHOD_REG_NONE }, // not implemented + { "SetFFA", METHOD_REG_NONE }, // not implemented { "IsImmuneToEnvironmentalDamage", nullptr}, // not implemented - { "InRandomLfgDungeon", nullptr, METHOD_REG_NONE }, // not implemented - { "HasPendingBind", nullptr, METHOD_REG_NONE }, //not implmented - { "CanFlyInZone", nullptr, METHOD_REG_NONE }, // not implemented - { "IsNeverVisible", nullptr, METHOD_REG_NONE }, // not implemented - { "IsUsingLfg", nullptr, METHOD_REG_NONE }, // not implemented - { "HasReceivedQuestReward", nullptr, METHOD_REG_NONE }, // not implemented - { "IsOutdoorPvPActive", nullptr, METHOD_REG_NONE }, // not implemented - { "IsARecruiter", nullptr, METHOD_REG_NONE }, // not implemented - { "SetAchievement", nullptr, METHOD_REG_NONE }, // TC/Acore - { "RemovePet", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonPet", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveActiveQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveRewardedQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "KilledPlayerCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "KillGOCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "GainSpellComboPoints", nullptr, METHOD_REG_NONE }, // not implemented - { "AddTalent", nullptr, METHOD_REG_NONE }, // not implemented - { "BindToInstance", nullptr, METHOD_REG_NONE }, // not implemented - { "UpdateHonor", nullptr, METHOD_REG_NONE }, // classic only - { "ResetHonor", nullptr, METHOD_REG_NONE }, // classic only - { "ClearHonorInfo", nullptr, METHOD_REG_NONE }, // classic only - { "GetXP", nullptr, METHOD_REG_NONE }, // not implemented - { "GetXPForNextLevel", nullptr, METHOD_REG_NONE }, // not implemented + { "InRandomLfgDungeon", METHOD_REG_NONE }, // not implemented + { "HasPendingBind", METHOD_REG_NONE }, //not implmented + { "CanFlyInZone", METHOD_REG_NONE }, // not implemented + { "IsNeverVisible", METHOD_REG_NONE }, // not implemented + { "IsUsingLfg", METHOD_REG_NONE }, // not implemented + { "HasReceivedQuestReward", METHOD_REG_NONE }, // not implemented + { "IsOutdoorPvPActive", METHOD_REG_NONE }, // not implemented + { "IsARecruiter", METHOD_REG_NONE }, // not implemented + { "SetAchievement", METHOD_REG_NONE }, // TC/Acore + { "RemovePet", METHOD_REG_NONE }, // not implemented + { "SummonPet", METHOD_REG_NONE }, // not implemented + { "RemoveActiveQuest", METHOD_REG_NONE }, // not implemented + { "RemoveRewardedQuest", METHOD_REG_NONE }, // not implemented + { "KilledPlayerCredit", METHOD_REG_NONE }, // not implemented + { "KillGOCredit", METHOD_REG_NONE }, // not implemented + { "GainSpellComboPoints", METHOD_REG_NONE }, // not implemented + { "AddTalent", METHOD_REG_NONE }, // not implemented + { "BindToInstance", METHOD_REG_NONE }, // not implemented + { "UpdateHonor", METHOD_REG_NONE }, // classic only + { "ResetHonor", METHOD_REG_NONE }, // classic only + { "ClearHonorInfo", METHOD_REG_NONE }, // classic only + { "GetXP", METHOD_REG_NONE }, // not implemented + { "GetXPForNextLevel", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/QuestMethods.h b/methods/CMangos/QuestMethods.h index 339b532cc0..929484b40b 100644 --- a/methods/CMangos/QuestMethods.h +++ b/methods/CMangos/QuestMethods.h @@ -188,12 +188,12 @@ namespace LuaQuest #if defined(TBC) || defined(WOTLK) { "IsDaily", &LuaQuest::IsDaily }, #else - { "IsDaily", nullptr, METHOD_REG_NONE }, + { "IsDaily", METHOD_REG_NONE }, #endif { "IsRepeatable", &LuaQuest::IsRepeatable }, // Not implemented methods - { "GetMaxLevel", nullptr, METHOD_REG_NONE }, // not implemented + { "GetMaxLevel", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/UnitMethods.h b/methods/CMangos/UnitMethods.h index a9d41bdbef..d0445dc9f9 100644 --- a/methods/CMangos/UnitMethods.h +++ b/methods/CMangos/UnitMethods.h @@ -2586,30 +2586,30 @@ namespace LuaUnit { "SetCritterGUID", &LuaUnit::SetCritterGUID }, { "MoveJump", &LuaUnit::MoveJump }, #else - { "GetCritterGUID", nullptr, METHOD_REG_NONE }, - { "GetVehicleKit", nullptr, METHOD_REG_NONE }, - { "SetFFA", nullptr, METHOD_REG_NONE }, - { "SetSanctuary", nullptr, METHOD_REG_NONE }, - { "SetCritterGUID", nullptr, METHOD_REG_NONE }, - { "IsOnVehicle", nullptr, METHOD_REG_NONE }, - { "RemoveArenaAuras", nullptr, METHOD_REG_NONE }, - { "MoveJump", nullptr, METHOD_REG_NONE }, + { "GetCritterGUID", METHOD_REG_NONE }, + { "GetVehicleKit", METHOD_REG_NONE }, + { "SetFFA", METHOD_REG_NONE }, + { "SetSanctuary", METHOD_REG_NONE }, + { "SetCritterGUID", METHOD_REG_NONE }, + { "IsOnVehicle", METHOD_REG_NONE }, + { "RemoveArenaAuras", METHOD_REG_NONE }, + { "MoveJump", METHOD_REG_NONE }, #endif // Not implemented methods - { "GetVehicle", nullptr, METHOD_REG_NONE }, // not implemented - { "SetStunned", nullptr, METHOD_REG_NONE }, // not implemented - { "SetCanFly", nullptr, METHOD_REG_NONE }, // not implemented - { "SetVisible", nullptr, METHOD_REG_NONE }, // not implemented - { "IsVisible", nullptr, METHOD_REG_NONE }, // not implemented - { "IsMoving", nullptr, METHOD_REG_NONE }, // not implemented - { "IsFlying", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreDisplayId", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreFaction", nullptr, METHOD_REG_NONE }, //not implemented - { "RemoveBindSightAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveCharmAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "DisableMelee", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonGuardian", nullptr, METHOD_REG_NONE }, // not implemented + { "GetVehicle", METHOD_REG_NONE }, // not implemented + { "SetStunned", METHOD_REG_NONE }, // not implemented + { "SetCanFly", METHOD_REG_NONE }, // not implemented + { "SetVisible", METHOD_REG_NONE }, // not implemented + { "IsVisible", METHOD_REG_NONE }, // not implemented + { "IsMoving", METHOD_REG_NONE }, // not implemented + { "IsFlying", METHOD_REG_NONE }, // not implemented + { "RestoreDisplayId", METHOD_REG_NONE }, // not implemented + { "RestoreFaction", METHOD_REG_NONE }, //not implemented + { "RemoveBindSightAuras", METHOD_REG_NONE }, // not implemented + { "RemoveCharmAuras", METHOD_REG_NONE }, // not implemented + { "DisableMelee", METHOD_REG_NONE }, // not implemented + { "SummonGuardian", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/CMangos/WorldObjectMethods.h b/methods/CMangos/WorldObjectMethods.h index 07394f245c..00f85139c2 100644 --- a/methods/CMangos/WorldObjectMethods.h +++ b/methods/CMangos/WorldObjectMethods.h @@ -1158,8 +1158,8 @@ namespace LuaWorldObject { "GetPhaseMask", &LuaWorldObject::GetPhaseMask }, { "SetPhaseMask", &LuaWorldObject::SetPhaseMask }, #else - { "GetPhaseMask", nullptr, METHOD_REG_NONE }, - { "SetPhaseMask", nullptr, METHOD_REG_NONE }, + { "GetPhaseMask", METHOD_REG_NONE }, + { "SetPhaseMask", METHOD_REG_NONE }, #endif // Boolean diff --git a/methods/Mangos/CreatureMethods.h b/methods/Mangos/CreatureMethods.h index beb844328a..0b7b3aa884 100644 --- a/methods/Mangos/CreatureMethods.h +++ b/methods/Mangos/CreatureMethods.h @@ -1192,21 +1192,21 @@ namespace LuaCreature { "UpdateEntry", &LuaCreature::UpdateEntry }, // Not implemented methods - { "GetWaypointPath", nullptr, METHOD_REG_NONE }, // not implemented - { "GetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "SetRegeneratingHealth", nullptr, METHOD_REG_NONE }, // not implemented - { "SetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "SetReactState", nullptr, METHOD_REG_NONE }, // not implemented - { "IsDungeonBoss", nullptr, METHOD_REG_NONE }, // not implemented - { "IsTrigger", nullptr, METHOD_REG_NONE }, // not implemented - { "CanStartAttack", nullptr, METHOD_REG_NONE }, // not implemented - { "IsDamageEnoughForLootingAndReward", nullptr, METHOD_REG_NONE }, // not implemented - { "HasLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "AddLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "ResetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveFromWorld", nullptr, METHOD_REG_NONE }, // not implemented - { "GetRank", nullptr, METHOD_REG_NONE }, // not implemented + { "GetWaypointPath", METHOD_REG_NONE }, // not implemented + { "GetLootMode", METHOD_REG_NONE }, // not implemented + { "SetRegeneratingHealth", METHOD_REG_NONE }, // not implemented + { "SetLootMode", METHOD_REG_NONE }, // not implemented + { "SetReactState", METHOD_REG_NONE }, // not implemented + { "IsDungeonBoss", METHOD_REG_NONE }, // not implemented + { "IsTrigger", METHOD_REG_NONE }, // not implemented + { "CanStartAttack", METHOD_REG_NONE }, // not implemented + { "IsDamageEnoughForLootingAndReward", METHOD_REG_NONE }, // not implemented + { "HasLootMode", METHOD_REG_NONE }, // not implemented + { "AddLootMode", METHOD_REG_NONE }, // not implemented + { "ResetLootMode", METHOD_REG_NONE }, // not implemented + { "RemoveLootMode", METHOD_REG_NONE }, // not implemented + { "RemoveFromWorld", METHOD_REG_NONE }, // not implemented + { "GetRank", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/GameObjectMethods.h b/methods/Mangos/GameObjectMethods.h index b2ba53b09e..4c6396f19a 100644 --- a/methods/Mangos/GameObjectMethods.h +++ b/methods/Mangos/GameObjectMethods.h @@ -337,7 +337,7 @@ namespace LuaGameObject { "SaveToDB", &LuaGameObject::SaveToDB }, // Not implemented methods - { "IsDestructible", nullptr, METHOD_REG_NONE }, // Not implemented + { "IsDestructible", METHOD_REG_NONE }, // Not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/GlobalMethods.h b/methods/Mangos/GlobalMethods.h index 13a92696e5..5040219888 100644 --- a/methods/Mangos/GlobalMethods.h +++ b/methods/Mangos/GlobalMethods.h @@ -2974,7 +2974,7 @@ namespace LuaGlobalFunctions { "GetPlayerByName", &LuaGlobalFunctions::GetPlayerByName, METHOD_REG_WORLD }, // World state method only in multistate { "GetGameTime", &LuaGlobalFunctions::GetGameTime }, { "GetPlayersInWorld", &LuaGlobalFunctions::GetPlayersInWorld, METHOD_REG_WORLD }, // World state method only in multistate - { "GetPlayersOnMap", nullptr, METHOD_REG_NONE }, // Map state method only in multistate TODO + { "GetPlayersOnMap", METHOD_REG_NONE }, // Map state method only in multistate TODO { "GetGuildByName", &LuaGlobalFunctions::GetGuildByName }, { "GetGuildByLeaderGUID", &LuaGlobalFunctions::GetGuildByLeaderGUID }, { "GetPlayerCount", &LuaGlobalFunctions::GetPlayerCount }, @@ -3037,9 +3037,9 @@ namespace LuaGlobalFunctions { "StopGameEvent", &LuaGlobalFunctions::StopGameEvent }, // unimplemented - { "WorldDBQueryAsync", nullptr, METHOD_REG_NONE }, - { "CharDBQueryAsync", nullptr, METHOD_REG_NONE }, - { "AuthDBQueryAsync", nullptr, METHOD_REG_NONE }, + { "WorldDBQueryAsync", METHOD_REG_NONE }, + { "CharDBQueryAsync", METHOD_REG_NONE }, + { "AuthDBQueryAsync", METHOD_REG_NONE }, { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/GroupMethods.h b/methods/Mangos/GroupMethods.h index d945427ff0..7b56708629 100644 --- a/methods/Mangos/GroupMethods.h +++ b/methods/Mangos/GroupMethods.h @@ -401,17 +401,17 @@ namespace LuaGroup #if !(defined(CLASSIC) || defined(TBC)) { "IsLFGGroup", &LuaGroup::IsLFGGroup }, #else - { "IsLFGGroup", nullptr, METHOD_REG_NONE }, + { "IsLFGGroup", METHOD_REG_NONE }, #endif // Other { "SendPacket", &LuaGroup::SendPacket }, { "ConvertToRaid", &LuaGroup::ConvertToRaid, METHOD_REG_WORLD }, // World state method only in multistate // Not implemented methods - { "IsBFGroup", nullptr, METHOD_REG_NONE }, // not implemented - { "ConvertToLFG", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMemberFlags", nullptr, METHOD_REG_NONE }, // not implemented - { "SetMemberFlag", nullptr, METHOD_REG_NONE }, // not implemented + { "IsBFGroup", METHOD_REG_NONE }, // not implemented + { "ConvertToLFG", METHOD_REG_NONE }, // not implemented + { "GetMemberFlags", METHOD_REG_NONE }, // not implemented + { "SetMemberFlag", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/ItemMethods.h b/methods/Mangos/ItemMethods.h index d844a4a9c2..50deb635a2 100644 --- a/methods/Mangos/ItemMethods.h +++ b/methods/Mangos/ItemMethods.h @@ -798,7 +798,7 @@ namespace LuaItem #if (!defined(TBC) && !defined(CLASSIC)) { "GetFlags2", &LuaItem::GetFlags2 }, #else - { "GetFlags2", nullptr, METHOD_REG_NONE }, + { "GetFlags2", METHOD_REG_NONE }, #endif { "GetExtraFlags", &LuaItem::GetExtraFlags }, { "GetBuyCount", &LuaItem::GetBuyCount }, @@ -815,12 +815,12 @@ namespace LuaItem #ifndef CLASSIC { "GetRandomSuffix", &LuaItem::GetRandomSuffix }, #else - { "GetRandomSuffix", nullptr, METHOD_REG_NONE }, + { "GetRandomSuffix", METHOD_REG_NONE }, #endif #ifdef WOTLK { "GetStatsCount", &LuaItem::GetStatsCount }, #else - { "GetStatsCount", nullptr, METHOD_REG_NONE }, + { "GetStatsCount", METHOD_REG_NONE }, #endif // Setters @@ -848,26 +848,26 @@ namespace LuaItem #ifndef CLASSIC { "IsCurrencyToken", &LuaItem::IsCurrencyToken }, #else - { "IsCurrencyToken", nullptr, METHOD_REG_NONE }, + { "IsCurrencyToken", METHOD_REG_NONE }, #endif #if (!defined(TBC) && !defined(CLASSIC)) { "IsBoundAccountWide", &LuaItem::IsBoundAccountWide }, #else - { "IsBoundAccountWide", nullptr, METHOD_REG_NONE }, + { "IsBoundAccountWide", METHOD_REG_NONE }, #endif #if defined(WOTLK) { "IsWeaponVellum", &LuaItem::IsWeaponVellum }, { "IsArmorVellum", &LuaItem::IsArmorVellum }, #else - { "IsWeaponVellum", nullptr, METHOD_REG_NONE }, - { "IsArmorVellum", nullptr, METHOD_REG_NONE }, + { "IsWeaponVellum", METHOD_REG_NONE }, + { "IsArmorVellum", METHOD_REG_NONE }, #endif // Other { "SaveToDB", &LuaItem::SaveToDB }, // Not implemented methods - { "IsRefundExpired", nullptr, METHOD_REG_NONE }, // not implemented + { "IsRefundExpired", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/MapMethods.h b/methods/Mangos/MapMethods.h index 7ee65cf724..33e2ecce06 100644 --- a/methods/Mangos/MapMethods.h +++ b/methods/Mangos/MapMethods.h @@ -359,8 +359,8 @@ namespace LuaMap { "IsArena", &LuaMap::IsArena }, { "IsHeroic", &LuaMap::IsHeroic }, #else - { "IsArena", nullptr, METHOD_REG_NONE }, - { "IsHeroic", nullptr, METHOD_REG_NONE }, + { "IsArena", METHOD_REG_NONE }, + { "IsHeroic", METHOD_REG_NONE }, #endif // Other { "SaveInstanceData", &LuaMap::SaveInstanceData }, diff --git a/methods/Mangos/PlayerMethods.h b/methods/Mangos/PlayerMethods.h index c4de25d825..bd16089691 100644 --- a/methods/Mangos/PlayerMethods.h +++ b/methods/Mangos/PlayerMethods.h @@ -3703,28 +3703,28 @@ namespace LuaPlayer { "GetRankPoints", &LuaPlayer::GetRankPoints }, { "GetHonorLastWeekStandingPos", &LuaPlayer::GetHonorLastWeekStandingPos }, #else - { "GetHonorStoredKills", nullptr, METHOD_REG_NONE }, - { "GetRankPoints", nullptr, METHOD_REG_NONE }, - { "GetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, + { "GetHonorStoredKills", METHOD_REG_NONE }, + { "GetRankPoints", METHOD_REG_NONE }, + { "GetHonorLastWeekStandingPos", METHOD_REG_NONE }, #endif #if defined(TBC) || defined (WOTLK) { "GetArenaPoints", &LuaPlayer::GetArenaPoints }, { "GetHonorPoints", &LuaPlayer::GetHonorPoints }, #else - { "GetArenaPoints", nullptr, METHOD_REG_NONE }, - { "GetHonorPoints", nullptr, METHOD_REG_NONE }, + { "GetArenaPoints", METHOD_REG_NONE }, + { "GetHonorPoints", METHOD_REG_NONE }, #endif #ifdef WOTLK { "GetPhaseMaskForSpawn", &LuaPlayer::GetPhaseMaskForSpawn }, #else - { "GetPhaseMaskForSpawn", nullptr, METHOD_REG_NONE }, + { "GetPhaseMaskForSpawn", METHOD_REG_NONE }, #endif #if (!defined(TBC) && !defined(CLASSIC)) { "GetActiveSpec", &LuaPlayer::GetActiveSpec }, { "GetSpecsCount", &LuaPlayer::GetSpecsCount }, #else - { "GetActiveSpec", nullptr, METHOD_REG_NONE }, - { "GetSpecsCount", nullptr, METHOD_REG_NONE }, + { "GetActiveSpec", METHOD_REG_NONE }, + { "GetSpecsCount", METHOD_REG_NONE }, #endif // Setters @@ -3754,24 +3754,24 @@ namespace LuaPlayer { "SetGender", &LuaPlayer::SetGender }, { "SetSheath", &LuaPlayer::SetSheath }, #if defined(CLASSIC) - { "SetKnownTitle", nullptr, METHOD_REG_NONE }, - { "UnsetKnownTitle", nullptr, METHOD_REG_NONE }, + { "SetKnownTitle", METHOD_REG_NONE }, + { "UnsetKnownTitle", METHOD_REG_NONE }, { "SetHonorStoredKills", &LuaPlayer::SetHonorStoredKills }, { "SetRankPoints", &LuaPlayer::SetRankPoints }, { "SetHonorLastWeekStandingPos", &LuaPlayer::SetHonorLastWeekStandingPos }, #else { "SetKnownTitle", &LuaPlayer::SetKnownTitle }, { "UnsetKnownTitle", &LuaPlayer::UnsetKnownTitle }, - { "SetHonorStoredKills", nullptr, METHOD_REG_NONE }, - { "SetRankPoints", nullptr, METHOD_REG_NONE }, - { "SetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, + { "SetHonorStoredKills", METHOD_REG_NONE }, + { "SetRankPoints", METHOD_REG_NONE }, + { "SetHonorLastWeekStandingPos", METHOD_REG_NONE }, #endif #if defined(TBC) || defined(WOTLK) { "SetArenaPoints", &LuaPlayer::SetArenaPoints }, { "SetHonorPoints", &LuaPlayer::SetHonorPoints }, #else - { "SetArenaPoints", nullptr, METHOD_REG_NONE }, - { "SetHonorPoints", nullptr, METHOD_REG_NONE }, + { "SetArenaPoints", METHOD_REG_NONE }, + { "SetHonorPoints", METHOD_REG_NONE }, #endif // Boolean @@ -3825,10 +3825,10 @@ namespace LuaPlayer { "CanFly", &LuaPlayer::CanFly }, { "IsFlying", &LuaPlayer::IsFlying }, #else - { "HasTitle", nullptr, METHOD_REG_NONE }, - { "IsInArenaTeam", nullptr, METHOD_REG_NONE }, - { "InArena", nullptr, METHOD_REG_NONE }, - { "CanFly", nullptr, METHOD_REG_NONE }, + { "HasTitle", METHOD_REG_NONE }, + { "IsInArenaTeam", METHOD_REG_NONE }, + { "InArena", METHOD_REG_NONE }, + { "CanFly", METHOD_REG_NONE }, { "IsFlying",nullptr, METHOD_REG_NONE }, #endif #if (!defined(TBC) && !defined(CLASSIC)) @@ -3836,9 +3836,9 @@ namespace LuaPlayer { "HasTalent", &LuaPlayer::HasTalent }, { "CanTitanGrip", &LuaPlayer::CanTitanGrip }, #else - { "HasAchieved", nullptr, METHOD_REG_NONE }, - { "HasTalent", nullptr, METHOD_REG_NONE }, - { "CanTitanGrip", nullptr, METHOD_REG_NONE }, + { "HasAchieved", METHOD_REG_NONE }, + { "HasTalent", METHOD_REG_NONE }, + { "CanTitanGrip", METHOD_REG_NONE }, #endif // Gossip @@ -3924,11 +3924,11 @@ namespace LuaPlayer { "UpdateHonor", &LuaPlayer::UpdateHonor }, { "ResetHonor", &LuaPlayer::ResetHonor }, { "ClearHonorInfo", &LuaPlayer::ClearHonorInfo }, - { "RemoveArenaSpellCooldowns", nullptr, METHOD_REG_NONE }, + { "RemoveArenaSpellCooldowns", METHOD_REG_NONE }, #else - { "UpdateHonor", nullptr, METHOD_REG_NONE }, - { "ResetHonor", nullptr, METHOD_REG_NONE }, - { "ClearHonorInfo", nullptr, METHOD_REG_NONE }, + { "UpdateHonor", METHOD_REG_NONE }, + { "ResetHonor", METHOD_REG_NONE }, + { "ClearHonorInfo", METHOD_REG_NONE }, { "RemoveArenaSpellCooldowns", &LuaPlayer::RemoveArenaSpellCooldowns }, #endif #if (!defined(TBC) && !defined(CLASSIC)) @@ -3936,47 +3936,47 @@ namespace LuaPlayer { "ResetAchievements", &LuaPlayer::ResetAchievements }, { "SendMovieStart", &LuaPlayer::SendMovieStart }, #else - { "ResetPetTalents", nullptr, METHOD_REG_NONE }, - { "ResetAchievements", nullptr, METHOD_REG_NONE }, - { "SendMovieStart", nullptr, METHOD_REG_NONE }, + { "ResetPetTalents", METHOD_REG_NONE }, + { "ResetAchievements", METHOD_REG_NONE }, + { "SendMovieStart", METHOD_REG_NONE }, #endif #if defined(TBC) || defined(WOTLK) { "ModifyHonorPoints", &LuaPlayer::ModifyHonorPoints }, { "ModifyArenaPoints", &LuaPlayer::ModifyArenaPoints }, #else - { "ModifyHonorPoints", nullptr, METHOD_REG_NONE }, - { "ModifyArenaPoints", nullptr, METHOD_REG_NONE }, + { "ModifyHonorPoints", METHOD_REG_NONE }, + { "ModifyArenaPoints", METHOD_REG_NONE }, #endif // Not implemented methods - { "GetChampioningFaction", nullptr, METHOD_REG_NONE }, // not implemented - { "GetRecruiterId", nullptr, METHOD_REG_NONE }, // not implemented - { "SetMovement", nullptr, METHOD_REG_NONE }, // not implemented - { "SetFFA", nullptr, METHOD_REG_NONE }, // not implemented - { "IsImmuneToEnvironmentalDamage", nullptr, METHOD_REG_NONE }, // not implemented - { "InRandomLfgDungeon", nullptr, METHOD_REG_NONE }, // not implemented - { "HasPendingBind", nullptr, METHOD_REG_NONE }, // not implemented - { "CanFlyInZone", nullptr, METHOD_REG_NONE }, // not implemented - { "IsNeverVisible", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsUsingLfg", nullptr, METHOD_REG_NONE }, // not implemented, - { "HasReceivedQuestReward", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsOutdoorPvPActive", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsARecruiter", nullptr, METHOD_REG_NONE }, // not implemented, - { "RemovePet", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonPet", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveActiveQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveRewardedQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "KilledPlayerCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "KillGOCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "GainSpellComboPoints", nullptr, METHOD_REG_NONE }, // not implemented - { "AddTalent", nullptr, METHOD_REG_NONE }, // not implemented - { "BindToInstance", nullptr, METHOD_REG_NONE }, // not implemented - { "SetAchievement", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMailCount", nullptr, METHOD_REG_NONE }, // not implemented - { "GetXP", nullptr, METHOD_REG_NONE }, // not implemented - { "GetXPForNextLevel", nullptr, METHOD_REG_NONE }, // not implemented - { "CanCompleteRepeatableQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "CanRewardQuest", nullptr, METHOD_REG_NONE }, // not implemented + { "GetChampioningFaction", METHOD_REG_NONE }, // not implemented + { "GetRecruiterId", METHOD_REG_NONE }, // not implemented + { "SetMovement", METHOD_REG_NONE }, // not implemented + { "SetFFA", METHOD_REG_NONE }, // not implemented + { "IsImmuneToEnvironmentalDamage", METHOD_REG_NONE }, // not implemented + { "InRandomLfgDungeon", METHOD_REG_NONE }, // not implemented + { "HasPendingBind", METHOD_REG_NONE }, // not implemented + { "CanFlyInZone", METHOD_REG_NONE }, // not implemented + { "IsNeverVisible", METHOD_REG_NONE }, // not implemented, + { "IsUsingLfg", METHOD_REG_NONE }, // not implemented, + { "HasReceivedQuestReward", METHOD_REG_NONE }, // not implemented, + { "IsOutdoorPvPActive", METHOD_REG_NONE }, // not implemented, + { "IsARecruiter", METHOD_REG_NONE }, // not implemented, + { "RemovePet", METHOD_REG_NONE }, // not implemented + { "SummonPet", METHOD_REG_NONE }, // not implemented + { "RemoveActiveQuest", METHOD_REG_NONE }, // not implemented + { "RemoveRewardedQuest", METHOD_REG_NONE }, // not implemented + { "KilledPlayerCredit", METHOD_REG_NONE }, // not implemented + { "KillGOCredit", METHOD_REG_NONE }, // not implemented + { "GainSpellComboPoints", METHOD_REG_NONE }, // not implemented + { "AddTalent", METHOD_REG_NONE }, // not implemented + { "BindToInstance", METHOD_REG_NONE }, // not implemented + { "SetAchievement", METHOD_REG_NONE }, // not implemented + { "GetMailCount", METHOD_REG_NONE }, // not implemented + { "GetXP", METHOD_REG_NONE }, // not implemented + { "GetXPForNextLevel", METHOD_REG_NONE }, // not implemented + { "CanCompleteRepeatableQuest", METHOD_REG_NONE }, // not implemented + { "CanRewardQuest", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/QuestMethods.h b/methods/Mangos/QuestMethods.h index 34ebcb4668..1a10c85c07 100644 --- a/methods/Mangos/QuestMethods.h +++ b/methods/Mangos/QuestMethods.h @@ -189,11 +189,11 @@ namespace LuaQuest #ifndef CLASSIC { "IsDaily", &LuaQuest::IsDaily }, #else - { "IsDaily", nullptr, METHOD_REG_NONE }, + { "IsDaily", METHOD_REG_NONE }, #endif // Not implemented methods - { "GetMaxLevel", nullptr, METHOD_REG_NONE }, // not implemented + { "GetMaxLevel", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/UnitMethods.h b/methods/Mangos/UnitMethods.h index 3c058ecebf..a62959f3f6 100644 --- a/methods/Mangos/UnitMethods.h +++ b/methods/Mangos/UnitMethods.h @@ -2464,8 +2464,8 @@ namespace LuaUnit { "GetVehicleKit", &LuaUnit::GetVehicleKit }, { "GetCritterGUID", &LuaUnit::GetCritterGUID }, #else - { "GetVehicleKit", nullptr, METHOD_REG_NONE }, - { "GetCritterGUID", nullptr, METHOD_REG_NONE }, + { "GetVehicleKit", METHOD_REG_NONE }, + { "GetCritterGUID", METHOD_REG_NONE }, #endif // Setters @@ -2500,9 +2500,9 @@ namespace LuaUnit { "SetSanctuary", &LuaUnit::SetSanctuary }, { "SetCritterGUID", &LuaUnit::SetCritterGUID }, #else - { "SetFFA", nullptr, METHOD_REG_NONE }, - { "SetSanctuary", nullptr, METHOD_REG_NONE }, - { "SetCritterGUID", nullptr, METHOD_REG_NONE }, + { "SetFFA", METHOD_REG_NONE }, + { "SetSanctuary", METHOD_REG_NONE }, + { "SetCritterGUID", METHOD_REG_NONE }, #endif // Boolean @@ -2547,7 +2547,7 @@ namespace LuaUnit #if !defined(CLASSIC) { "IsOnVehicle", &LuaUnit::IsOnVehicle }, #else - { "IsOnVehicle", nullptr, METHOD_REG_NONE }, + { "IsOnVehicle", METHOD_REG_NONE }, #endif // Other @@ -2594,29 +2594,29 @@ namespace LuaUnit #if !defined(CLASSIC) { "RemoveArenaAuras", &LuaUnit::RemoveArenaAuras }, #else - { "RemoveArenaAuras", nullptr, METHOD_REG_NONE }, + { "RemoveArenaAuras", METHOD_REG_NONE }, #endif #if (!defined(TBC) && !defined(CLASSIC)) { "MoveJump", &LuaUnit::MoveJump }, #else - { "MoveJump", nullptr, METHOD_REG_NONE }, + { "MoveJump", METHOD_REG_NONE }, #endif // Not implemented mehtods - { "GetVehicle", nullptr, METHOD_REG_NONE }, // not implemented - { "SetStunned", nullptr, METHOD_REG_NONE }, // not implemented - { "SetCanFly", nullptr, METHOD_REG_NONE }, // not implemented - { "SetVisible", nullptr, METHOD_REG_NONE }, // not implemented - { "IsVisible", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsMoving", nullptr, METHOD_REG_NONE }, // not implemented - { "IsFlying", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreDisplayId", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreFaction", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveBindSightAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveCharmAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "DisableMelee", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonGuardian", nullptr, METHOD_REG_NONE }, // not implemented - { "SetImmuneTo", nullptr, METHOD_REG_NONE }, // not implemented + { "GetVehicle", METHOD_REG_NONE }, // not implemented + { "SetStunned", METHOD_REG_NONE }, // not implemented + { "SetCanFly", METHOD_REG_NONE }, // not implemented + { "SetVisible", METHOD_REG_NONE }, // not implemented + { "IsVisible", METHOD_REG_NONE }, // not implemented, + { "IsMoving", METHOD_REG_NONE }, // not implemented + { "IsFlying", METHOD_REG_NONE }, // not implemented + { "RestoreDisplayId", METHOD_REG_NONE }, // not implemented + { "RestoreFaction", METHOD_REG_NONE }, // not implemented + { "RemoveBindSightAuras", METHOD_REG_NONE }, // not implemented + { "RemoveCharmAuras", METHOD_REG_NONE }, // not implemented + { "DisableMelee", METHOD_REG_NONE }, // not implemented + { "SummonGuardian", METHOD_REG_NONE }, // not implemented + { "SetImmuneTo", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/Mangos/WorldObjectMethods.h b/methods/Mangos/WorldObjectMethods.h index 848ce7536c..782ede857d 100644 --- a/methods/Mangos/WorldObjectMethods.h +++ b/methods/Mangos/WorldObjectMethods.h @@ -1133,8 +1133,8 @@ namespace LuaWorldObject { "GetPhaseMask", &LuaWorldObject::GetPhaseMask }, { "SetPhaseMask", &LuaWorldObject::SetPhaseMask }, #else - { "GetPhaseMask", nullptr, METHOD_REG_NONE }, - { "SetPhaseMask", nullptr, METHOD_REG_NONE }, + { "GetPhaseMask", METHOD_REG_NONE }, + { "SetPhaseMask", METHOD_REG_NONE }, #endif { "GetInstanceId", &LuaWorldObject::GetInstanceId }, { "GetAreaId", &LuaWorldObject::GetAreaId }, diff --git a/methods/TrinityCore/PlayerMethods.h b/methods/TrinityCore/PlayerMethods.h index c0c9afa41c..8f083c8cd2 100644 --- a/methods/TrinityCore/PlayerMethods.h +++ b/methods/TrinityCore/PlayerMethods.h @@ -3973,20 +3973,20 @@ namespace LuaPlayer { "SendMovieStart", &LuaPlayer::SendMovieStart }, // Not implemented methods - { "GetHonorStoredKills", nullptr, METHOD_REG_NONE }, // classic only - { "GetRankPoints", nullptr, METHOD_REG_NONE }, // classic only - { "GetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, // classic only + { "GetHonorStoredKills", METHOD_REG_NONE }, // classic only + { "GetRankPoints", METHOD_REG_NONE }, // classic only + { "GetHonorLastWeekStandingPos", METHOD_REG_NONE }, // classic only - { "SetHonorStoredKills", nullptr, METHOD_REG_NONE }, // classic only - { "SetRankPoints", nullptr, METHOD_REG_NONE }, // classic only - { "SetHonorLastWeekStandingPos", nullptr, METHOD_REG_NONE }, // classic only + { "SetHonorStoredKills", METHOD_REG_NONE }, // classic only + { "SetRankPoints", METHOD_REG_NONE }, // classic only + { "SetHonorLastWeekStandingPos", METHOD_REG_NONE }, // classic only - { "CanFlyInZone", nullptr, METHOD_REG_NONE }, // not implemented + { "CanFlyInZone", METHOD_REG_NONE }, // not implemented - { "UpdateHonor", nullptr, METHOD_REG_NONE }, // classic only - { "ResetHonor", nullptr, METHOD_REG_NONE }, // classic only - { "ClearHonorInfo", nullptr, METHOD_REG_NONE }, // classic only - { "GainSpellComboPoints", nullptr, METHOD_REG_NONE }, // not implemented + { "UpdateHonor", METHOD_REG_NONE }, // classic only + { "ResetHonor", METHOD_REG_NONE }, // classic only + { "ClearHonorInfo", METHOD_REG_NONE }, // classic only + { "GainSpellComboPoints", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/TrinityCore/UnitMethods.h b/methods/TrinityCore/UnitMethods.h index c99ca71335..0079fec7a6 100644 --- a/methods/TrinityCore/UnitMethods.h +++ b/methods/TrinityCore/UnitMethods.h @@ -2719,7 +2719,7 @@ namespace LuaUnit { "DealHeal", &LuaUnit::DealHeal }, // Not implemented methods - { "SummonGuardian", nullptr, METHOD_REG_NONE }, // not implemented + { "SummonGuardian", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/CreatureMethods.h b/methods/VMangos/CreatureMethods.h index c6c5d910a7..c08c29851e 100644 --- a/methods/VMangos/CreatureMethods.h +++ b/methods/VMangos/CreatureMethods.h @@ -1201,20 +1201,20 @@ namespace LuaCreature { "UpdateEntry", &LuaCreature::UpdateEntry }, // Not implemented methods - { "GetWaypointPath", nullptr, METHOD_REG_NONE }, // not implemented - { "GetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "SetRegeneratingHealth", nullptr, METHOD_REG_NONE }, // not implemented - { "SetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "SetReactState", nullptr, METHOD_REG_NONE }, // not implemented - { "IsDungeonBoss", nullptr, METHOD_REG_NONE }, // not implemented - { "IsTrigger", nullptr, METHOD_REG_NONE }, // not implemented - { "CanStartAttack", nullptr, METHOD_REG_NONE }, // not implemented - { "IsDamageEnoughForLootingAndReward", nullptr, METHOD_REG_NONE }, // not implemented - { "HasLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "AddLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "ResetLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveLootMode", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveFromWorld", nullptr, METHOD_REG_NONE }, // not implemented + { "GetWaypointPath", METHOD_REG_NONE }, // not implemented + { "GetLootMode", METHOD_REG_NONE }, // not implemented + { "SetRegeneratingHealth", METHOD_REG_NONE }, // not implemented + { "SetLootMode", METHOD_REG_NONE }, // not implemented + { "SetReactState", METHOD_REG_NONE }, // not implemented + { "IsDungeonBoss", METHOD_REG_NONE }, // not implemented + { "IsTrigger", METHOD_REG_NONE }, // not implemented + { "CanStartAttack", METHOD_REG_NONE }, // not implemented + { "IsDamageEnoughForLootingAndReward", METHOD_REG_NONE }, // not implemented + { "HasLootMode", METHOD_REG_NONE }, // not implemented + { "AddLootMode", METHOD_REG_NONE }, // not implemented + { "ResetLootMode", METHOD_REG_NONE }, // not implemented + { "RemoveLootMode", METHOD_REG_NONE }, // not implemented + { "RemoveFromWorld", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/GameObjectMethods.h b/methods/VMangos/GameObjectMethods.h index 2c88d2567a..99f581d032 100644 --- a/methods/VMangos/GameObjectMethods.h +++ b/methods/VMangos/GameObjectMethods.h @@ -330,7 +330,7 @@ namespace LuaGameObject { "SaveToDB", &LuaGameObject::SaveToDB }, // Not implemented methods - { "IsDestructible", nullptr, METHOD_REG_NONE }, // Not implemented + { "IsDestructible", METHOD_REG_NONE }, // Not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/GroupMethods.h b/methods/VMangos/GroupMethods.h index 7c7560aa6f..2c9ddd8a95 100644 --- a/methods/VMangos/GroupMethods.h +++ b/methods/VMangos/GroupMethods.h @@ -383,11 +383,11 @@ namespace LuaGroup { "ConvertToRaid", &LuaGroup::ConvertToRaid, METHOD_REG_WORLD }, // World state method only in multistate // Not implemented methods - { "IsLFGGroup", nullptr, METHOD_REG_NONE }, // not implemented - { "IsBFGroup", nullptr, METHOD_REG_NONE }, // not implemented - { "ConvertToLFG", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMemberFlags", nullptr, METHOD_REG_NONE }, // not implemented - { "SetMemberFlag", nullptr, METHOD_REG_NONE }, // not implemented + { "IsLFGGroup", METHOD_REG_NONE }, // not implemented + { "IsBFGroup", METHOD_REG_NONE }, // not implemented + { "ConvertToLFG", METHOD_REG_NONE }, // not implemented + { "GetMemberFlags", METHOD_REG_NONE }, // not implemented + { "SetMemberFlag", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/GuildMethods.h b/methods/VMangos/GuildMethods.h index 44a35cb380..792c951bd1 100644 --- a/methods/VMangos/GuildMethods.h +++ b/methods/VMangos/GuildMethods.h @@ -244,7 +244,7 @@ namespace LuaGuild { "AddMember", &LuaGuild::AddMember, METHOD_REG_WORLD }, // World state method only in multistate { "DeleteMember", &LuaGuild::DeleteMember, METHOD_REG_WORLD }, // World state method only in multistate - { "SetBankTabText", nullptr, METHOD_REG_NONE }, // not implemented + { "SetBankTabText", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/ItemMethods.h b/methods/VMangos/ItemMethods.h index d8acb82c7c..fde3a4353b 100644 --- a/methods/VMangos/ItemMethods.h +++ b/methods/VMangos/ItemMethods.h @@ -713,15 +713,15 @@ namespace LuaItem { "SaveToDB", &LuaItem::SaveToDB }, // Not implemented methods - { "GetRandomSuffix", nullptr, METHOD_REG_NONE }, // not implemented - { "GetStatsCount", nullptr, METHOD_REG_NONE }, // not implemented - { "GetFlags2", nullptr, METHOD_REG_NONE }, // not avaliable in Classic/TBC - { "IsPotion", nullptr, METHOD_REG_NONE }, // not implemented in VMANGOS - { "IsRefundExpired", nullptr, METHOD_REG_NONE }, // not implemented - { "IsCurrencyToken", nullptr, METHOD_REG_NONE }, // not implemented - { "IsBoundAccountWide", nullptr, METHOD_REG_NONE }, // not implemented - { "IsWeaponVellum", nullptr, METHOD_REG_NONE }, // not implemented - { "IsArmorVellum", nullptr, METHOD_REG_NONE }, // not implemented + { "GetRandomSuffix", METHOD_REG_NONE }, // not implemented + { "GetStatsCount", METHOD_REG_NONE }, // not implemented + { "GetFlags2", METHOD_REG_NONE }, // not avaliable in Classic/TBC + { "IsPotion", METHOD_REG_NONE }, // not implemented in VMANGOS + { "IsRefundExpired", METHOD_REG_NONE }, // not implemented + { "IsCurrencyToken", METHOD_REG_NONE }, // not implemented + { "IsBoundAccountWide", METHOD_REG_NONE }, // not implemented + { "IsWeaponVellum", METHOD_REG_NONE }, // not implemented + { "IsArmorVellum", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/MapMethods.h b/methods/VMangos/MapMethods.h index 5788149578..78242c621b 100644 --- a/methods/VMangos/MapMethods.h +++ b/methods/VMangos/MapMethods.h @@ -323,8 +323,8 @@ namespace LuaMap // Other { "SaveInstanceData", &LuaMap::SaveInstanceData }, - { "IsArena", nullptr, METHOD_REG_NONE }, - { "IsHeroic", nullptr, METHOD_REG_NONE }, + { "IsArena", METHOD_REG_NONE }, + { "IsHeroic", METHOD_REG_NONE }, { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/PlayerMethods.h b/methods/VMangos/PlayerMethods.h index c261de4898..dcd7622a8b 100644 --- a/methods/VMangos/PlayerMethods.h +++ b/methods/VMangos/PlayerMethods.h @@ -4366,35 +4366,35 @@ namespace LuaPlayer #endif // Not implemented methods - { "GetChampioningFaction", nullptr, METHOD_REG_NONE }, // not implemented - { "GetRecruiterId", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMailItem", nullptr, METHOD_REG_NONE }, //not implemented in VMaNGOS - { "SetMovement", nullptr, METHOD_REG_NONE }, // not implemented - { "SetFFA", nullptr, METHOD_REG_NONE }, // not implemented - { "IsImmuneToEnvironmentalDamage", nullptr, METHOD_REG_NONE }, // not implemented - { "InRandomLfgDungeon", nullptr, METHOD_REG_NONE }, // not implemented - { "HasPendingBind", nullptr, METHOD_REG_NONE }, // not implemented - { "CanFlyInZone", nullptr, METHOD_REG_NONE }, // not implemented - { "IsNeverVisible", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsUsingLfg", nullptr, METHOD_REG_NONE }, // not implemented, - { "HasReceivedQuestReward", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsOutdoorPvPActive", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsARecruiter", nullptr, METHOD_REG_NONE }, // not implemented, - { "RemovePet", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonPet", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveActiveQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveRewardedQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "KilledPlayerCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "KillGOCredit", nullptr, METHOD_REG_NONE }, // not implemented - { "GainSpellComboPoints", nullptr, METHOD_REG_NONE }, // not implemented - { "AddTalent", nullptr, METHOD_REG_NONE }, // not implemented - { "BindToInstance", nullptr, METHOD_REG_NONE }, // not implemented - { "SetAchievement", nullptr, METHOD_REG_NONE }, // not implemented - { "GetMailCount", nullptr, METHOD_REG_NONE }, // not implemented - { "GetXP", nullptr, METHOD_REG_NONE }, // not implemented - { "GetXPForNextLevel", nullptr, METHOD_REG_NONE }, // not implemented - { "CanCompleteRepeatableQuest", nullptr, METHOD_REG_NONE }, // not implemented - { "CanRewardQuest", nullptr, METHOD_REG_NONE }, // not implemented + { "GetChampioningFaction", METHOD_REG_NONE }, // not implemented + { "GetRecruiterId", METHOD_REG_NONE }, // not implemented + { "GetMailItem", METHOD_REG_NONE }, //not implemented in VMaNGOS + { "SetMovement", METHOD_REG_NONE }, // not implemented + { "SetFFA", METHOD_REG_NONE }, // not implemented + { "IsImmuneToEnvironmentalDamage", METHOD_REG_NONE }, // not implemented + { "InRandomLfgDungeon", METHOD_REG_NONE }, // not implemented + { "HasPendingBind", METHOD_REG_NONE }, // not implemented + { "CanFlyInZone", METHOD_REG_NONE }, // not implemented + { "IsNeverVisible", METHOD_REG_NONE }, // not implemented, + { "IsUsingLfg", METHOD_REG_NONE }, // not implemented, + { "HasReceivedQuestReward", METHOD_REG_NONE }, // not implemented, + { "IsOutdoorPvPActive", METHOD_REG_NONE }, // not implemented, + { "IsARecruiter", METHOD_REG_NONE }, // not implemented, + { "RemovePet", METHOD_REG_NONE }, // not implemented + { "SummonPet", METHOD_REG_NONE }, // not implemented + { "RemoveActiveQuest", METHOD_REG_NONE }, // not implemented + { "RemoveRewardedQuest", METHOD_REG_NONE }, // not implemented + { "KilledPlayerCredit", METHOD_REG_NONE }, // not implemented + { "KillGOCredit", METHOD_REG_NONE }, // not implemented + { "GainSpellComboPoints", METHOD_REG_NONE }, // not implemented + { "AddTalent", METHOD_REG_NONE }, // not implemented + { "BindToInstance", METHOD_REG_NONE }, // not implemented + { "SetAchievement", METHOD_REG_NONE }, // not implemented + { "GetMailCount", METHOD_REG_NONE }, // not implemented + { "GetXP", METHOD_REG_NONE }, // not implemented + { "GetXPForNextLevel", METHOD_REG_NONE }, // not implemented + { "CanCompleteRepeatableQuest", METHOD_REG_NONE }, // not implemented + { "CanRewardQuest", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/QuestMethods.h b/methods/VMangos/QuestMethods.h index 007b33f4f4..e73445c57e 100644 --- a/methods/VMangos/QuestMethods.h +++ b/methods/VMangos/QuestMethods.h @@ -204,7 +204,7 @@ namespace LuaQuest #endif // Not implemented methods - { "GetMaxLevel", nullptr, METHOD_REG_NONE }, // not implemented + { "GetMaxLevel", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } }; diff --git a/methods/VMangos/UnitMethods.h b/methods/VMangos/UnitMethods.h index 6ee3cf2490..61fb234206 100644 --- a/methods/VMangos/UnitMethods.h +++ b/methods/VMangos/UnitMethods.h @@ -3145,20 +3145,20 @@ namespace LuaUnit #endif // Not implemented mehtods - { "GetVehicle", nullptr, METHOD_REG_NONE }, // not implemented - { "SetStunned", nullptr, METHOD_REG_NONE }, // not implemented - { "SetCanFly", nullptr, METHOD_REG_NONE }, // not implemented - { "SetVisible", nullptr, METHOD_REG_NONE }, // not implemented - { "IsVisible", nullptr, METHOD_REG_NONE }, // not implemented, - { "IsMoving", nullptr, METHOD_REG_NONE }, // not implemented - { "IsFlying", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreDisplayId", nullptr, METHOD_REG_NONE }, // not implemented - { "RestoreFaction", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveBindSightAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "RemoveCharmAuras", nullptr, METHOD_REG_NONE }, // not implemented - { "DisableMelee", nullptr, METHOD_REG_NONE }, // not implemented - { "SummonGuardian", nullptr, METHOD_REG_NONE }, // not implemented - { "SetImmuneTo", nullptr, METHOD_REG_NONE }, // not implemented + { "GetVehicle", METHOD_REG_NONE }, // not implemented + { "SetStunned", METHOD_REG_NONE }, // not implemented + { "SetCanFly", METHOD_REG_NONE }, // not implemented + { "SetVisible", METHOD_REG_NONE }, // not implemented + { "IsVisible", METHOD_REG_NONE }, // not implemented, + { "IsMoving", METHOD_REG_NONE }, // not implemented + { "IsFlying", METHOD_REG_NONE }, // not implemented + { "RestoreDisplayId", METHOD_REG_NONE }, // not implemented + { "RestoreFaction", METHOD_REG_NONE }, // not implemented + { "RemoveBindSightAuras", METHOD_REG_NONE }, // not implemented + { "RemoveCharmAuras", METHOD_REG_NONE }, // not implemented + { "DisableMelee", METHOD_REG_NONE }, // not implemented + { "SummonGuardian", METHOD_REG_NONE }, // not implemented + { "SetImmuneTo", METHOD_REG_NONE }, // not implemented { nullptr, METHOD_REG_NONE } };