少年修仙传客户端代码仓库
client_linchunjie
2019-06-10 97c753d8e6014aeefd6d6a47d01f7fcda3e4fbf7
Lua/Gen/PlayerPropertyConfigWrap.cs
@@ -46,7 +46,6 @@
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPropByType", _m_GetPropByType_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFullDescription", _m_GetFullDescription_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValueDescription", _m_GetValueDescription_xlua_st_);
            
         
            
@@ -363,66 +362,6 @@
            return LuaAPI.luaL_error(L, "invalid arguments to PlayerPropertyConfig.GetFullDescription!");
            
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetValueDescription_xlua_st_(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    int _value = LuaAPI.xlua_tointeger(L, 2);
                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _id, _value );
                        LuaAPI.lua_pushstring(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    int _value = LuaAPI.xlua_tointeger(L, 2);
                    int _decimalCount = LuaAPI.xlua_tointeger(L, 3);
                    bool _largeValue = LuaAPI.lua_toboolean(L, 4);
                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _id, _value, _decimalCount, _largeValue );
                        LuaAPI.lua_pushstring(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& translator.Assignable<Int2>(L, 1))
                {
                    Int2 _property;translator.Get(L, 1, out _property);
                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _property );
                        LuaAPI.lua_pushstring(L, 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 PlayerPropertyConfig.GetValueDescription!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_inited(RealStatePtr L)