9 lines
No EOL
255 B
C#
9 lines
No EOL
255 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace WingsEmu.Game.Entities;
|
|
|
|
public interface IGenericEventEmitter<in TEventType>
|
|
{
|
|
public Task EmitEventAsync<T>(T eventArgs) where T : TEventType;
|
|
public void EmitEvent<T>(T eventArgs) where T : TEventType;
|
|
} |