static int _m_MemoryStreamNewBlockCreated(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Microsoft.IO.RecyclableMemoryStreamManager.Events gen_to_be_invoked = (Microsoft.IO.RecyclableMemoryStreamManager.Events)translator.FastGetCSObj(L, 1);



                {
                    long _smallPoolInUseBytes = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.MemoryStreamNewBlockCreated(_smallPoolInUseBytes);



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


                System.IO.FileStream gen_to_be_invoked = (System.IO.FileStream)translator.FastGetCSObj(L, 1);



                {
                    long _value = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.SetLength(_value);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #3
0
        static int _m_SetLong(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                LitJson.JsonMockWrapper gen_to_be_invoked = (LitJson.JsonMockWrapper)translator.FastGetCSObj(L, 1);



                {
                    long _val = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.SetLong(_val);



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


                CustomDataStruct.StreamBuffer gen_to_be_invoked = (CustomDataStruct.StreamBuffer)translator.FastGetCSObj(L, 1);



                {
                    long _offset = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.SetPosition(_offset);



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


            Tutorial.DrivenClass __cl_gen_to_be_invoked = (Tutorial.DrivenClass)translator.FastGetCSObj(L, 1);


            try {
                {
                    long n = LuaAPI.lua_toint64(L, 2);

                    ulong __cl_gen_ret = __cl_gen_to_be_invoked.TestLong(n);
                    LuaAPI.lua_pushuint64(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
        static int _m_WriteTimestamp(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                MongoDB.Bson.IO.BsonBinaryWriter gen_to_be_invoked = (MongoDB.Bson.IO.BsonBinaryWriter)translator.FastGetCSObj(L, 1);



                {
                    long _value = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.WriteTimestamp(_value);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #7
0
        static int _m_Remove(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.WService gen_to_be_invoked = (DCET.Model.WService)translator.FastGetCSObj(L, 1);



                {
                    long _id = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.Remove(_id);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #8
0
        static int _m_Create_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    long   _time   = LuaAPI.lua_toint64(L, 1);
                    int    _memory = LuaAPI.xlua_tointeger(L, 2);
                    string _name   = LuaAPI.lua_tostring(L, 3);

                    MikuLuaProfiler.Sample gen_ret = MikuLuaProfiler.Sample.Create(_time, _memory, _name);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #9
0
        static int _m_RemoveSceneObject(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    long _uid = LuaAPI.lua_toint64(L, 2);

                    gen_to_be_invoked.RemoveSceneObject(_uid);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #10
0
        static int _m_UpdateLooksInfo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    long _uid = LuaAPI.lua_toint64(L, 2);
                    UnityMMO.RoleLooksInfo _info; translator.Get(L, 3, out _info);

                    gen_to_be_invoked.UpdateLooksInfo(_uid, _info);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #11
0
        static int _m_SetName(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    long   _uid  = LuaAPI.lua_toint64(L, 2);
                    string _name = LuaAPI.lua_tostring(L, 3);

                    gen_to_be_invoked.SetName(_uid, _name);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #12
0
        static int _m_Unlock(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                System.IO.FileStream gen_to_be_invoked = (System.IO.FileStream)translator.FastGetCSObj(L, 1);



                {
                    long _position = LuaAPI.lua_toint64(L, 2);
                    long _length   = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.Unlock(_position, _length);



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


                DCET.Model.CoroutineLockQueueType gen_to_be_invoked = (DCET.Model.CoroutineLockQueueType)translator.FastGetCSObj(L, 1);



                {
                    long _key = LuaAPI.lua_toint64(L, 2);
                    DCET.Model.CoroutineLockQueue _coroutineLockQueue = (DCET.Model.CoroutineLockQueue)translator.GetObject(L, 3, typeof(DCET.Model.CoroutineLockQueue));

                    gen_to_be_invoked.Add(_key, _coroutineLockQueue);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #14
0
        static int _m_GetRepeatedTimer(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.TimerComponent gen_to_be_invoked = (DCET.Model.TimerComponent)translator.FastGetCSObj(L, 1);



                {
                    long _id = LuaAPI.lua_toint64(L, 2);

                    DCET.Model.RepeatedTimer gen_ret = gen_to_be_invoked.GetRepeatedTimer(_id);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #15
0
        static int _m_SetData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    long _num  = LuaAPI.lua_toint64(L, 2);
                    long _flag = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.SetData(_num, _flag);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #16
0
        static int _m_Awake(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.RepeatedTimer gen_to_be_invoked = (DCET.Model.RepeatedTimer)translator.FastGetCSObj(L, 1);



                {
                    long          _repeatedTime = LuaAPI.lua_toint64(L, 2);
                    System.Action _callback     = translator.GetDelegate <System.Action>(L, 3);

                    gen_to_be_invoked.Awake(_repeatedTime, _callback);



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


                DCET.Model.ETCancellationTokenSourceAwake2System gen_to_be_invoked = (DCET.Model.ETCancellationTokenSourceAwake2System)translator.FastGetCSObj(L, 1);



                {
                    DCET.Model.ETCancellationTokenSource _self = (DCET.Model.ETCancellationTokenSource)translator.GetObject(L, 2, typeof(DCET.Model.ETCancellationTokenSource));
                    long _afterTimeCancel = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.Awake(_self, _afterTimeCancel);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #18
0
        static int _m_CallLuaFuncNum(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                XLuaFramework.CSLuaBridge gen_to_be_invoked = (XLuaFramework.CSLuaBridge)translator.FastGetCSObj(L, 1);



                {
                    int  _funcID = LuaAPI.xlua_tointeger(L, 2);
                    long _arge1  = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.CallLuaFuncNum(_funcID, _arge1);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #19
0
        static int _m_UdpAuth(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            Maria.Context __cl_gen_to_be_invoked = (Maria.Context)translator.FastGetCSObj(L, 1);


            try {
                {
                    long   session = LuaAPI.lua_toint64(L, 2);
                    string ip      = LuaAPI.lua_tostring(L, 3);
                    int    port    = LuaAPI.xlua_tointeger(L, 4);

                    __cl_gen_to_be_invoked.UdpAuth(session, ip, port);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Пример #20
0
        static int _m_CancelAfter(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.ETCancellationTokenSource gen_to_be_invoked = (DCET.Model.ETCancellationTokenSource)translator.FastGetCSObj(L, 1);



                {
                    long _afterTimeCancel = LuaAPI.lua_toint64(L, 2);

                    DCET.Model.ETVoid gen_ret = gen_to_be_invoked.CancelAfter(_afterTimeCancel);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #21
0
        static int _m_Update(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                BattleServer.BS __cl_gen_to_be_invoked = (BattleServer.BS)translator.FastGetCSObj(L, 1);



                {
                    long elapsed = LuaAPI.lua_toint64(L, 2);
                    long dt      = LuaAPI.lua_toint64(L, 3);

                    __cl_gen_to_be_invoked.Update(elapsed, dt);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Пример #22
0
        static int _m_AddToTimeId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.TimerComponent gen_to_be_invoked = (DCET.Model.TimerComponent)translator.FastGetCSObj(L, 1);



                {
                    long _tillTime = LuaAPI.lua_toint64(L, 2);
                    long _id       = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.AddToTimeId(_tillTime, _id);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #23
0
        static int _m_GetSceneObjTypeByUID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    long _uid = LuaAPI.lua_toint64(L, 2);

                    UnityMMO.SceneObjectType gen_ret = gen_to_be_invoked.GetSceneObjTypeByUID(_uid);
                    translator.PushUnityMMOSceneObjectType(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #24
0
        static int _m_GetChannel(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.KService gen_to_be_invoked = (DCET.Model.KService)translator.FastGetCSObj(L, 1);



                {
                    long _id = LuaAPI.lua_toint64(L, 2);

                    DCET.Model.AChannel gen_ret = gen_to_be_invoked.GetChannel(_id);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #25
0
        static int _m_Run(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.INumericWatcher gen_to_be_invoked = (DCET.Model.INumericWatcher)translator.FastGetCSObj(L, 1);



                {
                    long _id    = LuaAPI.lua_toint64(L, 2);
                    int  _value = LuaAPI.xlua_tointeger(L, 3);

                    gen_to_be_invoked.Run(_id, _value);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #26
0
        static int _m_TestLong(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DrivenClass gen_to_be_invoked = (DrivenClass)translator.FastGetCSObj(L, 1);



                {
                    long _n = LuaAPI.lua_toint64(L, 2);

                    ulong gen_ret = gen_to_be_invoked.TestLong(_n);
                    LuaAPI.lua_pushuint64(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #27
0
        static int _m_Awake(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.CoroutineLock gen_to_be_invoked = (DCET.Model.CoroutineLock)translator.FastGetCSObj(L, 1);



                {
                    DCET.Model.CoroutineLockType _type; translator.Get(L, 2, out _type);
                    long _k = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.Awake(_type, _k);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #28
0
        static int _m_SetSkillCD(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    int  _skillID = LuaAPI.xlua_tointeger(L, 2);
                    long _endTime = LuaAPI.lua_toint64(L, 3);

                    gen_to_be_invoked.SetSkillCD(_skillID, _endTime);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Пример #29
0
        static int _m_IsRegister(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.EventSystem gen_to_be_invoked = (DCET.Model.EventSystem)translator.FastGetCSObj(L, 1);



                {
                    long _instanceId = LuaAPI.lua_toint64(L, 2);

                    bool gen_ret = gen_to_be_invoked.IsRegister(_instanceId);
                    LuaAPI.lua_pushboolean(L, gen_ret);



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


                DCET.Model.CoroutineLockQueueType gen_to_be_invoked = (DCET.Model.CoroutineLockQueueType)translator.FastGetCSObj(L, 1);



                {
                    long _key = LuaAPI.lua_toint64(L, 2);

                    bool gen_ret = gen_to_be_invoked.ContainsKey(_key);
                    LuaAPI.lua_pushboolean(L, gen_ret);



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