From 4133806177181b59bec69de3deeaab6eff7fce3e Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期四, 22 十一月 2018 21:21:05 +0800
Subject: [PATCH] 4966 【前端】【1.3】修复装备星级奖励属性显示错误

---
 Lua/Gen/EquipWashModelWrap.cs |   46 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 45 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/EquipWashModelWrap.cs b/Lua/Gen/EquipWashModelWrap.cs
index 8a7838c..35f2e20 100644
--- a/Lua/Gen/EquipWashModelWrap.cs
+++ b/Lua/Gen/EquipWashModelWrap.cs
@@ -21,13 +21,14 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(EquipWashModel);
-			Utils.BeginObjectRegister(type, L, translator, 0, 32, 23, 6);
+			Utils.BeginObjectRegister(type, L, translator, 0, 33, 24, 6);
 			
 			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, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurWashModel", _m_SetCurWashModel);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshModel", _m_ReFreshModel);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetModelOrder", _m_SetModelOrder);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIsPutOn", _m_CompareByIsPutOn);
@@ -62,6 +63,7 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups3", _g_get_washGroups3);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWashUI", _g_get_isWashUI);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "isMustAddAttr", _g_get_isMustAddAttr);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "curWashEquip", _g_get_curWashEquip);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "mustWashMatId", _g_get_mustWashMatId);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "washPlacelist", _g_get_washPlacelist);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "washProlist", _g_get_washProlist);
@@ -256,6 +258,34 @@
                 {
                     
                     gen_to_be_invoked.OnPlayerLoginOk(  );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetCurWashModel(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _index = LuaAPI.xlua_tointeger(L, 2);
+                    
+                    gen_to_be_invoked.SetCurWashModel( _index );
                     
                     
                     
@@ -1096,6 +1126,20 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_curWashEquip(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.curWashEquip);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_mustWashMatId(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0