implement client server connection tracking persistence
This commit is contained in:
@ -26,6 +26,7 @@ namespace SharedLibraryCore.Interfaces
|
||||
ChatMessage,
|
||||
Penalized,
|
||||
ReceivedPenalty,
|
||||
QuickMessage
|
||||
QuickMessage,
|
||||
ConnectionHistory
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,6 @@ namespace SharedLibraryCore.Interfaces
|
||||
public interface IClientMetaResponse
|
||||
{
|
||||
int ClientId { get;}
|
||||
int MetaId { get; }
|
||||
long MetaId { get; }
|
||||
}
|
||||
}
|
||||
|
12
SharedLibraryCore/Interfaces/IEventPublisher.cs
Normal file
12
SharedLibraryCore/Interfaces/IEventPublisher.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace SharedLibraryCore.Interfaces
|
||||
{
|
||||
public interface IEventPublisher
|
||||
{
|
||||
event EventHandler<GameEvent> OnClientDisconnect;
|
||||
event EventHandler<GameEvent> OnClientConnect;
|
||||
|
||||
void Publish(GameEvent gameEvent);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user