reworked event management (again)
almost finished
This commit is contained in:
@ -13,17 +13,6 @@ namespace SharedLibraryCore.Interfaces
|
||||
/// Add a game event event to the queue to be processed
|
||||
/// </summary>
|
||||
/// <param name="gameEvent">Game event</param>
|
||||
/// <param name="delayedExecution">don't signal that an event has been aded</param>
|
||||
void AddEvent(GameEvent gameEvent, bool delayedExecution = false);
|
||||
/// <summary>
|
||||
/// Get the next event to be processed
|
||||
/// </summary>
|
||||
/// <returns>Game event that needs to be processed</returns>
|
||||
GameEvent GetNextEvent();
|
||||
/// <summary>
|
||||
/// If an event has output. Like executing a command wait until it's available
|
||||
/// </summary>
|
||||
/// <returns>List of output strings</returns>
|
||||
string[] GetEventOutput();
|
||||
void AddEvent(GameEvent gameEvent);
|
||||
}
|
||||
}
|
||||
|
@ -13,5 +13,6 @@ namespace SharedLibraryCore.Interfaces
|
||||
void WriteDebug(string msg);
|
||||
void WriteWarning(string msg);
|
||||
void WriteError(string msg);
|
||||
void WriteAssert(bool condition, string msg);
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ namespace SharedLibraryCore.Interfaces
|
||||
public interface IManager
|
||||
{
|
||||
Task Init();
|
||||
Task Start();
|
||||
void Start();
|
||||
void Stop();
|
||||
ILogger GetLogger();
|
||||
IList<Server> GetServers();
|
||||
|
Reference in New Issue
Block a user