少年修仙传客户端基础资源
Client_PangDeRong
2018-11-10 f08f1cb1c33396b641fd6448b14c1227235b498f
Assets/XLua/Gen/ComposeWinModelWrap.cs
@@ -21,19 +21,32 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(ComposeWinModel);
         Utils.BeginObjectRegister(type, L, translator, 0, 27, 8, 5);
         Utils.BeginObjectRegister(type, L, translator, 0, 44, 10, 7);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetModel", _m_ResetModel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsComposeJobLimit", _m_IsComposeJobLimit);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFirstTypeModel", _m_GetFirstTypeModel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSecondTypeModel", _m_GetSecondTypeModel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetThirdTypeModellist", _m_GetThirdTypeModellist);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTicketId", _m_GetTicketId);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParseFuncConfig", _m_ParseFuncConfig);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParseItemComoundConfig", _m_ParseItemComoundConfig);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddComposeData", _m_AddComposeData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateComposeDataByLevel", _m_UpdateComposeDataByLevel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFirstTypeData", _m_TryGetFirstTypeData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetSecondTypeData", _m_TryGetSecondTypeData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetThirdTypeData", _m_TryGetThirdTypeData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurComposeModel", _m_SetCurComposeModel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateThirdType", _m_UpdateThirdType);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSecondType", _m_UpdateSecondType);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateReduce", _m_UpdateReduce);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateComposeEquipPlace", _m_UpdateComposeEquipPlace);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetIncreaseRateItemIndex", _m_TryGetIncreaseRateItemIndex);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCountById", _m_TryGetCountById);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetIdByDisplay", _m_TryGetIdByDisplay);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetItemCompoundByMakeId", _m_TryGetItemCompoundByMakeId);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsComposeJobLimit", _m_IsComposeJobLimit);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsTrailerByLevel", _m_IsTrailerByLevel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTicketId", _m_GetTicketId);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughUnfixedMat", _m_IsEnoughUnfixedMat);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughFixedMat", _m_IsEnoughFixedMat);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughMoney", _m_IsEnoughMoney);
@@ -51,17 +64,25 @@
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshComposeRed", _m_RefreshComposeRed);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetModelEvent", _e_ResetModelEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateThirdTypeEvent", _e_UpdateThirdTypeEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSecondTypeEvent", _e_UpdateSecondTypeEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateReduceEvent", _e_UpdateReduceEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateEquipTypeEvent", _e_UpdateEquipTypeEvent);
         
         Utils.RegisterFunc(L, Utils.GETTER_IDX, "CurComposeModel", _g_get_CurComposeModel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "secondType", _g_get_secondType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "thirdType", _g_get_thirdType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeDataDict", _g_get_composeDataDict);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeOpenDataDict", _g_get_composeOpenDataDict);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeRed", _g_get_composeRed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeBtnRed", _g_get_composeBtnRed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeToolRed", _g_get_composeToolRed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "secondTypeRedDict", _g_get_secondTypeRedDict);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "thirdTypeRedDict", _g_get_thirdTypeRedDict);
            
         Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeRed", _s_set_composeRed);
         Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeDataDict", _s_set_composeDataDict);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeOpenDataDict", _s_set_composeOpenDataDict);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeRed", _s_set_composeRed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeBtnRed", _s_set_composeBtnRed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeToolRed", _s_set_composeToolRed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "secondTypeRedDict", _s_set_secondTypeRedDict);
