diff --git a/src/strategy/deathknight/BloodDKStrategy.cpp b/src/strategy/deathknight/BloodDKStrategy.cpp index af7da39a..35e5b38a 100644 --- a/src/strategy/deathknight/BloodDKStrategy.cpp +++ b/src/strategy/deathknight/BloodDKStrategy.cpp @@ -33,7 +33,7 @@ class BloodDKStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* rune_strike(PlayerbotAI* botAI) + static ActionNode* rune_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("rune strike", /*P*/ NextAction::array(0, new NextAction("frost presence"), nullptr), @@ -41,7 +41,7 @@ class BloodDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* heart_strike(PlayerbotAI* botAI) + static ActionNode* heart_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("heart strike", /*P*/ NextAction::array(0, new NextAction("frost presence"), nullptr), @@ -49,7 +49,7 @@ class BloodDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* death_strike(PlayerbotAI* botAI) + static ActionNode* death_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("death strike", /*P*/ NextAction::array(0, new NextAction("frost presence"), nullptr), diff --git a/src/strategy/deathknight/FrostDKStrategy.cpp b/src/strategy/deathknight/FrostDKStrategy.cpp index 7326c3e6..3bf14dd3 100644 --- a/src/strategy/deathknight/FrostDKStrategy.cpp +++ b/src/strategy/deathknight/FrostDKStrategy.cpp @@ -30,7 +30,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* obliterate(PlayerbotAI* botAI) + static ActionNode* obliterate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("obliterate", /*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr), @@ -38,7 +38,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* rune_strike(PlayerbotAI* botAI) + static ActionNode* rune_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("rune strike", /*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr), @@ -46,7 +46,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* frost_strike(PlayerbotAI* botAI) + static ActionNode* frost_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("frost strike", /*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr), @@ -54,7 +54,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* howling_blast(PlayerbotAI* botAI) + static ActionNode* howling_blast([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("howling blast", /*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr), diff --git a/src/strategy/deathknight/GenericDKNonCombatStrategy.cpp b/src/strategy/deathknight/GenericDKNonCombatStrategy.cpp index 883edf24..2cfeabf5 100644 --- a/src/strategy/deathknight/GenericDKNonCombatStrategy.cpp +++ b/src/strategy/deathknight/GenericDKNonCombatStrategy.cpp @@ -15,7 +15,7 @@ class GenericDKNonCombatStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* death_coil(PlayerbotAI* botAI) + static ActionNode* death_coil([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("death coil", /*P*/ nullptr, @@ -58,7 +58,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* death_grip(PlayerbotAI* botAI) + static ActionNode* death_grip([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("death grip", /*P*/ nullptr, @@ -66,7 +66,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* plague_strike(PlayerbotAI* botAI) + static ActionNode* plague_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("plague strike", /*P*/ nullptr, @@ -74,7 +74,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* icy_touch(PlayerbotAI* botAI) + static ActionNode* icy_touch([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("icy touch", /*P*/ nullptr, @@ -82,7 +82,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* heart_strike(PlayerbotAI* botAI) + static ActionNode* heart_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("heart strike", /*P*/ nullptr, @@ -90,7 +90,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* pestilence(PlayerbotAI* botAI) + static ActionNode* pestilence([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("pestilence", /*P*/ nullptr, @@ -98,7 +98,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* horn_of_winter(PlayerbotAI* botAI) + static ActionNode* horn_of_winter([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("horn of winter", /*P*/ nullptr, @@ -106,7 +106,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* bone_shield(PlayerbotAI* botAI) + static ActionNode* bone_shield([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("bone shield", /*P*/ nullptr, @@ -114,7 +114,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* killing_machine(PlayerbotAI* botAI) + static ActionNode* killing_machine([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("killing machine", /*P*/ nullptr, @@ -122,7 +122,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* corpse_explosion(PlayerbotAI* botAI) + static ActionNode* corpse_explosion([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("corpse explosion", /*P*/ nullptr, @@ -130,7 +130,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* anti_magic_zone(PlayerbotAI* botAI) + static ActionNode* anti_magic_zone([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("anti magic zone", /*P*/ nullptr, @@ -138,7 +138,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* icebound_fortitude(PlayerbotAI* botAI) + static ActionNode* icebound_fortitude([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("icebound fortitude", /*P*/ nullptr, diff --git a/src/strategy/deathknight/UnholyDKStrategy.cpp b/src/strategy/deathknight/UnholyDKStrategy.cpp index 6f3d9a2b..bc6f9df2 100644 --- a/src/strategy/deathknight/UnholyDKStrategy.cpp +++ b/src/strategy/deathknight/UnholyDKStrategy.cpp @@ -30,7 +30,7 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* death_strike(PlayerbotAI* botAI) + static ActionNode* death_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("death strike", /*P*/ NextAction::array(0, new NextAction("unholy pressence"), nullptr), @@ -38,7 +38,7 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* corpse_explosion(PlayerbotAI* botAI) + static ActionNode* corpse_explosion([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("corpse explosion", /*P*/ NextAction::array(0, new NextAction("unholy pressence"), nullptr), @@ -46,7 +46,7 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* scourge_strike(PlayerbotAI* botAI) + static ActionNode* scourge_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode("scourge strike", /*P*/ NextAction::array(0, new NextAction("unholy pressence"), nullptr), diff --git a/src/strategy/druid/BearTankDruidStrategy.cpp b/src/strategy/druid/BearTankDruidStrategy.cpp index bbd92e7e..62b115cd 100644 --- a/src/strategy/druid/BearTankDruidStrategy.cpp +++ b/src/strategy/druid/BearTankDruidStrategy.cpp @@ -25,7 +25,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* viper_sting(PlayerbotAI* botAI) + static ActionNode* viper_sting([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("viper sting", /*P*/ nullptr, @@ -26,7 +26,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* aimed_shot(PlayerbotAI* botAI) + static ActionNode* aimed_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("aimed shot", /*P*/ nullptr, @@ -34,7 +34,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* chimera_shot(PlayerbotAI* botAI) + static ActionNode* chimera_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("chimera shot", /*P*/ nullptr, @@ -42,7 +42,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* explosive_shot(PlayerbotAI* botAI) + static ActionNode* explosive_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("explosive shot", /*P*/ nullptr, @@ -50,7 +50,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* concussive_shot(PlayerbotAI* botAI) + static ActionNode* concussive_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("concussive shot", /*P*/ nullptr, diff --git a/src/strategy/hunter/GenericHunterNonCombatStrategy.cpp b/src/strategy/hunter/GenericHunterNonCombatStrategy.cpp index 933d8df9..782b34e6 100644 --- a/src/strategy/hunter/GenericHunterNonCombatStrategy.cpp +++ b/src/strategy/hunter/GenericHunterNonCombatStrategy.cpp @@ -16,7 +16,7 @@ class GenericHunterNonCombatStrategyActionNodeFactory : public NamedObjectFactor } private: - static ActionNode* rapid_fire(PlayerbotAI* botAI) + static ActionNode* rapid_fire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("rapid fire", /*P*/ nullptr, @@ -24,7 +24,7 @@ class GenericHunterNonCombatStrategyActionNodeFactory : public NamedObjectFactor /*C*/ nullptr); } - static ActionNode* aspect_of_the_pack(PlayerbotAI* botAI) + static ActionNode* aspect_of_the_pack([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("aspect of the pack", /*P*/ nullptr, diff --git a/src/strategy/hunter/GenericHunterStrategy.cpp b/src/strategy/hunter/GenericHunterStrategy.cpp index c81c155e..6adb3ae1 100644 --- a/src/strategy/hunter/GenericHunterStrategy.cpp +++ b/src/strategy/hunter/GenericHunterStrategy.cpp @@ -19,7 +19,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory } private: - static ActionNode* riposte(PlayerbotAI* botAI) + static ActionNode* riposte([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("riposte", /*P*/ nullptr, @@ -28,7 +28,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* mutilate(PlayerbotAI* botAI) + static ActionNode* mutilate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("mutilate", /*P*/ nullptr, @@ -36,7 +36,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* sinister_strike(PlayerbotAI* botAI) + static ActionNode* sinister_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("sinister strike", /*P*/ nullptr, @@ -44,7 +44,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* kick(PlayerbotAI* botAI) + static ActionNode* kick([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("kick", /*P*/ nullptr, @@ -52,7 +52,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* kidney_shot(PlayerbotAI* botAI) + static ActionNode* kidney_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("kidney shot", /*P*/ nullptr, @@ -60,7 +60,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* rupture(PlayerbotAI* botAI) + static ActionNode* rupture([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("rupture", /*P*/ nullptr, @@ -68,7 +68,7 @@ class DpsRogueStrategyActionNodeFactory : public NamedObjectFactory /*C*/ nullptr); } - static ActionNode* backstab(PlayerbotAI* botAI) + static ActionNode* backstab([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill { return new ActionNode ("backstab", /*P*/ nullptr, diff --git a/src/strategy/shaman/CasterShamanStrategy.cpp b/src/strategy/shaman/CasterShamanStrategy.cpp index 5f4716c1..71186504 100644 --- a/src/strategy/shaman/CasterShamanStrategy.cpp +++ b/src/strategy/shaman/CasterShamanStrategy.cpp @@ -14,7 +14,7 @@ class CasterShamanStrategyActionNodeFactory : public NamedObjectFactory