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));
     }
 }
Beispiel #3
0
 public void UnRegistSelf(MonoBase mono, params ushort[] msgs)
 {
     AssetManager.Instance.UnRegistMsg(mono, msgs);
 }
Beispiel #4
0
 public void RegistSelf(MonoBase mono, params ushort[] msgs)
 {
     UIManager.Instance.RegistMsg(mono, msgs);
 }
Beispiel #5
0
        public EventNode(MonoBase tmp)
        {
            this.data = tmp;

            this.next = null;
        }
Beispiel #6
0
 public void SettingChild(MonoBase tmpChild)
 {
     monoChild = tmpChild;
 }
Beispiel #7
0
 public void RegistSelf(MonoBase mono, params ushort[] msgs)
 {
     CharaterManager.instance.RegistMsg(mono, msgs);
 }