From 9c9ae1719d8866eebe764cacb30a8a5a8e88f120 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期三, 19 十二月 2018 15:18:07 +0800
Subject: [PATCH] 3335 炼丹炉删除读取不存在的表数据

---
 Lua/Gen/AssetVersionUtilityWrap.cs |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/Lua/Gen/AssetVersionUtilityWrap.cs b/Lua/Gen/AssetVersionUtilityWrap.cs
index 6704b17..6d40dc8 100644
--- a/Lua/Gen/AssetVersionUtilityWrap.cs
+++ b/Lua/Gen/AssetVersionUtilityWrap.cs
@@ -31,7 +31,7 @@
 			Utils.EndObjectRegister(type, L, translator, null, null,
 			    null, null, null);
 
-		    Utils.BeginClassRegister(type, L, __CreateInstance, 11, 5, 2);
+		    Utils.BeginClassRegister(type, L, __CreateInstance, 11, 6, 3);
 			Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAssetVersionFile", _m_GetAssetVersionFile_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "BeginDownLoadTask", _m_BeginDownLoadTask_xlua_st_);
@@ -45,13 +45,15 @@
             
 			
             
-			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "hasDownLoadFullAsset", _g_get_hasDownLoadFullAsset);
+			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "assetVersionsLocalMd5", _g_get_assetVersionsLocalMd5);
+            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "hasDownLoadFullAsset", _g_get_hasDownLoadFullAsset);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "priorAssetDownLoadDone", _g_get_priorAssetDownLoadDone);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "unPriorAssetDownLoadDone", _g_get_unPriorAssetDownLoadDone);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "checkAssetCompleted", _g_get_checkAssetCompleted);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "assetsBuildTime", _g_get_assetsBuildTime);
             
-			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "hasDownLoadFullAsset", _s_set_hasDownLoadFullAsset);
+			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "assetVersionsLocalMd5", _s_set_assetVersionsLocalMd5);
+            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "hasDownLoadFullAsset", _s_set_hasDownLoadFullAsset);
             Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "assetsBuildTime", _s_set_assetsBuildTime);
             
 			
@@ -341,6 +343,18 @@
         
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_assetVersionsLocalMd5(RealStatePtr L)
+        {
+		    try {
+            
+			    LuaAPI.lua_pushstring(L, AssetVersionUtility.assetVersionsLocalMd5);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_hasDownLoadFullAsset(RealStatePtr L)
         {
 		    try {
@@ -403,6 +417,19 @@
         
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _s_set_assetVersionsLocalMd5(RealStatePtr L)
+        {
+		    try {
+                
+			    AssetVersionUtility.assetVersionsLocalMd5 = LuaAPI.lua_tostring(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_hasDownLoadFullAsset(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0