Example #1
0
        static int _g_get_OtherPlayerEquipPosInfos(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.OtherPlayerEquipPosInfos);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Example #2
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.MainmapManager __cl_gen_ret = new xc.MainmapManager();
                    translator.Push(L, __cl_gen_ret);
                    return(1);
                }
            }
            catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to xc.MainmapManager constructor!"));
        }
Example #3
0
        static int _m_Update(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    __cl_gen_to_be_invoked.Update(  );



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


            xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    xc.EquipPosInfo equipPosInfo = (xc.EquipPosInfo)translator.GetObject(L, 2, typeof(xc.EquipPosInfo));

                    __cl_gen_to_be_invoked.SetOtherPlayerEquipPosInfo(equipPosInfo);



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


            xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    uint pos = LuaAPI.xlua_touint(L, 2);

                    xc.EquipPosInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOtherPlayerEquipPosInfos(pos);
                    translator.Push(L, __cl_gen_ret);



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