少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-04 f30bdb83fa5a7c439648bac3bb12767d0c025f78
Lua/Gen/PlayerPropertyConfigWrap.cs
@@ -38,13 +38,14 @@
         Utils.EndObjectRegister(type, L, translator, null, null,
             null, null, null);
          Utils.BeginClassRegister(type, L, __CreateInstance, 7, 1, 0);
          Utils.BeginClassRegister(type, L, __CreateInstance, 8, 1, 0);
         Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeys", _m_GetKeys_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValues", _m_GetValues_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Has", _m_Has_xlua_st_);
            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, "GetPropertyDescription", _m_GetPropertyDescription_xlua_st_);
            
         
            
@@ -319,6 +320,32 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetPropertyDescription_xlua_st_(RealStatePtr L)
        {
          try {
                {
                    int _propertyId = LuaAPI.xlua_tointeger(L, 1);
                    int _value = LuaAPI.xlua_tointeger(L, 2);
                        string gen_ret = PlayerPropertyConfig.GetPropertyDescription( _propertyId, _value );
                        LuaAPI.lua_pushstring(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }