static int InitialBackMsg(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.ManagerBase)); obj.InitialBackMsg(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ProcessEvent(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.ManagerBase)); U3DEventFrame.MsgBase arg0 = (U3DEventFrame.MsgBase)ToLua.CheckObject(L, 2, typeof(U3DEventFrame.MsgBase)); obj.ProcessEvent(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ProcessSendBackMsg(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.ManagerBase)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.ProcessSendBackMsg(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnRegistMsg(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.ManagerBase)); U3DEventFrame.MonoBase arg0 = (U3DEventFrame.MonoBase)ToLua.CheckUnityObject(L, 2, typeof(U3DEventFrame.MonoBase)); ushort[] arg1 = ToLua.CheckParamsNumber <ushort>(L, 3, count - 2); obj.UnRegistMsg(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_eventTree(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)o; System.Collections.Generic.Dictionary <ushort, U3DEventFrame.EventNode> arg0 = (System.Collections.Generic.Dictionary <ushort, U3DEventFrame.EventNode>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Dictionary <ushort, U3DEventFrame.EventNode>)); obj.eventTree = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index eventTree on a nil value" : e.Message)); } }
static int get_eventTree(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); U3DEventFrame.ManagerBase obj = (U3DEventFrame.ManagerBase)o; System.Collections.Generic.Dictionary <ushort, U3DEventFrame.EventNode> ret = obj.eventTree; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index eventTree on a nil value" : e.Message)); } }