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