123 1 год назад
Родитель
Сommit
fe079073f3

BIN
Assets/Content/Raw_Art/UI/UILanuch/img_logo_01.png


+ 2 - 1
Assets/Lua/Managers/LoginMgr.lua

@@ -587,7 +587,8 @@ function LoginMgr:StartUpdateCheck()
         leBianSDK.queryUpdateCallback = leBianSDK.queryUpdateCallback + self.endUpdateCheckCB
         leBianSDK:QueryUpdate()
     else
-        self:EndUpdateCheck(Wenting.Lebian.QueryUpdateErrorCode.Error)
+        self:EndUpdateCheck(nil)
+        --self:EndUpdateCheck(Wenting.Lebian.QueryUpdateErrorCode.Error)
     end
 end
 

+ 0 - 8
Assets/Plugins/Bridge.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4f8e89c2dd1506d42b68c1f34e2a3c9f
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/Plugins/Bridge/Android.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 496a9e51b0454eb4385c18061aa60dde
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/Plugins/Bridge/Android/LeBian.Runtime.dll


+ 0 - 102
Assets/Plugins/Bridge/Android/LeBian.Runtime.dll.meta

@@ -1,102 +0,0 @@
-fileFormatVersion: 2
-guid: 7f2e88a7554919d4cb1424599c7c33a2
-PluginImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  iconMap: {}
-  executionOrder: {}
-  defineConstraints: []
-  isPreloaded: 0
-  isOverridable: 0
-  isExplicitlyReferenced: 0
-  validateReferences: 1
-  platformData:
-  - first:
-      '': Any
-    second:
-      enabled: 0
-      settings:
-        Exclude Android: 0
-        Exclude Editor: 1
-        Exclude Linux: 1
-        Exclude Linux64: 1
-        Exclude LinuxUniversal: 1
-        Exclude OSXUniversal: 1
-        Exclude Win: 1
-        Exclude Win64: 1
-  - first:
-      Android: Android
-    second:
-      enabled: 1
-      settings:
-        CPU: ARMv7
-  - first:
-      Any: 
-    second:
-      enabled: 0
-      settings: {}
-  - first:
-      Editor: Editor
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-        DefaultValueInitialized: true
-        OS: AnyOS
-  - first:
-      Facebook: Win
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Facebook: Win64
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Standalone: Linux
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Standalone: Linux64
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Standalone: LinuxUniversal
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Standalone: OSXUniversal
-    second:
-      enabled: 0
-      settings:
-        CPU: x86
-  - first:
-      Standalone: Win
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Standalone: Win64
-    second:
-      enabled: 0
-      settings:
-        CPU: None
-  - first:
-      Windows Store Apps: WindowsStoreApps
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/Plugins/Bridge/Default.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4fed144bc1a4baf43a4ceb201a06701a
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/Plugins/Bridge/Default/LeBian.Runtime.dll


+ 0 - 102
Assets/Plugins/Bridge/Default/LeBian.Runtime.dll.meta

@@ -1,102 +0,0 @@
-fileFormatVersion: 2
-guid: 68d5666792f1cc24eb559afc8ddbc806
-PluginImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  iconMap: {}
-  executionOrder: {}
-  defineConstraints: []
-  isPreloaded: 0
-  isOverridable: 0
-  isExplicitlyReferenced: 0
-  validateReferences: 1
-  platformData:
-  - first:
-      '': Any
-    second:
-      enabled: 0
-      settings:
-        Exclude Android: 1
-        Exclude Editor: 0
-        Exclude Linux: 0
-        Exclude Linux64: 0
-        Exclude LinuxUniversal: 0
-        Exclude OSXUniversal: 0
-        Exclude Win: 0
-        Exclude Win64: 0
-        Exclude iOS: 1
-  - first:
-      Android: Android
-    second:
-      enabled: 0
-      settings:
-        CPU: ARMv7
-  - first:
-      Any: 
-    second:
-      enabled: 1
-      settings: {}
-  - first:
-      Editor: Editor
-    second:
-      enabled: 1
-      settings:
-        CPU: AnyCPU
-        DefaultValueInitialized: true
-        OS: AnyOS
-  - first:
-      Facebook: Win
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-  - first:
-      Facebook: Win64
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-  - first:
-      Standalone: Linux
-    second:
-      enabled: 1
-      settings:
-        CPU: x86
-  - first:
-      Standalone: Linux64
-    second:
-      enabled: 1
-      settings:
-        CPU: x86_64
-  - first:
-      Standalone: LinuxUniversal
-    second:
-      enabled: 1
-      settings: {}
-  - first:
-      Standalone: OSXUniversal
-    second:
-      enabled: 1
-      settings:
-        CPU: AnyCPU
-  - first:
-      Standalone: Win
-    second:
-      enabled: 1
-      settings:
-        CPU: AnyCPU
-  - first:
-      Standalone: Win64
-    second:
-      enabled: 1
-      settings:
-        CPU: AnyCPU
-  - first:
-      Windows Store Apps: WindowsStoreApps
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/Plugins/Bridge/iOS.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 897dad0da7508e74b89e30b516d4d5d7
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/Plugins/Bridge/iOS/LeBian.Runtime.dll


