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
@@ -12,6 +12,7 @@ public interface ILuaCsHook : ILuaCsShim
// Does anyone use this? TODO: Analyze old Lua mods for usage scenarios.
//bool Exists(string eventName, string identifier);
object Call(string eventName, params object[] args);
T Call<T>(string eventName, params object[] args);
// Hook/Method Patching
string Patch(string identifier, string className, string methodName, string[] parameterTypes, LuaCsPatchFunc patch, EventService.HookMethodType hookType = EventService.HookMethodType.Before);