feat: add console command framework
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.Features.Console.Contracts;
|
||||
|
||||
public interface ICommandRegistry
|
||||
{
|
||||
IReadOnlyCollection<ICommand> All { get; }
|
||||
void Register(ICommand command);
|
||||
bool TryGet(string name, out ICommand command);
|
||||
}
|
||||
Reference in New Issue
Block a user