public static HookInfo GetHookInfo(ScriptState luaState, out int result) { var info = new HookInfo(); result = ScriptApi.GetHookInfo(luaState, ref info); return(info); }