Files
Giants/Src/Giants.Core/Src/Commands/BaseMatchCommand.cs
mcmuzzle 80b3d71104
All checks were successful
check main state / build (9.0.x) (push) Successful in 1m28s
Mise en place des MatchCommand
Ajout des données dynamiques au match
2025-04-03 00:15:11 +02:00

13 lines
340 B
C#

namespace Giants.Core.Commands;
public abstract class BaseMatchCommand<T> : BaseCommand<T> where T : BaseCommandResult
{
public required Match InputMatch { get; init; }
protected abstract T LocalMatchExecute(Match match);
protected override T LocalExecute()
{
return LocalMatchExecute(InputMatch.Clone());
}
}