- Refactored the EventService interfaces and event system, incomplete.

This commit is contained in:
MapleWheels
2026-02-01 18:48:40 -05:00
committed by Maplewheels
parent cb171d350d
commit bb8869268e
4 changed files with 31 additions and 20 deletions
@@ -8,11 +8,6 @@ namespace Barotrauma.LuaCs.Services;
public interface IEventService : IReusableService, ILuaEventService
{
FluentResults.Result SetLegacyLuaRunnerFactory<T>(Func<LuaCsFunc, T> runnerFactory) where T : IEvent<T>;
void RemoveLegacyLuaRunnerFactory<T>() where T : IEvent<T>;
void SetAliasToEvent<T>(string alias) where T : IEvent<T>;
void RemoveEventAlias(string alias);
void RemoveAllEventAliases<T>() where T : IEvent<T>;
/// <summary>
///
/// </summary>