9e74dac5ed
fix potential lost penalty if server does not response to kick request make sure that broadcast only shows one custom say name add unit tests
17 lines
361 B
C#
17 lines
361 B
C#
using SharedLibraryCore;
|
|
using SharedLibraryCore.Interfaces;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ApplicationTests.Mocks
|
|
{
|
|
class MockEventHandler : IEventHandler
|
|
{
|
|
public IList<GameEvent> Events = new List<GameEvent>();
|
|
|
|
public void AddEvent(GameEvent gameEvent)
|
|
{
|
|
Events.Add(gameEvent);
|
|
}
|
|
}
|
|
}
|