Some analyzer code style changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class AdvancedTouch : BaseAction
|
||||
internal sealed class AdvancedTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 84;
|
||||
|
||||
@@ -6,9 +6,7 @@ public abstract class BaseAction
|
||||
{
|
||||
[ThreadStatic]
|
||||
internal static Simulator? TLSSimulation;
|
||||
protected static Simulator Simulation => TLSSimulation ?? throw new NullReferenceException();
|
||||
|
||||
public BaseAction() { }
|
||||
protected static Simulator Simulation => TLSSimulation!;
|
||||
|
||||
// Non-instanced properties
|
||||
public abstract ActionCategory Category { get; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class BasicSynthesis : BaseAction
|
||||
internal sealed class BasicSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 1;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class BasicTouch : BaseAction
|
||||
internal sealed class BasicTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 5;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class ByregotsBlessing : BaseAction
|
||||
internal sealed class ByregotsBlessing : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 50;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class CarefulObservation : BaseAction
|
||||
internal sealed class CarefulObservation : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Other;
|
||||
public override int Level => 55;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class CarefulSynthesis : BaseAction
|
||||
internal sealed class CarefulSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 62;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class DelicateSynthesis : BaseAction
|
||||
internal sealed class DelicateSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 76;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class FinalAppraisal : BaseBuffAction
|
||||
internal sealed class FinalAppraisal : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 42;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class FocusedSynthesis : BaseAction
|
||||
internal sealed class FocusedSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 67;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class FocusedTouch : BaseAction
|
||||
internal sealed class FocusedTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 68;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class GreatStrides : BaseBuffAction
|
||||
internal sealed class GreatStrides : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Buffs;
|
||||
public override int Level => 21;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Groundwork : BaseAction
|
||||
internal sealed class Groundwork : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 72;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class HastyTouch : BaseAction
|
||||
internal sealed class HastyTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 9;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class HeartAndSoul : BaseBuffAction
|
||||
internal sealed class HeartAndSoul : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Other;
|
||||
public override int Level => 86;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Innovation : BaseBuffAction
|
||||
internal sealed class Innovation : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Buffs;
|
||||
public override int Level => 26;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class IntensiveSynthesis : BaseAction
|
||||
internal sealed class IntensiveSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 78;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Manipulation : BaseBuffAction
|
||||
internal sealed class Manipulation : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Durability;
|
||||
public override int Level => 65;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class MastersMend : BaseAction
|
||||
internal sealed class MastersMend : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Durability;
|
||||
public override int Level => 7;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class MuscleMemory : BaseAction
|
||||
internal sealed class MuscleMemory : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.FirstTurn;
|
||||
public override int Level => 54;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Observe : BaseAction
|
||||
internal sealed class Observe : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Other;
|
||||
public override int Level => 13;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class PreciseTouch : BaseAction
|
||||
internal sealed class PreciseTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 53;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class PreparatoryTouch : BaseAction
|
||||
internal sealed class PreparatoryTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 71;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class PrudentSynthesis : BaseAction
|
||||
internal sealed class PrudentSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 88;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class PrudentTouch : BaseAction
|
||||
internal sealed class PrudentTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 66;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class RapidSynthesis : BaseAction
|
||||
internal sealed class RapidSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 9;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Reflect : BaseAction
|
||||
internal sealed class Reflect : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.FirstTurn;
|
||||
public override int Level => 69;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class StandardTouch : BaseAction
|
||||
internal sealed class StandardTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 18;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class TrainedEye : BaseAction
|
||||
internal sealed class TrainedEye : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.FirstTurn;
|
||||
public override int Level => 80;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class TrainedFinesse : BaseAction
|
||||
internal sealed class TrainedFinesse : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 90;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class TricksOfTheTrade : BaseAction
|
||||
internal sealed class TricksOfTheTrade : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Other;
|
||||
public override int Level => 13;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class Veneration : BaseBuffAction
|
||||
internal sealed class Veneration : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Buffs;
|
||||
public override int Level => 15;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class WasteNot : BaseBuffAction
|
||||
internal sealed class WasteNot : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Durability;
|
||||
public override int Level => 15;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal class WasteNot2 : BaseBuffAction
|
||||
internal sealed class WasteNot2 : BaseBuffAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Durability;
|
||||
public override int Level => 47;
|
||||
|
||||
Reference in New Issue
Block a user