From 98d09de3f20084e029cba831ec806c4e7334b573 Mon Sep 17 00:00:00 2001
From: client_Lhy <995049470@qq.com>
Date: 星期四, 04 七月 2019 19:35:01 +0800
Subject: [PATCH] 7677 灵器

---
 Lua/Gen/ComposeWinModelWrap.cs |   67 ++++++++++++++++++++++++++++++++-
 1 files changed, 65 insertions(+), 2 deletions(-)

diff --git a/Lua/Gen/ComposeWinModelWrap.cs b/Lua/Gen/ComposeWinModelWrap.cs
index a39db6d..984b899 100644
--- a/Lua/Gen/ComposeWinModelWrap.cs
+++ b/Lua/Gen/ComposeWinModelWrap.cs
@@ -21,7 +21,7 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(ComposeWinModel);
-			Utils.BeginObjectRegister(type, L, translator, 0, 45, 10, 7);
+			Utils.BeginObjectRegister(type, L, translator, 0, 45, 12, 9);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -78,26 +78,31 @@
             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, "composeTicketRed", _g_get_composeTicketRed);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "secondTypeRedDict", _g_get_secondTypeRedDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "thirdTypeRedDict", _g_get_thirdTypeRedDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "composeRedpointCategories", _g_get_composeRedpointCategories);
             
 			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, "composeTicketRed", _s_set_composeTicketRed);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "secondTypeRedDict", _s_set_secondTypeRedDict);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "thirdTypeRedDict", _s_set_thirdTypeRedDict);
+            Utils.RegisterFunc(L, Utils.SETTER_IDX, "composeRedpointCategories", _s_set_composeRedpointCategories);
             
 			
 			Utils.EndObjectRegister(type, L, translator, null, null,
 			    null, null, null);
 
-		    Utils.BeginClassRegister(type, L, __CreateInstance, 4, 0, 0);
+		    Utils.BeginClassRegister(type, L, __CreateInstance, 5, 0, 0);
 			
 			
             Utils.RegisterObject(L, translator, Utils.CLS_IDX, "COMPOSE_REDKEY", ComposeWinModel.COMPOSE_REDKEY);
             Utils.RegisterObject(L, translator, Utils.CLS_IDX, "COMPOSETOOL_REDKEY", ComposeWinModel.COMPOSETOOL_REDKEY);
+            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "COMPOSETICKET_REDKEY", ComposeWinModel.COMPOSETICKET_REDKEY);
             Utils.RegisterObject(L, translator, Utils.CLS_IDX, "COMPOSEBTN_REDKEY", ComposeWinModel.COMPOSEBTN_REDKEY);
             
 			
@@ -1464,6 +1469,20 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_composeTicketRed(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.composeTicketRed);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_secondTypeRedDict(RealStatePtr L)
         {
 		    try {
@@ -1485,6 +1504,20 @@
 			
                 ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
                 translator.Push(L, gen_to_be_invoked.thirdTypeRedDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_composeRedpointCategories(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.composeRedpointCategories);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
@@ -1569,6 +1602,21 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _s_set_composeTicketRed(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
+                gen_to_be_invoked.composeTicketRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
+            
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 0;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _s_set_secondTypeRedDict(RealStatePtr L)
         {
 		    try {
@@ -1598,6 +1646,21 @@
             return 0;
         }
         
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _s_set_composeRedpointCategories(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                ComposeWinModel gen_to_be_invoked = (ComposeWinModel)translator.FastGetCSObj(L, 1);
+                gen_to_be_invoked.composeRedpointCategories = (System.Collections.Generic.List<Int3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Int3>));
+            
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 0;
+        }
+        
 		
 		
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]

--
Gitblit v1.8.0