initialize repo
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using Civilization.Shared.Packets.ServerMessages;
|
||||
|
||||
namespace Civilization.Server.Networking.Interfaces;
|
||||
|
||||
public interface IClientConnection
|
||||
{
|
||||
int PlayerId { get; }
|
||||
Task SendAsync(BaseServerMessage message);
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using Civilization.Server.Game;
|
||||
|
||||
namespace Civilization.Server.Networking.Interfaces;
|
||||
|
||||
public interface ITransport
|
||||
{
|
||||
Task StartAsync(GameSessionCoordinator coordinator, CancellationToken cancellationToken = default);
|
||||
}
|
Reference in New Issue
Block a user