This commit is contained in:
@@ -47,5 +47,6 @@ public class FleeTurnChoice : TurnChoice, IFleeChoice
|
||||
|
||||
/// <inheritdoc />
|
||||
public override int GetHashCode() =>
|
||||
// ReSharper disable once ConditionalAccessQualifierIsNonNullableAccordingToAPIContract
|
||||
User?.GetHashCode() ?? 0;
|
||||
}
|
||||
@@ -51,5 +51,6 @@ public class PassChoice : TurnChoice, IPassChoice
|
||||
|
||||
/// <inheritdoc />
|
||||
public override int GetHashCode() =>
|
||||
// ReSharper disable once ConditionalAccessQualifierIsNonNullableAccordingToAPIContract
|
||||
User?.GetHashCode() ?? 0;
|
||||
}
|
||||
@@ -60,5 +60,6 @@ public class SwitchChoice : TurnChoice, ISwitchChoice
|
||||
|
||||
/// <inheritdoc />
|
||||
public override int GetHashCode() =>
|
||||
// ReSharper disable twice ConditionalAccessQualifierIsNonNullableAccordingToAPIContract
|
||||
User?.GetHashCode() ?? 0 ^ SwitchTo?.GetHashCode() ?? 0;
|
||||
}
|
||||
Reference in New Issue
Block a user