Code formatting fixes

This commit is contained in:
Asriel Camora
2023-07-23 06:05:04 +04:00
parent 49d9d8d215
commit 08c5324b34
14 changed files with 54 additions and 56 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ public enum ActionType : byte
Veneration,
WasteNot,
WasteNot2,
StandardTouchCombo,
AdvancedTouchCombo,
FocusedSynthesisCombo,
@@ -48,7 +48,7 @@ public enum ActionType : byte
public static class ActionUtils
{
private static readonly BaseAction[] Actions;
static ActionUtils()
{
var types = typeof(BaseAction).Assembly.GetTypes()
+1 -1
View File
@@ -87,7 +87,7 @@ public record struct Effects
public readonly byte GetStrength(EffectType effect) =>
effect == EffectType.InnerQuiet ? InnerQuiet :
(byte)(HasEffect(effect) ? 1 : 0);
[Pure]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public readonly bool HasEffect(EffectType effect) =>
+1 -1
View File
@@ -34,7 +34,7 @@ public sealed class SimulationInput
public SimulationInput(CharacterStats stats, RecipeInfo recipe, int startingQuality = 0, int? seed = null) : this(stats, recipe, startingQuality, seed == null ? new Random() : new Random(seed.Value))
{
}
public Condition[] AvailableConditions => ConditionUtils.GetPossibleConditions(Recipe.ConditionsFlag);