+ 0 - 38
Assets/Plugins/Bridge/iOS/LeBian.Runtime.dll.meta

@@ -1,38 +0,0 @@
-fileFormatVersion: 2
-guid: 964c9f8c7f6bdd243a94e254dda446c3
-PluginImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  iconMap: {}
-  executionOrder: {}
-  defineConstraints: []
-  isPreloaded: 0
-  isOverridable: 0
-  isExplicitlyReferenced: 0
-  validateReferences: 1
-  platformData:
-  - first:
-      Any: 
-    second:
-      enabled: 0
-      settings: {}
-  - first:
-      Editor: Editor
-    second:
-      enabled: 0
-      settings:
-        DefaultValueInitialized: true
-  - first:
-      Windows Store Apps: WindowsStoreApps
-    second:
-      enabled: 0
-      settings:
-        CPU: AnyCPU
-  - first:
-      iPhone: iOS
-    second:
-      enabled: 1
-      settings: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 1 - 1
Assets/Plugins/SDK/SDKMgr.cs

@@ -407,7 +407,7 @@ public partial class SDKMgr : MonoBehaviour
     {
         if (string.IsNullOrEmpty(m_ChannelName))
         {
-            m_ChannelName = Wenting.Lebian.LeBianSDK.instance.GetClientChId();
+            m_ChannelName = "";//Wenting.Lebian.LeBianSDK.instance.GetClientChId();
         }
         return m_ChannelName;
     }

+ 2 - 2
Assets/Src/GameLogic/GameMgr.cs

