示例#1
0
        static int _m_GetInstance_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    UnityMMO.NetMsgDispatcher gen_ret = UnityMMO.NetMsgDispatcher.GetInstance(  );
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
示例#2
0
        static int _m_Init(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.NetMsgDispatcher gen_to_be_invoked = (UnityMMO.NetMsgDispatcher)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.Init(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
示例#3
0
        static int _m_OnReceiveMsgFromNet(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityMMO.NetMsgDispatcher gen_to_be_invoked = (UnityMMO.NetMsgDispatcher)translator.FastGetCSObj(L, 1);



                {
                    byte[] _bytes = LuaAPI.lua_tobytes(L, 2);

                    gen_to_be_invoked.OnReceiveMsgFromNet(_bytes);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }