Fixed immediate errors (untested).

This commit is contained in:
Maplewheels
2026-02-02 02:57:34 -05:00
parent b325a01eea
commit 0cab7954f8
3 changed files with 17 additions and 11 deletions
@@ -149,6 +149,11 @@ public partial class EventService : IEventService
return returnValue;
}
public T Call<T>(string eventName, params object[] args)
{
return (T)Call(eventName, args);
}
public void Subscribe<T>(string identifier, IDictionary<string, LuaCsFunc> callbacks) where T : IEvent<T>
{
Guard.IsNotNullOrWhiteSpace(identifier, nameof(identifier));