2024-07-26 20:49:10 +05:00

15 lines
488 B
C#

using SoulstormReplayReader.Core.Domain.Action;
namespace SoulstormReplayReader.Core.Domain.BugCheckers;
public abstract class BugCheckerBase(int playerId, RaceEnum playerRace)
{
public readonly int PlayerId = playerId;
public readonly RaceEnum PlayerRace = playerRace;
public abstract void Check(IGameAction action);
public bool IsCompleted { get; set; }
public string Accusation { get; set; }
public bool HasAccusation => !string.IsNullOrEmpty(Accusation);
}