2019-12-14 04:42:55 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-12-16 00:35:59 +00:00
|
|
|
|
|
2019-12-14 04:42:55 +00:00
|
|
|
|
using Svelto.ECS;
|
|
|
|
|
|
2020-05-12 00:28:26 +00:00
|
|
|
|
using GamecraftModdingAPI.Engines;
|
2019-12-16 00:35:59 +00:00
|
|
|
|
|
2019-12-14 04:42:55 +00:00
|
|
|
|
namespace GamecraftModdingAPI.Events
|
|
|
|
|
{
|
2019-12-14 18:52:24 +00:00
|
|
|
|
/// <summary>
|
2020-05-12 00:28:26 +00:00
|
|
|
|
/// Engine interface to create a ModEventEntityStruct in entitiesDB when a specific event occurs.
|
2019-12-14 18:52:24 +00:00
|
|
|
|
/// </summary>
|
2020-05-12 00:28:26 +00:00
|
|
|
|
public interface IEventEmitterEngine : IFactoryEngine
|
2019-12-14 04:42:55 +00:00
|
|
|
|
{
|
2019-12-14 18:52:24 +00:00
|
|
|
|
/// <summary>
|
2020-05-12 00:28:26 +00:00
|
|
|
|
/// Emit the event. (Optional)
|
2019-12-14 18:52:24 +00:00
|
|
|
|
/// </summary>
|
2020-05-12 00:28:26 +00:00
|
|
|
|
void Emit();
|
2019-12-14 04:42:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|