@@ -250,6 +271,510 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ParseFuncConfig(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.ParseFuncConfig(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ParseItemComoundConfig(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.ParseItemComoundConfig(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddComposeData(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData> _keyValues = (System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>)translator.GetObject(L, 3, typeof(System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>));
                    gen_to_be_invoked.AddComposeData( _itemCompound, _keyValues );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateComposeDataByLevel(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.UpdateComposeDataByLevel(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetFirstTypeData(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    ComposeWinModel.ComposeFirstTypeData _firstTypeData;
                        bool gen_ret = gen_to_be_invoked.TryGetFirstTypeData( _firstType, out _firstTypeData );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _firstTypeData);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetSecondTypeData(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    int _secondType = LuaAPI.xlua_tointeger(L, 3);
                    ComposeWinModel.ComposeSecondTypeData _secondTypeData;
                        bool gen_ret = gen_to_be_invoked.TryGetSecondTypeData( _firstType, _secondType, out _secondTypeData );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _secondTypeData);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetThirdTypeData(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
             int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    int _secondType = LuaAPI.xlua_tointeger(L, 3);
                    int _thirdType = LuaAPI.xlua_tointeger(L, 4);
                    System.Collections.Generic.List<ComposeWinModel.ComposeThirdTypeData> _thirdTypeDatas;
                        bool gen_ret = gen_to_be_invoked.TryGetThirdTypeData( _firstType, _secondType, _thirdType, out _thirdTypeDatas );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _thirdTypeDatas);
                    return 2;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    int _secondType = LuaAPI.xlua_tointeger(L, 3);
                    int _thirdType = LuaAPI.xlua_tointeger(L, 4);
                    ComposeWinModel.ComposeThirdTypeData _thirdTypeData;
                        bool gen_ret = gen_to_be_invoked.TryGetThirdTypeData( _firstType, _secondType, _thirdType, out _thirdTypeData );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _thirdTypeData);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to ComposeWinModel.TryGetThirdTypeData!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCurComposeModel(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.ItemCompoundConfig _compoundModel = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    gen_to_be_invoked.SetCurComposeModel( _compoundModel );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateThirdType(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _thirdType = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.UpdateThirdType( _thirdType );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateSecondType(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _secondType = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.UpdateSecondType( _secondType );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateReduce(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    Snxxz.UI.ComposeMatCell _matCell = (Snxxz.UI.ComposeMatCell)translator.GetObject(L, 2, typeof(Snxxz.UI.ComposeMatCell));
                    NeedMatType _matType;translator.Get(L, 3, out _matType);
                    gen_to_be_invoked.UpdateReduce( _matCell, _matType );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateComposeEquipPlace(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    int _equipIndex = LuaAPI.xlua_tointeger(L, 3);
                    gen_to_be_invoked.UpdateComposeEquipPlace( _itemCompound, _equipIndex );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetIncreaseRateItemIndex(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    bool _IsIncrease = LuaAPI.lua_toboolean(L, 3);
                    System.Collections.Generic.List<int> _indexlist;
                        bool gen_ret = gen_to_be_invoked.TryGetIncreaseRateItemIndex( _itemCompound, _IsIncrease, out _indexlist );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _indexlist);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetCountById(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    NeedMatType _matType;translator.Get(L, 2, out _matType);
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 3, typeof(TableConfig.ItemCompoundConfig));
                    int _itemId = LuaAPI.xlua_tointeger(L, 4);
                    int _itemCount;
                        bool gen_ret = gen_to_be_invoked.TryGetCountById( _matType, _itemCompound, _itemId, out _itemCount );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    LuaAPI.xlua_pushinteger(L, _itemCount);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetIdByDisplay(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    NeedMatType _matType;translator.Get(L, 2, out _matType);
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 3, typeof(TableConfig.ItemCompoundConfig));
                    int _display = LuaAPI.xlua_tointeger(L, 4);
                    int _itemId;
                        bool gen_ret = gen_to_be_invoked.TryGetIdByDisplay( _matType, _itemCompound, _display, out _itemId );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    LuaAPI.xlua_pushinteger(L, _itemId);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetItemCompoundByMakeId(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int __ticketId = LuaAPI.xlua_tointeger(L, 2);
                    TableConfig.ItemCompoundConfig _itemCompound;
                        bool gen_ret = gen_to_be_invoked.TryGetItemCompoundByMakeId( __ticketId, out _itemCompound );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _itemCompound);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsComposeJobLimit(RealStatePtr L)
        {
          try {
@@ -279,7 +804,7 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetFirstTypeModel(RealStatePtr L)
        static int _m_IsTrailerByLevel(RealStatePtr L)
        {
          try {
            
@@ -291,71 +816,10 @@
            
                
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    TableConfig.ItemCompoundConfig _itemCompound = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    
                        System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<TableConfig.ItemCompoundConfig>>> gen_ret = gen_to_be_invoked.GetFirstTypeModel( _firstType );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSecondTypeModel(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    int _secondType = LuaAPI.xlua_tointeger(L, 3);
                        System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<TableConfig.ItemCompoundConfig>> gen_ret = gen_to_be_invoked.GetSecondTypeModel( _firstType, _secondType );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetThirdTypeModellist(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    int _firstType = LuaAPI.xlua_tointeger(L, 2);
                    int _secondType = LuaAPI.xlua_tointeger(L, 3);
                    int _thirdType = LuaAPI.xlua_tointeger(L, 4);
                        System.Collections.Generic.List<TableConfig.ItemCompoundConfig> gen_ret = gen_to_be_invoked.GetThirdTypeModellist( _firstType, _secondType, _thirdType );
                        translator.Push(L, gen_ret);
                        bool gen_ret = gen_to_be_invoked.IsTrailerByLevel( _itemCompound );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
@@ -391,34 +855,6 @@
                    
                    
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCurComposeModel(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.ItemCompoundConfig _compoundModel = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    gen_to_be_invoked.SetCurComposeModel( _compoundModel );
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
@@ -527,6 +963,21 @@
            
             int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 7&& translator.Assignable<TableConfig.ItemCompoundConfig>(L, 2)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 3)&& translator.Assignable<UIEffect>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 7))
                {
                    TableConfig.ItemCompoundConfig _compoundModel = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
                    System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _fixedItemIndexDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 3, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
                    UIEffect _composEffect = (UIEffect)translator.GetObject(L, 4, typeof(UIEffect));
                    int _composeCount = LuaAPI.xlua_tointeger(L, 5);
                    int _successRate = LuaAPI.xlua_tointeger(L, 6);
                    bool _isIncrease = LuaAPI.lua_toboolean(L, 7);
                    gen_to_be_invoked.SendComposeRequest( _compoundModel, _fixedItemIndexDict, _composEffect, _composeCount, _successRate, _isIncrease );
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<TableConfig.ItemCompoundConfig>(L, 2)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 3)&& translator.Assignable<UIEffect>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    TableConfig.ItemCompoundConfig _compoundModel = (TableConfig.ItemCompoundConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemCompoundConfig));
@@ -592,8 +1043,9 @@
                    UIEffect _composEffect = (UIEffect)translator.GetObject(L, 3, typeof(UIEffect));
                    byte[] _unfixedIndexArray = LuaAPI.lua_tobytes(L, 4);
                    int _composeCount = LuaAPI.xlua_tointeger(L, 5);
                    bool _isIncrease = LuaAPI.lua_toboolean(L, 6);
                    
                    gen_to_be_invoked.SendComposeQuest( _compoundModel, _composEffect, _unfixedIndexArray, _composeCount );
                    gen_to_be_invoked.SendComposeQuest( _compoundModel, _composEffect, _unfixedIndexArray, _composeCount, _isIncrease );
                    
                    
                    
@@ -949,6 +1401,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_composeDataDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.composeDataDict);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_composeOpenDataDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.composeOpenDataDict);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_composeRed(RealStatePtr L)
        {
          try {
@@ -1019,6 +1499,36 @@
        }
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_composeDataDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.composeDataDict = (System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_composeOpenDataDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.composeOpenDataDict = (System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, ComposeWinModel.ComposeFirstTypeData>));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_composeRed(RealStatePtr L)
@@ -1131,6 +1641,142 @@
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateThirdTypeEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
                }
            if (gen_param_count == 3)
            {
               if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                  gen_to_be_invoked.UpdateThirdTypeEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateThirdTypeEvent -= gen_delegate;
                  return 0;
               }
            }
         } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
         LuaAPI.luaL_error(L, "invalid arguments to ComposeWinModel.UpdateThirdTypeEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateSecondTypeEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
                }
            if (gen_param_count == 3)
            {
               if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                  gen_to_be_invoked.UpdateSecondTypeEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateSecondTypeEvent -= gen_delegate;
                  return 0;
               }
            }
         } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
         LuaAPI.luaL_error(L, "invalid arguments to ComposeWinModel.UpdateSecondTypeEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateReduceEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                System.Action<Snxxz.UI.ComposeMatCell, NeedMatType> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.ComposeMatCell, NeedMatType>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.ComposeMatCell, NeedMatType>!");
                }
            if (gen_param_count == 3)
            {
               if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                  gen_to_be_invoked.UpdateReduceEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateReduceEvent -= gen_delegate;
                  return 0;
               }
            }
         } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
         LuaAPI.luaL_error(L, "invalid arguments to ComposeWinModel.UpdateReduceEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateEquipTypeEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                System.Action<TableConfig.ItemCompoundConfig, int> gen_delegate = translator.GetDelegate<System.Action<TableConfig.ItemCompoundConfig, int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<TableConfig.ItemCompoundConfig, int>!");
                }
            if (gen_param_count == 3)
            {
               if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                  gen_to_be_invoked.UpdateEquipTypeEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateEquipTypeEvent -= gen_delegate;
                  return 0;
               }
            }
         } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
         LuaAPI.luaL_error(L, "invalid arguments to ComposeWinModel.UpdateEquipTypeEvent!");
            return 0;
        }
      
      
    }