using SharedLibraryCore.Dtos; using System.Collections.Generic; namespace SharedLibraryCore.Interfaces { public interface IEventApi { /// /// Processes event from server as event info /// /// Object state from Delegate method call /// Event to process void OnServerEvent(object sender, GameEvent E); /// /// Get list of recent events /// /// specify wether the request should clear all events after retrieving /// List of recent event IEnumerable GetEvents(bool shouldConsume); } }