All checks were successful
check main state / build (9.0.x) (push) Successful in 1m28s
Ajout des données dynamiques au match
13 lines
340 B
C#
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());
|
|
}
|
|
} |