@@ -254,7 +254,7 @@ public class GameMgr : SingletonMono<GameMgr>
     private void CheckVersion()
     {
         mGameVersion = Application.version;
-        int versionCodeInt = Wenting.Lebian.LeBianSDK.instance.GetResVerCode();
+        int versionCodeInt = 0;// Wenting.Lebian.LeBianSDK.instance.GetResVerCode();
         VersionCode versionCode1;
         if (versionCodeInt <= 0)
         {
@@ -284,7 +284,7 @@ public class GameMgr : SingletonMono<GameMgr>
         BuglyAgent.InitWithAppId("3e7f97a53b");    
         BuglyAgent.EnableExceptionHandler();
 #elif UNITY_ANDROID
-        string channel = Wenting.Lebian.LeBianSDK.instance.GetClientChId();
+        string channel = "";//Wenting.Lebian.LeBianSDK.instance.GetClientChId();
         BuglyAgent.ConfigDefault(channel, mResVersion, string.Empty, 0);
         #if LEBIAN_YUN_CLIENT
         BuglyAgent.InitWithAppId("96a729256a");

+ 3 - 3
Assets/ToLua/Editor/Custom/CustomSettings.cs

@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Collections.Generic;
 using LuaInterface;
 using UnityEditor;
@@ -317,8 +317,8 @@ public static class CustomSettings
         _GT (typeof(SDKModulType)),
         _GT (typeof(DeviceSystemData)),
         _GT (typeof(GameRoleInfo)),
-        _GT (typeof(Wenting.Lebian.LeBianSDK)),
-        _GT (typeof(Wenting.Lebian.QueryUpdateErrorCode)),
+       // _GT (typeof(Wenting.Lebian.LeBianSDK)),
+        //_GT (typeof(Wenting.Lebian.QueryUpdateErrorCode)),
         _GT (typeof(UIImageSwitchSprite)),
         _GT (typeof (RolRectTransform)),
         _GT (typeof (UiLoopAutoMove)),

+ 61 - 61
Assets/ToLua/Source/Generate/DelegateFactory.cs

@@ -1,4 +1,4 @@
-//this source code was auto-generated by tolua#, do not modify it
+//this source code was auto-generated by tolua#, do not modify it
 using System;
 using System.Collections.Generic;
 using LuaInterface;
@@ -112,7 +112,7 @@ public class DelegateFactory
 		dict.Add(typeof(Spine.Unity.MeshGeneratorDelegate), factory.Spine_Unity_MeshGeneratorDelegate);
 		dict.Add(typeof(Spine.AnimationState.TrackEntryDelegate), factory.Spine_AnimationState_TrackEntryDelegate);
 		dict.Add(typeof(Spine.AnimationState.TrackEntryEventDelegate), factory.Spine_AnimationState_TrackEntryEventDelegate);
-		dict.Add(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>), factory.System_Action_Wenting_Lebian_QueryUpdateErrorCode);
+		//dict.Add(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>), factory.System_Action_Wenting_Lebian_QueryUpdateErrorCode);
 		dict.Add(typeof(LuaAutoMoveCallback), factory.LuaAutoMoveCallback);
 		dict.Add(typeof(System.Action<UnityEngine.Material>), factory.System_Action_UnityEngine_Material);
 		dict.Add(typeof(System.Action<UnityEngine.Texture2D>), factory.System_Action_UnityEngine_Texture2D);
@@ -223,7 +223,7 @@ public class DelegateFactory
 		DelegateTraits<Spine.Unity.MeshGeneratorDelegate>.Init(factory.Spine_Unity_MeshGeneratorDelegate);
 		DelegateTraits<Spine.AnimationState.TrackEntryDelegate>.Init(factory.Spine_AnimationState_TrackEntryDelegate);
 		DelegateTraits<Spine.AnimationState.TrackEntryEventDelegate>.Init(factory.Spine_AnimationState_TrackEntryEventDelegate);
-		DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Init(factory.System_Action_Wenting_Lebian_QueryUpdateErrorCode);
+		//DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Init(factory.System_Action_Wenting_Lebian_QueryUpdateErrorCode);
 		DelegateTraits<LuaAutoMoveCallback>.Init(factory.LuaAutoMoveCallback);
 		DelegateTraits<System.Action<UnityEngine.Material>>.Init(factory.System_Action_UnityEngine_Material);
 		DelegateTraits<System.Action<UnityEngine.Texture2D>>.Init(factory.System_Action_UnityEngine_Texture2D);
@@ -334,7 +334,7 @@ public class DelegateFactory
 		TypeTraits<Spine.Unity.MeshGeneratorDelegate>.Init(factory.Check_Spine_Unity_MeshGeneratorDelegate);
 		TypeTraits<Spine.AnimationState.TrackEntryDelegate>.Init(factory.Check_Spine_AnimationState_TrackEntryDelegate);
 		TypeTraits<Spine.AnimationState.TrackEntryEventDelegate>.Init(factory.Check_Spine_AnimationState_TrackEntryEventDelegate);
-		TypeTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Init(factory.Check_System_Action_Wenting_Lebian_QueryUpdateErrorCode);
+		//TypeTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Init(factory.Check_System_Action_Wenting_Lebian_QueryUpdateErrorCode);
 		TypeTraits<LuaAutoMoveCallback>.Init(factory.Check_LuaAutoMoveCallback);
 		TypeTraits<System.Action<UnityEngine.Material>>.Init(factory.Check_System_Action_UnityEngine_Material);
 		TypeTraits<System.Action<UnityEngine.Texture2D>>.Init(factory.Check_System_Action_UnityEngine_Texture2D);
@@ -445,7 +445,7 @@ public class DelegateFactory
 		StackTraits<Spine.Unity.MeshGeneratorDelegate>.Push = factory.Push_Spine_Unity_MeshGeneratorDelegate;
 		StackTraits<Spine.AnimationState.TrackEntryDelegate>.Push = factory.Push_Spine_AnimationState_TrackEntryDelegate;
 		StackTraits<Spine.AnimationState.TrackEntryEventDelegate>.Push = factory.Push_Spine_AnimationState_TrackEntryEventDelegate;
-		StackTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Push = factory.Push_System_Action_Wenting_Lebian_QueryUpdateErrorCode;
+		//StackTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Push = factory.Push_System_Action_Wenting_Lebian_QueryUpdateErrorCode;
 		StackTraits<LuaAutoMoveCallback>.Push = factory.Push_LuaAutoMoveCallback;
 		StackTraits<System.Action<UnityEngine.Material>>.Push = factory.Push_System_Action_UnityEngine_Material;
 		StackTraits<System.Action<UnityEngine.Texture2D>>.Push = factory.Push_System_Action_UnityEngine_Texture2D;
@@ -6284,62 +6284,62 @@ public class DelegateFactory
 		ToLua.Push(L, o);
 	}
 
