少年修仙传客户端代码仓库
5761 子 【开发】【1.5】新增300级后的成长基金 / 【前端】【1.5】新增300级后的成长基金
1个文件已修改
295 ■■■■ 已修改文件
Lua/Gen/FairyJadeInvestmentModelWrap.cs 295 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/FairyJadeInvestmentModelWrap.cs
@@ -21,49 +21,47 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(FairyJadeInvestmentModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 12, 16, 13);
            Utils.BeginObjectRegister(type, L, translator, 0, 14, 14, 11);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AssignmentType", _m_AssignmentType);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Assignment", _m_Assignment);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetInfoSeriors", _m_GetInfoSeriors);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendInvestment", _m_SendInvestment);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InvestmentMonthlyInvestment", _m_InvestmentMonthlyInvestment);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InvestmentAmount", _m_InvestmentAmount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "MessageNotification", _m_MessageNotification);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetType", _m_GetType);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetInvestmentGrade", _m_GetInvestmentGrade);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetInvestGold", _m_GetInvestGold);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "FairyJadeInvestmentDic", _g_get_FairyJadeInvestmentDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "FairyJadeInvestmentTypeDic", _g_get_FairyJadeInvestmentTypeDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InfoSeriors", _g_get_InfoSeriors);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InfoSeriorsTwo", _g_get_InfoSeriorsTwo);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InvestmentAmountDic", _g_get_InvestmentAmountDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InvestGold", _g_get_InvestGold);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InvestmentGrade", _g_get_InvestmentGrade);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InfoSeriorsTypeDic", _g_get_InfoSeriorsTypeDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "InvestmentAmountTypeDic", _g_get_InvestmentAmountTypeDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "BinningDic", _g_get_BinningDic);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SelectNumber", _g_get_SelectNumber);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RecordSelectNumberMax", _g_get_RecordSelectNumberMax);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MultipleList", _g_get_MultipleList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "BinningType", _g_get_BinningType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsRedpoint", _g_get_IsRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointStre1", _g_get_redPointStre1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "JumpInedx", _g_get_JumpInedx);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FairyJadeInvestmentDic", _s_set_FairyJadeInvestmentDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FairyJadeInvestmentTypeDic", _s_set_FairyJadeInvestmentTypeDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InfoSeriors", _s_set_InfoSeriors);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InfoSeriorsTwo", _s_set_InfoSeriorsTwo);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InvestmentAmountDic", _s_set_InvestmentAmountDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InvestGold", _s_set_InvestGold);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InvestmentGrade", _s_set_InvestmentGrade);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FairyJadeInvestmentTypeDic", _s_set_FairyJadeInvestmentTypeDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InfoSeriorsTypeDic", _s_set_InfoSeriorsTypeDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "InvestmentAmountTypeDic", _s_set_InvestmentAmountTypeDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "BinningDic", _s_set_BinningDic);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "SelectNumber", _s_set_SelectNumber);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "RecordSelectNumberMax", _s_set_RecordSelectNumberMax);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "MultipleList", _s_set_MultipleList);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "BinningType", _s_set_BinningType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsRedpoint", _s_set_IsRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointStre1", _s_set_redPointStre1);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "JumpInedx", _s_set_JumpInedx);
@@ -223,33 +221,6 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AssignmentType(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.AssignmentType(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Assignment(RealStatePtr L)
        {
            try {
@@ -287,7 +258,19 @@
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
            
            
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1)
                {
                        System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetInfoSeriors(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 2&& translator.Assignable<HA337_tagMCGoldInvestInfo>(L, 2))
                {
                    HA337_tagMCGoldInvestInfo _vNetData = (HA337_tagMCGoldInvestInfo)translator.GetObject(L, 2, typeof(HA337_tagMCGoldInvestInfo));
                    
@@ -301,6 +284,8 @@
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to FairyJadeInvestmentModel.GetInfoSeriors!");
            
        }
        
@@ -416,6 +401,90 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetType(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetType(  );
                        LuaAPI.xlua_pushinteger(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_GetInvestmentGrade(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetInvestmentGrade(  );
                        LuaAPI.xlua_pushinteger(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_GetInvestGold(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetInvestGold(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        
        
@@ -462,20 +531,6 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FairyJadeInvestmentDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.FairyJadeInvestmentDic);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FairyJadeInvestmentTypeDic(RealStatePtr L)
        {
            try {
@@ -490,13 +545,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_InfoSeriors(RealStatePtr L)
        static int _g_get_InfoSeriorsTypeDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.InfoSeriors);
                translator.Push(L, gen_to_be_invoked.InfoSeriorsTypeDic);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -504,13 +559,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_InfoSeriorsTwo(RealStatePtr L)
        static int _g_get_InvestmentAmountTypeDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.InfoSeriorsTwo);
                translator.Push(L, gen_to_be_invoked.InvestmentAmountTypeDic);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -518,13 +573,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_InvestmentAmountDic(RealStatePtr L)
        static int _g_get_BinningDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.InvestmentAmountDic);
                translator.Push(L, gen_to_be_invoked.BinningDic);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -537,34 +592,6 @@
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, FairyJadeInvestmentModel.FairyJadeInfoSeriorsUpdate);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_InvestGold(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.InvestGold);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_InvestmentGrade(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.InvestmentGrade);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -607,6 +634,20 @@
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.MultipleList);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_BinningType(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.BinningType);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -658,21 +699,6 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_FairyJadeInvestmentDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.FairyJadeInvestmentDic = (System.Collections.Generic.Dictionary<int, FairyJadeInvestmentClass>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, FairyJadeInvestmentClass>));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_FairyJadeInvestmentTypeDic(RealStatePtr L)
        {
            try {
@@ -688,13 +714,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_InfoSeriors(RealStatePtr L)
        static int _s_set_InfoSeriorsTypeDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.InfoSeriors = (System.Collections.Generic.Dictionary<int, int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, int>));
                gen_to_be_invoked.InfoSeriorsTypeDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -703,13 +729,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_InfoSeriorsTwo(RealStatePtr L)
        static int _s_set_InvestmentAmountTypeDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.InfoSeriorsTwo = (System.Collections.Generic.Dictionary<int, int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, int>));
                gen_to_be_invoked.InvestmentAmountTypeDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -718,13 +744,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_InvestmentAmountDic(RealStatePtr L)
        static int _s_set_BinningDic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.InvestmentAmountDic = (System.Collections.Generic.Dictionary<int, int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, int>));
                gen_to_be_invoked.BinningDic = (System.Collections.Generic.Dictionary<int, BinningClass>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, BinningClass>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -738,36 +764,6 @@
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel.FairyJadeInfoSeriorsUpdate = translator.GetDelegate<System.Action>(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_InvestGold(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.InvestGold = LuaAPI.xlua_tointeger(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_InvestmentGrade(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.InvestmentGrade = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -821,6 +817,21 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_BinningType(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                FairyJadeInvestmentModel gen_to_be_invoked = (FairyJadeInvestmentModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.BinningType = LuaAPI.xlua_tointeger(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_IsRedpoint(RealStatePtr L)
        {
            try {