static int ProcessEvent(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); U3DEventFrame.MonoBase obj = (U3DEventFrame.MonoBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.MonoBase)); 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 UnRegistSelf(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); U3DEventFrame.UIBase obj = (U3DEventFrame.UIBase)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.UIBase)); U3DEventFrame.MonoBase arg0 = (U3DEventFrame.MonoBase)ToLua.CheckUnityObject(L, 2, typeof(U3DEventFrame.MonoBase)); ushort[] arg1 = ToLua.CheckParamsNumber <ushort>(L, 3, count - 2); obj.UnRegistSelf(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void UnRegistSelf(MonoBase mono, params ushort[] msgs) { AssetManager.Instance.UnRegistMsg(mono, msgs); }
public void RegistSelf(MonoBase mono, params ushort[] msgs) { UIManager.Instance.RegistMsg(mono, msgs); }
public EventNode(MonoBase tmp) { this.data = tmp; this.next = null; }
public void SettingChild(MonoBase tmpChild) { monoChild = tmpChild; }
public void RegistSelf(MonoBase mono, params ushort[] msgs) { CharaterManager.instance.RegistMsg(mono, msgs); }