-	class System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event : LuaDelegate
-	{
-		public System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(LuaFunction func) : base(func) { }
-		public System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(LuaFunction func, LuaTable self) : base(func, self) { }
-
-		public void Call(Wenting.Lebian.QueryUpdateErrorCode param0)
-		{
-			func.BeginPCall();
-			func.Push(param0);
-			func.PCall();
-			func.EndPCall();
-		}
-
-		public void CallWithSelf(Wenting.Lebian.QueryUpdateErrorCode param0)
-		{
-			func.BeginPCall();
-			func.Push(self);
-			func.Push(param0);
-			func.PCall();
-			func.EndPCall();
-		}
-	}
-
-	public System.Action<Wenting.Lebian.QueryUpdateErrorCode> System_Action_Wenting_Lebian_QueryUpdateErrorCode(LuaFunction func, LuaTable self, bool flag)
-	{
-		if (func == null)
-		{
-			System.Action<Wenting.Lebian.QueryUpdateErrorCode> fn = delegate(Wenting.Lebian.QueryUpdateErrorCode param0) { };
-			return fn;
-		}
-
-		if(!flag)
-		{
-			System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event target = new System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(func);
-			System.Action<Wenting.Lebian.QueryUpdateErrorCode> d = target.Call;
-			target.method = d.Method;
-			return d;
-		}
-		else
-		{
-			System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event target = new System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(func, self);
-			System.Action<Wenting.Lebian.QueryUpdateErrorCode> d = target.CallWithSelf;
-			target.method = d.Method;
-			return d;
-		}
-	}
-
-	bool Check_System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L, int pos)
-	{
-		return TypeChecker.CheckDelegateType(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>), L, pos);
-	}
-
-	void Push_System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L, System.Action<Wenting.Lebian.QueryUpdateErrorCode> o)
-	{
-		ToLua.Push(L, o);
-	}
+	//class System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event : LuaDelegate
+	//{
+	//	public System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(LuaFunction func) : base(func) { }
+	//	public System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(LuaFunction func, LuaTable self) : base(func, self) { }
+
+	//	public void Call(Wenting.Lebian.QueryUpdateErrorCode param0)
+	//	{
+	//		func.BeginPCall();
+	//		func.Push(param0);
+	//		func.PCall();
+	//		func.EndPCall();
+	//	}
+
+	//	public void CallWithSelf(Wenting.Lebian.QueryUpdateErrorCode param0)
+	//	{
+	//		func.BeginPCall();
+	//		func.Push(self);
+	//		func.Push(param0);
+	//		func.PCall();
+	//		func.EndPCall();
+	//	}
+	//}
+
+	//public System.Action<Wenting.Lebian.QueryUpdateErrorCode> System_Action_Wenting_Lebian_QueryUpdateErrorCode(LuaFunction func, LuaTable self, bool flag)
+	//{
+	//	if (func == null)
+	//	{
+	//		System.Action<Wenting.Lebian.QueryUpdateErrorCode> fn = delegate(Wenting.Lebian.QueryUpdateErrorCode param0) { };
+	//		return fn;
+	//	}
+
+	//	if(!flag)
+	//	{
+	//		System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event target = new System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(func);
+	//		System.Action<Wenting.Lebian.QueryUpdateErrorCode> d = target.Call;
+	//		target.method = d.Method;
+	//		return d;
+	//	}
+	//	else
+	//	{
+	//		System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event target = new System_Action_Wenting_Lebian_QueryUpdateErrorCode_Event(func, self);
+	//		System.Action<Wenting.Lebian.QueryUpdateErrorCode> d = target.CallWithSelf;
+	//		target.method = d.Method;
+	//		return d;
+	//	}
+	//}
+
+	//bool Check_System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L, int pos)
+	//{
+	//	return TypeChecker.CheckDelegateType(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>), L, pos);
+	//}
+
+	//void Push_System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L, System.Action<Wenting.Lebian.QueryUpdateErrorCode> o)
+	//{
+	//	ToLua.Push(L, o);
+	//}
 
 	class LuaAutoMoveCallback_Event : LuaDelegate
 	{

+ 27 - 27
Assets/ToLua/Source/Generate/LuaBinder.cs

@@ -152,7 +152,7 @@ public static class LuaBinder
 		L.RegFunction("Action_SuperScrollView_LoopListViewItem_object", System_Action_SuperScrollView_LoopListViewItem_object);
 		L.RegFunction("Func_WXB_TagAttributes_WXB_IExternalNode", System_Func_WXB_TagAttributes_WXB_IExternalNode);
 		L.RegFunction("Action_WXB_Draw_object", System_Action_WXB_Draw_object);
-		L.RegFunction("Action_Wenting_Lebian_QueryUpdateErrorCode", System_Action_Wenting_Lebian_QueryUpdateErrorCode);
+		//L.RegFunction("Action_Wenting_Lebian_QueryUpdateErrorCode", System_Action_Wenting_Lebian_QueryUpdateErrorCode);
 		L.RegFunction("Action_UnityEngine_Material", System_Action_UnityEngine_Material);
 		L.RegFunction("Action_UnityEngine_Texture2D", System_Action_UnityEngine_Texture2D);
 		L.RegFunction("EventHandler_Vuplex_WebView_ClickedEventArgs", System_EventHandler_Vuplex_WebView_ClickedEventArgs);
@@ -442,7 +442,7 @@ public static class LuaBinder
 		L.EndModule();
 		L.BeginModule("Wenting");
 		L.BeginModule("Lebian");
-		Wenting_Lebian_LeBianSDKWrap.Register(L);
+		//Wenting_Lebian_LeBianSDKWrap.Register(L);
 		Wenting_Lebian_QueryUpdateErrorCodeWrap.Register(L);
 		L.EndModule();
 		L.EndModule();
@@ -1338,32 +1338,32 @@ public static class LuaBinder
 		}
 	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L)
