mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix stat issue with concurrent threads
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
This commit is contained in:
16
Tests/ApplicationTests/Mocks/EventHandler.cs
Normal file
16
Tests/ApplicationTests/Mocks/EventHandler.cs
Normal file
@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user