15 lines
488 B
C#
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);
|
|
} |