-	{
-		try
-		{
-			int count = LuaDLL.lua_gettop(L);
-			LuaFunction func = ToLua.CheckLuaFunction(L, 1);
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int System_Action_Wenting_Lebian_QueryUpdateErrorCode(IntPtr L)
+	//{
+	//	try
+	//	{
+	//		int count = LuaDLL.lua_gettop(L);
+	//		LuaFunction func = ToLua.CheckLuaFunction(L, 1);
 
-			if (count == 1)
-			{
-				Delegate arg1 = DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Create(func);
-				ToLua.Push(L, arg1);
-			}
-			else
-			{
-				LuaTable self = ToLua.CheckLuaTable(L, 2);
-				Delegate arg1 = DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Create(func, self);
-				ToLua.Push(L, arg1);
-			}
-			return 1;
-		}
-		catch(Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+	//		if (count == 1)
+	//		{
+	//			Delegate arg1 = DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Create(func);
+	//			ToLua.Push(L, arg1);
+	//		}
+	//		else
+	//		{
+	//			LuaTable self = ToLua.CheckLuaTable(L, 2);
+	//			Delegate arg1 = DelegateTraits<System.Action<Wenting.Lebian.QueryUpdateErrorCode>>.Create(func, self);
+	//			ToLua.Push(L, arg1);
+	//		}
+	//		return 1;
+	//	}
+	//	catch(Exception e)
+	//	{
+	//		return LuaDLL.toluaL_exception(L, e);
+	//	}
+	//}
 
 	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
 	static int System_Action_UnityEngine_Material(IntPtr L)

+ 150 - 150
Assets/ToLua/Source/Generate/Wenting_Lebian_LeBianSDKWrap.cs

@@ -1,163 +1,163 @@
-//this source code was auto-generated by tolua#, do not modify it
-using System;
-using LuaInterface;
+////this source code was auto-generated by tolua#, do not modify it
+//using System;
+//using LuaInterface;
 
-public class Wenting_Lebian_LeBianSDKWrap
-{
-	public static void Register(LuaState L)
-	{
-		L.BeginClass(typeof(Wenting.Lebian.LeBianSDK), typeof(UnityEngine.MonoBehaviour));
-		L.RegFunction("QueryUpdate", QueryUpdate);
-		L.RegFunction("AfterUpdate", AfterUpdate);
-		L.RegFunction("GetClientChId", GetClientChId);
-		L.RegFunction("GetResVerCode", GetResVerCode);
-		L.RegFunction("__eq", op_Equality);
-		L.RegFunction("__tostring", ToLua.op_ToString);
-		L.RegVar("instance", get_instance, null);
-		L.RegVar("queryUpdateCallback", get_queryUpdateCallback, set_queryUpdateCallback);
-		L.EndClass();
-	}
+//public class Wenting_Lebian_LeBianSDKWrap
+//{
+//	public static void Register(LuaState L)
+//	{
+//		L.BeginClass(typeof(Wenting.Lebian.LeBianSDK), typeof(UnityEngine.MonoBehaviour));
+//		L.RegFunction("QueryUpdate", QueryUpdate);
+//		L.RegFunction("AfterUpdate", AfterUpdate);
+//		L.RegFunction("GetClientChId", GetClientChId);
+//		L.RegFunction("GetResVerCode", GetResVerCode);
+//		L.RegFunction("__eq", op_Equality);
+//		L.RegFunction("__tostring", ToLua.op_ToString);
+//		L.RegVar("instance", get_instance, null);
+//		L.RegVar("queryUpdateCallback", get_queryUpdateCallback, set_queryUpdateCallback);
+//		L.EndClass();
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int QueryUpdate(IntPtr L)
-	{
-		try
-		{
-			ToLua.CheckArgsCount(L, 1);
-			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
-			obj.QueryUpdate();
-			return 0;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int QueryUpdate(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.CheckArgsCount(L, 1);
+//			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
+//			obj.QueryUpdate();
+//			return 0;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int AfterUpdate(IntPtr L)
-	{
-		try
-		{
-			ToLua.CheckArgsCount(L, 1);
-			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
-			bool o = obj.AfterUpdate();
-			LuaDLL.lua_pushboolean(L, o);
-			return 1;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int AfterUpdate(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.CheckArgsCount(L, 1);
+//			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
+//			bool o = obj.AfterUpdate();
+//			LuaDLL.lua_pushboolean(L, o);
+//			return 1;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int GetClientChId(IntPtr L)
-	{
-		try
-		{
-			ToLua.CheckArgsCount(L, 1);
-			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
-			string o = obj.GetClientChId();
-			LuaDLL.lua_pushstring(L, o);
-			return 1;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int GetClientChId(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.CheckArgsCount(L, 1);
+//			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
+//			string o = obj.GetClientChId();
+//			LuaDLL.lua_pushstring(L, o);
+//			return 1;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int GetResVerCode(IntPtr L)
-	{
-		try
-		{
-			ToLua.CheckArgsCount(L, 1);
-			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
-			int o = obj.GetResVerCode();
-			LuaDLL.lua_pushinteger(L, o);
-			return 1;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int GetResVerCode(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.CheckArgsCount(L, 1);
+//			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject<Wenting.Lebian.LeBianSDK>(L, 1);
+//			int o = obj.GetResVerCode();
+//			LuaDLL.lua_pushinteger(L, o);
+//			return 1;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int op_Equality(IntPtr L)
-	{
-		try
-		{
-			ToLua.CheckArgsCount(L, 2);
-			UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
-			UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
-			bool o = arg0 == arg1;
-			LuaDLL.lua_pushboolean(L, o);
-			return 1;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int op_Equality(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.CheckArgsCount(L, 2);
+//			UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
+//			UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
+//			bool o = arg0 == arg1;
+//			LuaDLL.lua_pushboolean(L, o);
+//			return 1;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_instance(IntPtr L)
-	{
-		try
-		{
-			ToLua.Push(L, Wenting.Lebian.LeBianSDK.instance);
-			return 1;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int get_instance(IntPtr L)
+//	{
+//		try
+//		{
+//			ToLua.Push(L, Wenting.Lebian.LeBianSDK.instance);
+//			return 1;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_queryUpdateCallback(IntPtr L)
-	{
-		ToLua.Push(L, new EventObject(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>)));
-		return 1;
-	}
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int get_queryUpdateCallback(IntPtr L)
+//	{
+//		ToLua.Push(L, new EventObject(typeof(System.Action<Wenting.Lebian.QueryUpdateErrorCode>)));
+//		return 1;
+//	}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int set_queryUpdateCallback(IntPtr L)
-	{
-		try
-		{
-			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject(L, 1, typeof(Wenting.Lebian.LeBianSDK));
-			EventObject arg0 = null;
+//	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+//	static int set_queryUpdateCallback(IntPtr L)
+//	{
+//		try
+//		{
+//			Wenting.Lebian.LeBianSDK obj = (Wenting.Lebian.LeBianSDK)ToLua.CheckObject(L, 1, typeof(Wenting.Lebian.LeBianSDK));
+//			EventObject arg0 = null;
 
-			if (LuaDLL.lua_isuserdata(L, 2) != 0)
-			{
-				arg0 = (EventObject)ToLua.ToObject(L, 2);
-			}
-			else
-			{
-				return LuaDLL.luaL_throw(L, "The event 'Wenting.Lebian.LeBianSDK.queryUpdateCallback' can only appear on the left hand side of += or -= when used outside of the type 'Wenting.Lebian.LeBianSDK'");
-			}
+//			if (LuaDLL.lua_isuserdata(L, 2) != 0)
+//			{
+//				arg0 = (EventObject)ToLua.ToObject(L, 2);
+//			}
+//			else
+//			{
+//				return LuaDLL.luaL_throw(L, "The event 'Wenting.Lebian.LeBianSDK.queryUpdateCallback' can only appear on the left hand side of += or -= when used outside of the type 'Wenting.Lebian.LeBianSDK'");
+//			}
 
-			if (arg0.op == EventOp.Add)
-			{
-				System.Action<Wenting.Lebian.QueryUpdateErrorCode> ev = (System.Action<Wenting.Lebian.QueryUpdateErrorCode>)arg0.func;
-				obj.queryUpdateCallback += ev;
-			}
-			else if (arg0.op == EventOp.Sub)
-			{
-				System.Action<Wenting.Lebian.QueryUpdateErrorCode> ev = (System.Action<Wenting.Lebian.QueryUpdateErrorCode>)arg0.func;
-				obj.queryUpdateCallback -= ev;
-			}
+//			if (arg0.op == EventOp.Add)
+//			{
+//				System.Action<Wenting.Lebian.QueryUpdateErrorCode> ev = (System.Action<Wenting.Lebian.QueryUpdateErrorCode>)arg0.func;
+//				obj.queryUpdateCallback += ev;
+//			}
+//			else if (arg0.op == EventOp.Sub)
+//			{
+//				System.Action<Wenting.Lebian.QueryUpdateErrorCode> ev = (System.Action<Wenting.Lebian.QueryUpdateErrorCode>)arg0.func;
+//				obj.queryUpdateCallback -= ev;
+//			}
 
-			return 0;
-		}
-		catch (Exception e)
-		{
-			return LuaDLL.toluaL_exception(L, e);
-		}
-	}
-}
+//			return 0;
+//		}
+//		catch (Exception e)
+//		{
+//			return LuaDLL.toluaL_exception(L, e);
+//		}
+//	}
+//}
 

+ 50 - 50
Assets/ToLua/Source/Generate/Wenting_Lebian_QueryUpdateErrorCodeWrap.cs

@@ -1,4 +1,4 @@
-//this source code was auto-generated by tolua#, do not modify it
+//this source code was auto-generated by tolua#, do not modify it
 using System;
 using LuaInterface;
 
@@ -6,62 +6,62 @@ public class Wenting_Lebian_QueryUpdateErrorCodeWrap
 {
 	public static void Register(LuaState L)
 	{
-		L.BeginEnum(typeof(Wenting.Lebian.QueryUpdateErrorCode));
-		L.RegVar("Error", get_Error, null);
-		L.RegVar("NoUpdate", get_NoUpdate, null);
-		L.RegVar("Update", get_Update, null);
-		L.RegVar("ForceUpdate", get_ForceUpdate, null);
-		L.RegFunction("IntToEnum", IntToEnum);
-		L.EndEnum();
-		TypeTraits<Wenting.Lebian.QueryUpdateErrorCode>.Check = CheckType;
-		StackTraits<Wenting.Lebian.QueryUpdateErrorCode>.Push = Push;
+		//L.BeginEnum(typeof(Wenting.Lebian.QueryUpdateErrorCode));
+		//L.RegVar("Error", get_Error, null);
+		//L.RegVar("NoUpdate", get_NoUpdate, null);
+		//L.RegVar("Update", get_Update, null);
+		//L.RegVar("ForceUpdate", get_ForceUpdate, null);
+		//L.RegFunction("IntToEnum", IntToEnum);
+		//L.EndEnum();
+		//TypeTraits<Wenting.Lebian.QueryUpdateErrorCode>.Check = CheckType;
+		//StackTraits<Wenting.Lebian.QueryUpdateErrorCode>.Push = Push;
 	}
 
-	static void Push(IntPtr L, Wenting.Lebian.QueryUpdateErrorCode arg)
-	{
-		ToLua.Push(L, arg);
-	}
+	//static void Push(IntPtr L, Wenting.Lebian.QueryUpdateErrorCode arg)
+	//{
+	//	ToLua.Push(L, arg);
+	//}
 
-	static bool CheckType(IntPtr L, int pos)
-	{
-		return TypeChecker.CheckEnumType(typeof(Wenting.Lebian.QueryUpdateErrorCode), L, pos);
-	}
+	//static bool CheckType(IntPtr L, int pos)
+	//{
+	//	return TypeChecker.CheckEnumType(typeof(Wenting.Lebian.QueryUpdateErrorCode), L, pos);
+	//}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_Error(IntPtr L)
-	{
-		ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Error);
-		return 1;
-	}
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int get_Error(IntPtr L)
+	//{
+	//	ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Error);
+	//	return 1;
+	//}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_NoUpdate(IntPtr L)
-	{
-		ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.NoUpdate);
-		return 1;
-	}
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int get_NoUpdate(IntPtr L)
+	//{
+	//	ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.NoUpdate);
+	//	return 1;
+	//}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_Update(IntPtr L)
-	{
-		ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Update);
-		return 1;
-	}
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int get_Update(IntPtr L)
+	//{
+	//	ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Update);
+	//	return 1;
+	//}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int get_ForceUpdate(IntPtr L)
-	{
-		ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.ForceUpdate);
-		return 1;
-	}
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int get_ForceUpdate(IntPtr L)
+	//{
+	//	ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.ForceUpdate);
+	//	return 1;
+	//}
 
-	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-	static int IntToEnum(IntPtr L)
-	{
-		int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
-		Wenting.Lebian.QueryUpdateErrorCode o = (Wenting.Lebian.QueryUpdateErrorCode)arg0;
-		ToLua.Push(L, o);
-		return 1;
-	}
+	//[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+	//static int IntToEnum(IntPtr L)
+	//{
+	//	int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
+	//	Wenting.Lebian.QueryUpdateErrorCode o = (Wenting.Lebian.QueryUpdateErrorCode)arg0;
+	//	ToLua.Push(L, o);
+	//	return 1;
+	//}
 }
 

+ 4 - 4
ProjectSettings/ProjectSettings.asset

@@ -13,7 +13,7 @@ PlayerSettings:
   useOnDemandResources: 0
   accelerometerFrequency: 60
   companyName: WentingTec
-  productName: "\u5FC3\u529B\u7269\u8BED"
+  productName: "\u521D\u5FC3\u8005\u5927\u5192\u96AA"
   defaultCursor: {fileID: 0}
   cursorHotspot: {x: 0, y: 0}
   m_SplashScreenBackgroundColor: {r: 1, g: 1, b: 1, a: 1}
@@ -138,7 +138,7 @@ PlayerSettings:
     16:10: 1
     16:9: 1
     Others: 1
-  bundleVersion: 1.0.0.6
+  bundleVersion: 0.1.0
   preloadedAssets: []
   metroInputSource: 0
   wsaTransparentSwapchain: 0
@@ -846,10 +846,10 @@ PlayerSettings:
   webGLDecompressionFallback: 1
   webGLPowerPreference: 1
   scriptingDefineSymbols:
-    Android: USE_LUA;VUPLEX_CCU;BUGLY;FPS_DISABLE;GAME_DEBUG
+    Android: USE_LUA;VUPLEX_CCU
     Standalone: USE_LUA;VUPLEX_CCU
     WebGL: USE_LUA;VUPLEX_CCU
-    iPhone: USE_LUA;VUPLEX_CCU
+    iPhone: USE_LUA;VUPLEX_CCU;BUGLY;FPS_DISABLE;GAME_DEBUG
   additionalCompilerArguments: {}
   platformArchitecture:
     iPhone: 1