public static void Bind(IntPtr L) { objectWrap.Register(L); ObjectWrap.Register(L); ApplicationWrap.Register(L); BaseLuaWrap.Register(L); BehaviourWrap.Register(L); ByteBufferWrap.Register(L); ComponentWrap.Register(L); ConstWrap.Register(L); GameObjectWrap.Register(L); GlobalWrap.Register(L); HashtableWrap.Register(L); iooWrap.Register(L); LuaHelperWrap.Register(L); MonoBehaviourWrap.Register(L); NetworkManagerWrap.Register(L); PanelManagerWrap.Register(L); ResourceManagerWrap.Register(L); TimerManagerWrap.Register(L); TimeWrap.Register(L); TransformWrap.Register(L); TypeWrap.Register(L); UIEventListenerWrap.Register(L); UtilWrap.Register(L); Vector2Wrap.Register(L); Vector3Wrap.Register(L); }
public static void Bind(IntPtr L) { AnimationBlendModeWrap.Register(L); AnimationClipWrap.Register(L); AnimationStateWrap.Register(L); AnimationWrap.Register(L); ApplicationWrap.Register(L); AssetBundleWrap.Register(L); AsyncOperationWrap.Register(L); AudioClipWrap.Register(L); AudioSourceWrap.Register(L); BaseLuaWrap.Register(L); BehaviourWrap.Register(L); BlendWeightsWrap.Register(L); BoxColliderWrap.Register(L); ByteBufferWrap.Register(L); CameraClearFlagsWrap.Register(L); CameraWrap.Register(L); CharacterControllerWrap.Register(L); ColliderWrap.Register(L); ComponentWrap.Register(L); ConstWrap.Register(L); DebuggerWrap.Register(L); DelegateWrap.Register(L); EnumWrap.Register(L); GameObjectWrap.Register(L); IEnumeratorWrap.Register(L); InputWrap.Register(L); iooWrap.Register(L); KeyCodeWrap.Register(L); LightTypeWrap.Register(L); LightWrap.Register(L); LuaHelperWrap.Register(L); MaterialWrap.Register(L); MeshColliderWrap.Register(L); MeshRendererWrap.Register(L); MonoBehaviourWrap.Register(L); NetworkManagerWrap.Register(L); ObjectWrap.Register(L); PanelManagerWrap.Register(L); ParticleAnimatorWrap.Register(L); ParticleEmitterWrap.Register(L); ParticleRendererWrap.Register(L); ParticleSystemWrap.Register(L); PhysicsWrap.Register(L); PlayModeWrap.Register(L); QualitySettingsWrap.Register(L); QueueModeWrap.Register(L); RectTransformWrap.Register(L); RendererWrap.Register(L); RenderSettingsWrap.Register(L); RenderTextureWrap.Register(L); ResourceManagerWrap.Register(L); ScreenWrap.Register(L); SkinnedMeshRendererWrap.Register(L); SleepTimeoutWrap.Register(L); SpaceWrap.Register(L); SphereColliderWrap.Register(L); stringWrap.Register(L); System_ObjectWrap.Register(L); TextureWrap.Register(L); TimerManagerWrap.Register(L); TimeWrap.Register(L); TouchPhaseWrap.Register(L); TrackedReferenceWrap.Register(L); TransformWrap.Register(L); TypeWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UtilWrap.Register(L); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); DG_Tweening_DOTweenAnimationWrap.Register(L); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_ParticleSystemRendererWrap.Register(L); UnityEngine_ParticleSystem_MainModuleWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_AnimatorOverrideControllerWrap.Register(L); UnityEngine_AnimatorUpdateModeWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_SpriteRendererWrap.Register(L); LuaProfilerWrap.Register(L); NetworkManagerWrap.Register(L); AudioManagerWrap.Register(L); ResourceManagerWrap.Register(L); UISystemWrap.Register(L); UIModWrap.Register(L); UIItemWrap.Register(L); UIManagerWrap.Register(L); UnityEngine_UI_LayoutRebuilderWrap.Register(L); AppConstWrap.Register(L); LobbyCameraWrap.Register(L); XRandomWrap.Register(L); DebuggerWrap.Register(L); FightLogWrap.Register(L); UIImageWrap.Register(L); UIRawImageWrap.Register(L); UITextWrap.Register(L); UIButtonWrap.Register(L); UIToggleWrap.Register(L); UISliderWrap.Register(L); UIScrollViewWrap.Register(L); UIScrollbarWrap.Register(L); UIInputFieldWrap.Register(L); UIPolygonRaycastWrap.Register(L); WrapContentWrap.Register(L); LocalizationWrap.Register(L); ConfigHandlerWrap.Register(L); TableHandlerWrap.Register(L); Spine_Unity_SkeletonAnimationWrap.Register(L); Camera2DWrap.Register(L); L.RegFunction("AlignToFinish", AlignToFinish); L.RegFunction("UpdateItemDelegate", UpdateItemDelegate); L.BeginModule("UnityEngine"); UnityEngine_TimeWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_RuntimeAnimatorControllerWrap.Register(L); UnityEngine_ScriptableObjectWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_UIRaycastWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_RawImageWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.EndModule(); L.BeginModule("Spine"); Spine_SkeletonDataWrap.Register(L); Spine_AnimationWrap.Register(L); Spine_SkinWrap.Register(L); Spine_ExposedList_Spine_AnimationWrap.Register(L); Spine_ExposedList_Spine_SkinWrap.Register(L); Spine_SkeletonWrap.Register(L); L.BeginModule("Unity"); Spine_Unity_SkeletonRendererWrap.Register(L); Spine_Unity_SkeletonDataAssetWrap.Register(L); L.RegFunction("MeshGeneratorDelegate", Spine_Unity_MeshGeneratorDelegate); L.RegFunction("UpdateBonesDelegate", Spine_Unity_UpdateBonesDelegate); L.BeginModule("SkeletonRenderer"); L.RegFunction("SkeletonRendererDelegate", Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate); L.RegFunction("InstructionDelegate", Spine_Unity_SkeletonRenderer_InstructionDelegate); L.EndModule(); L.EndModule(); L.EndModule(); L.BeginModule("DG"); L.BeginModule("Tweening"); L.RegFunction("TweenAnimCallBack", DG_Tweening_TweenAnimCallBack); L.BeginModule("Core"); DG_Tweening_Core_ABSAnimationComponentWrap.Register(L); L.EndModule(); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Func_int_int", System_Func_int_int); L.RegFunction("Action_UnityEngine_AsyncOperation", System_Action_UnityEngine_AsyncOperation); L.RegFunction("Action_string_UnityEngine_Sprite", System_Action_string_UnityEngine_Sprite); L.RegFunction("Action_string_UnityEngine_GameObject", System_Action_string_UnityEngine_GameObject); L.RegFunction("Action_string_UnityEngine_Object", System_Action_string_UnityEngine_Object); L.RegFunction("Action_System_Collections_Generic_Dictionary_string_UnityEngine_GameObject", System_Action_System_Collections_Generic_Dictionary_string_UnityEngine_GameObject); L.RegFunction("Predicate_Spine_Animation", System_Predicate_Spine_Animation); L.RegFunction("Action_Spine_Animation", System_Action_Spine_Animation); L.RegFunction("Comparison_Spine_Animation", System_Comparison_Spine_Animation); L.RegFunction("Predicate_Spine_Skin", System_Predicate_Spine_Skin); L.RegFunction("Action_Spine_Skin", System_Action_Spine_Skin); L.RegFunction("Comparison_Spine_Skin", System_Comparison_Spine_Skin); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); L.AddPreLoad("UnityEngine.BoxCollider", LuaOpen_UnityEngine_BoxCollider, typeof(UnityEngine.BoxCollider)); L.AddPreLoad("UnityEngine.MeshCollider", LuaOpen_UnityEngine_MeshCollider, typeof(UnityEngine.MeshCollider)); L.AddPreLoad("UnityEngine.SphereCollider", LuaOpen_UnityEngine_SphereCollider, typeof(UnityEngine.SphereCollider)); L.AddPreLoad("UnityEngine.CharacterController", LuaOpen_UnityEngine_CharacterController, typeof(UnityEngine.CharacterController)); L.AddPreLoad("UnityEngine.CapsuleCollider", LuaOpen_UnityEngine_CapsuleCollider, typeof(UnityEngine.CapsuleCollider)); L.AddPreLoad("UnityEngine.Animation", LuaOpen_UnityEngine_Animation, typeof(UnityEngine.Animation)); L.AddPreLoad("UnityEngine.AnimationClip", LuaOpen_UnityEngine_AnimationClip, typeof(UnityEngine.AnimationClip)); L.AddPreLoad("UnityEngine.AnimationState", LuaOpen_UnityEngine_AnimationState, typeof(UnityEngine.AnimationState)); L.AddPreLoad("UnityEngine.BlendWeights", LuaOpen_UnityEngine_BlendWeights, typeof(UnityEngine.BlendWeights)); L.AddPreLoad("UnityEngine.RenderTexture", LuaOpen_UnityEngine_RenderTexture, typeof(UnityEngine.RenderTexture)); L.AddPreLoad("UnityEngine.Rigidbody", LuaOpen_UnityEngine_Rigidbody, typeof(UnityEngine.Rigidbody)); L.EndPreLoad(); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); ScrollRectInputWrap.Register(L); ReusingScrollRectWrap.Register(L); InterpTypeWrap.Register(L); RepeatTypeWrap.Register(L); AnimDataWrap.Register(L); AnimSystemWrap.Register(L); UIBaseWrap.Register(L); UIWindowBaseWrap.Register(L); UIManagerWrap.Register(L); UIWindowLuaHelperWrap.Register(L); JsonLuaHelperWrap.Register(L); DataTableWrap.Register(L); SingleDataWrap.Register(L); SingleFieldWrap.Register(L); RecordTableWrap.Register(L); DataManagerWrap.Register(L); ConfigManagerWrap.Register(L); RecordManagerWrap.Register(L); AudioManagerWrap.Register(L); IInputEventBaseWrap.Register(L); InputUIEventTypeWrap.Register(L); InputUIEventBaseWrap.Register(L); InputUIOnScrollEventWrap.Register(L); InputUIOnClickEventWrap.Register(L); InputUILongPressEventWrap.Register(L); InputNetworkMessageEventWrap.Register(L); InputNetworkConnectStatusEventWrap.Register(L); NetworkStateWrap.Register(L); InputManagerWrap.Register(L); NetworkManagerWrap.Register(L); GameObjectManagerWrap.Register(L); L.RegFunction("AnimCallBack", AnimCallBack); L.RegFunction("AnimCustomMethodVector3", AnimCustomMethodVector3); L.RegFunction("AnimCustomMethodVector2", AnimCustomMethodVector2); L.RegFunction("AnimCustomMethodFloat", AnimCustomMethodFloat); L.RegFunction("InputEventHandle_InputUIOnClickEvent", InputEventHandle_InputUIOnClickEvent); L.RegFunction("InputEventHandle_InputUILongPressEvent", InputEventHandle_InputUILongPressEvent); L.RegFunction("EventHandle", EventHandle); L.RegFunction("UIAnimCallBack", UIAnimCallBack); L.RegFunction("UICallBack", UICallBack); L.RegFunction("AudioCallBack", AudioCallBack); L.RegFunction("InputEventCallBack", InputEventCallBack); L.RegFunction("InputEventHandle_IInputEventBase", InputEventHandle_IInputEventBase); L.BeginModule("UnityEngine"); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_ComponentWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_Vector3Wrap.Register(L); UnityEngine_Vector4Wrap.Register(L); UnityEngine_Vector2Wrap.Register(L); UnityEngine_ColorWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Predicate_string", System_Predicate_string); L.RegFunction("Action_string", System_Action_string); L.RegFunction("Comparison_string", System_Comparison_string); L.BeginModule("Collections"); L.BeginModule("Generic"); System_Collections_Generic_List_stringWrap.Register(L); System_Collections_Generic_Dictionary_string_objectWrap.Register(L); System_Collections_Generic_Dictionary_string_SingleDataWrap.Register(L); System_Collections_Generic_Dictionary_string_stringWrap.Register(L); System_Collections_Generic_Dictionary_string_SingleFieldWrap.Register(L); L.EndModule(); L.EndModule(); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); DebuggerWrap.Register(L); ClickEventListenerWrap.Register(L); PressEventListenerWrap.Register(L); DragEventListenerWrap.Register(L); HoverEventListenerWrap.Register(L); LongPressEventListenerWrap.Register(L); UtilWrap.Register(L); UIUtilWrap.Register(L); LuaHelperWrap.Register(L); ByteBufferWrap.Register(L); LuaBehaviourWrap.Register(L); CameraControllerWrap.Register(L); AppFacadeWrap.Register(L); GameManagerWrap.Register(L); LuaManagerWrap.Register(L); TimerManagerWrap.Register(L); ThreadManagerWrap.Register(L); NetworkManagerWrap.Register(L); ResourceManagerWrap.Register(L); ObjectPoolManagerWrap.Register(L); TimerInfoWrap.Register(L); ConnectionWrap.Register(L); ConnectStateWrap.Register(L); HeroBehaviorWrap.Register(L); PuppetBehaviorWrap.Register(L); DummyBehaviorWrap.Register(L); ToyBehaviorWrap.Register(L); BarrierBehaviorWrap.Register(L); ConveyToolWrap.Register(L); EmptyGOBehaviorWrap.Register(L); BulletBehaviorWrap.Register(L); SummonBehaviorWrap.Register(L); NPCBehaviorWrap.Register(L); PetBehaviorWrap.Register(L); MonsterBehaviorWrap.Register(L); DropBehaviorWrap.Register(L); TrickBehaviorWrap.Register(L); EntityBehaviorMgrWrap.Register(L); LuaModuleWrap.Register(L); RateProcessWrap.Register(L); BETweenWrap.Register(L); ShowTextUIWrap.Register(L); ShowImgUIWrap.Register(L); RotationModelWrap.Register(L); UIMultiScrollerWrap.Register(L); TabControlWrap.Register(L); BETweenMethodWrap.Register(L); BETweenLoopWrap.Register(L); FadeInOutEffectWrap.Register(L); ScrollViewLoopWrap.Register(L); ScrollViewLoopItemWrap.Register(L); DressPartWrap.Register(L); DressWrap.Register(L); UIFollowingTargetWrap.Register(L); FossilisedEffectWrap.Register(L); ViewWrap.Register(L); BaseWrap.Register(L); FacadeWrap.Register(L); ManagerWrap.Register(L); EntityBehaviorWrap.Register(L); Singleton_EntityBehaviorMgrWrap.Register(L); EffectWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_RigidbodyWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_BoxColliderWrap.Register(L); UnityEngine_MeshColliderWrap.Register(L); UnityEngine_SphereColliderWrap.Register(L); UnityEngine_CharacterControllerWrap.Register(L); UnityEngine_CapsuleColliderWrap.Register(L); UnityEngine_ControllerColliderHitWrap.Register(L); UnityEngine_Matrix4x4Wrap.Register(L); UnityEngine_AnimationWrap.Register(L); UnityEngine_AnimationClipWrap.Register(L); UnityEngine_AnimationStateWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_LineRendererWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_BlendWeightsWrap.Register(L); UnityEngine_RenderTextureWrap.Register(L); UnityEngine_PlayerPrefsWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_RectTransformUtilityWrap.Register(L); UnityEngine_CanvasWrap.Register(L); UnityEngine_CanvasGroupWrap.Register(L); L.BeginModule("EventSystems"); UnityEngine_EventSystems_EventSystemWrap.Register(L); UnityEngine_EventSystems_PointerEventDataWrap.Register(L); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseEventDataWrap.Register(L); UnityEngine_EventSystems_AbstractEventDataWrap.Register(L); L.EndModule(); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_ToggleGroupWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_LayoutElementWrap.Register(L); UnityEngine_UI_VerticalLayoutGroupWrap.Register(L); UnityEngine_UI_GridLayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); L.EndModule(); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.EndModule(); L.BeginModule("TMPro"); TMPro_TextMeshProUGUIWrap.Register(L); TMPro_TMP_InputFieldWrap.Register(L); TMPro_TMP_TextWrap.Register(L); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Action_float", System_Action_float); L.RegFunction("Action_UnityEngine_Vector2", System_Action_UnityEngine_Vector2); L.RegFunction("Action_bool", System_Action_bool); L.RegFunction("Action_string", System_Action_string); L.RegFunction("Action_NotiData", System_Action_NotiData); L.RegFunction("Action_UnityEngine_Object", System_Action_UnityEngine_Object); L.RegFunction("Action_UnityEngine_Objects", System_Action_UnityEngine_Objects); L.RegFunction("Action_ConnectState_string", System_Action_ConnectState_string); L.RegFunction("Action_int_object", System_Action_int_object); L.RegFunction("Action_UnityEngine_Collider", System_Action_UnityEngine_Collider); L.RegFunction("Action_UnityEngine_GameObject_int", System_Action_UnityEngine_GameObject_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Action_int_bool", System_Action_int_bool); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); LuaBehaviourWrap.Register(L); UILuaBehaviourWrap.Register(L); GameResFactoryWrap.Register(L); BaseWrap.Register(L); ManagerWrap.Register(L); ByteBufferWrap.Register(L); NetworkManagerWrap.Register(L); LuaHelperWrap.Register(L); GlobalsWrap.Register(L); LeanTweenTypeWrap.Register(L); LTDescrImplWrap.Register(L); LTBezierWrap.Register(L); LTBezierPathWrap.Register(L); LTEventWrap.Register(L); LTSplineWrap.Register(L); LeanTweenWrap.Register(L); LeanAudioWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_RectTransformUtilityWrap.Register(L); UnityEngine_CanvasWrap.Register(L); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("UI"); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_ToggleGroupWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L); UnityEngine_UI_VerticalLayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L); UnityEngine_UI_ContentSizeFitterWrap.Register(L); UnityEngine_UI_DropdownWrap.Register(L); UnityEngine_UI_MaskWrap.Register(L); UnityEngine_UI_RectMask2DWrap.Register(L); UnityEngine_UI_LayoutElementWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_LoopScrollRectWrap.Register(L); UnityEngine_UI_LoopVerticalScrollRectWrap.Register(L); UnityEngine_UI_LoopHorizontalScrollRectWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.BeginModule("Canvas"); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Action_float", System_Action_float); L.RegFunction("Action_float_float", System_Action_float_float); L.RegFunction("Action_float_object", System_Action_float_object); L.RegFunction("Action_UnityEngine_Vector2", System_Action_UnityEngine_Vector2); L.RegFunction("Action_UnityEngine_Vector3", System_Action_UnityEngine_Vector3); L.RegFunction("Action_UnityEngine_Vector3_object", System_Action_UnityEngine_Vector3_object); L.RegFunction("Action_UnityEngine_Color", System_Action_UnityEngine_Color); L.RegFunction("Action_object", System_Action_object); L.RegFunction("Action_LTEvent", System_Action_LTEvent); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); L.AddPreLoad("UnityEngine.BoxCollider", LuaOpen_UnityEngine_BoxCollider, typeof(UnityEngine.BoxCollider)); L.AddPreLoad("UnityEngine.MeshCollider", LuaOpen_UnityEngine_MeshCollider, typeof(UnityEngine.MeshCollider)); L.AddPreLoad("UnityEngine.SphereCollider", LuaOpen_UnityEngine_SphereCollider, typeof(UnityEngine.SphereCollider)); L.AddPreLoad("UnityEngine.CharacterController", LuaOpen_UnityEngine_CharacterController, typeof(UnityEngine.CharacterController)); L.AddPreLoad("UnityEngine.CapsuleCollider", LuaOpen_UnityEngine_CapsuleCollider, typeof(UnityEngine.CapsuleCollider)); L.AddPreLoad("UnityEngine.Animation", LuaOpen_UnityEngine_Animation, typeof(UnityEngine.Animation)); L.AddPreLoad("UnityEngine.AnimationClip", LuaOpen_UnityEngine_AnimationClip, typeof(UnityEngine.AnimationClip)); L.AddPreLoad("UnityEngine.AnimationState", LuaOpen_UnityEngine_AnimationState, typeof(UnityEngine.AnimationState)); L.AddPreLoad("UnityEngine.BlendWeights", LuaOpen_UnityEngine_BlendWeights, typeof(UnityEngine.BlendWeights)); L.AddPreLoad("UnityEngine.RenderTexture", LuaOpen_UnityEngine_RenderTexture, typeof(UnityEngine.RenderTexture)); L.AddPreLoad("UnityEngine.Rigidbody", LuaOpen_UnityEngine_Rigidbody, typeof(UnityEngine.Rigidbody)); L.EndPreLoad(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); UtilWrap.Register(L); AppConstWrap.Register(L); LuaHelperWrap.Register(L); ByteBufferWrap.Register(L); LuaBehaviourWrap.Register(L); GameManagerWrap.Register(L); LuaManagerWrap.Register(L); PanelManagerWrap.Register(L); SoundManagerWrap.Register(L); TimerManagerWrap.Register(L); ThreadManagerWrap.Register(L); NetworkManagerWrap.Register(L); ResourceManagerWrap.Register(L); SDKManagerWrap.Register(L); UILoadingWrap.Register(L); UIResToolWrap.Register(L); UIResMgrWrap.Register(L); ViewWrap.Register(L); BaseWrap.Register(L); ManagerWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_RigidbodyWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_WWWFormWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_AnimationWrap.Register(L); UnityEngine_AnimationClipWrap.Register(L); UnityEngine_AnimationStateWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_BlendWeightsWrap.Register(L); UnityEngine_RenderTextureWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_CanvasWrap.Register(L); UnityEngine_CanvasGroupWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); L.BeginModule("SceneManagement"); UnityEngine_SceneManagement_SceneManagerWrap.Register(L); L.EndModule(); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_ClippingWrap.Register(L); UnityEngine_UI_ContentSizeFitterWrap.Register(L); UnityEngine_UI_GridLayoutGroupWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_MaskWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); UnityEngine_UI_OutlineWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ShadowWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_ToggleGroupWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_SpriteStateWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_BaseMeshEffectWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.BeginModule("Canvas"); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("cn"); L.BeginModule("sharesdk"); L.BeginModule("unity3d"); cn_sharesdk_unity3d_PlatformTypeWrap.Register(L); cn_sharesdk_unity3d_ResponseStateWrap.Register(L); L.EndModule(); L.EndModule(); L.EndModule(); L.BeginModule("UI"); UI_MonoTableWrap.Register(L); UI_UIGroupWrap.Register(L); UI_ImageExWrap.Register(L); UI_TextExWrap.Register(L); UI_UIArtFontWrap.Register(L); UI_UIProgressExWrap.Register(L); UI_UIScrollTipsWrap.Register(L); UI_DragControlWrap.Register(L); UI_DropControlWrap.Register(L); UI_CurveMoveWrap.Register(L); UI_UIScrollWrapWrap.Register(L); UI_IHandleWrap.Register(L); UI_HandleWrap.Register(L); UI_AnimatorHandleWrap.Register(L); UI_DragListenerWrap.Register(L); UI_HandleAlphaWrap.Register(L); UI_HandleColorWrap.Register(L); UI_HandleGreyWrap.Register(L); UI_HandleImageWrap.Register(L); UI_HandleNumWrap.Register(L); UI_HandlePositionWrap.Register(L); UI_HandleProgressExWrap.Register(L); UI_HandleRotateWrap.Register(L); UI_HandleScaleWrap.Register(L); UI_HandleSequenceWrap.Register(L); UI_HandleSizeWrap.Register(L); UI_HandleStateWrap.Register(L); UI_HandleVisiableWrap.Register(L); UI_SequenceHandleWrap.Register(L); UI_SequenceHandleExWrap.Register(L); UI_SimpleHandleWrap.Register(L); UI_StateGroupWrap.Register(L); UI_StateHandleWrap.Register(L); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Action_UnityEngine_Transform", System_Action_UnityEngine_Transform); L.RegFunction("Action_NotiData", System_Action_NotiData); L.RegFunction("Action_UnityEngine_Objects", System_Action_UnityEngine_Objects); L.RegFunction("Action_int_int", System_Action_int_int); L.RegFunction("Action_UnityEngine_GameObject", System_Action_UnityEngine_GameObject); L.RegFunction("Action_UnityEngine_EventSystems_PointerEventData", System_Action_UnityEngine_EventSystems_PointerEventData); L.RegFunction("Action_object", System_Action_object); L.RegFunction("Action_UI_UIScrollWrap_int", System_Action_UI_UIScrollWrap_int); L.RegFunction("Action_UI_UIScrollWrap", System_Action_UI_UIScrollWrap); L.RegFunction("Action_UI_Handle_WndType_object", System_Action_UI_Handle_WndType_object); L.RegFunction("Func_UI_Handle_float", System_Func_UI_Handle_float); L.RegFunction("Func_UI_Handle_int", System_Func_UI_Handle_int); L.RegFunction("Func_UI_Handle_UnityEngine_Vector3", System_Func_UI_Handle_UnityEngine_Vector3); L.RegFunction("Func_UI_Handle_UnityEngine_Color", System_Func_UI_Handle_UnityEngine_Color); L.RegFunction("Func_bool", System_Func_bool); L.RegFunction("Action_UI_StateGroup_int", System_Action_UI_StateGroup_int); L.RegFunction("Action_UI_StateHandle_int", System_Action_UI_StateHandle_int); L.RegFunction("Action_UI_Handle", System_Action_UI_Handle); L.RegFunction("Action_UI_StateHandle", System_Action_UI_StateHandle); L.RegFunction("Action_LuaInterface_LuaTable", System_Action_LuaInterface_LuaTable); L.RegFunction("Action_LuaInterface_LuaTable_UI_StateHandle", System_Action_LuaInterface_LuaTable_UI_StateHandle); L.BeginModule("Threading"); L.RegFunction("ThreadStart", System_Threading_ThreadStart); L.EndModule(); L.EndModule(); L.EndModule(); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); LuaProfilerWrap.Register(L); ResourceManagerWrap.Register(L); UtilsWrap.Register(L); UIEventListenerWrap.Register(L); LogRecordWrap.Register(L); AppConstWrap.Register(L); QKEventWrap.Register(L); LuaEventCallbackWrap.Register(L); NetworkManagerWrap.Register(L); ServerTypeWrap.Register(L); LoadingScreenWrap.Register(L); MotionControllerWrap.Register(L); InputControllerWrap.Register(L); UnitySingleton_ResourceManagerWrap.Register(L); UnitySingleton_LogRecordWrap.Register(L); Singleton_NetworkManagerWrap.Register(L); L.BeginModule("LuaInterface"); LuaInterface_LuaInjectionStationWrap.Register(L); LuaInterface_InjectTypeWrap.Register(L); L.EndModule(); L.BeginModule("UnityEngine"); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_DebugWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_TextAssetWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_EventTriggerTypeWrap.Register(L); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_EventTriggerWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Func_int_int", System_Func_int_int); L.RegFunction("Action_UnityEngine_AsyncOperation", System_Action_UnityEngine_AsyncOperation); L.RegFunction("Action_UnityEngine_GameObject", System_Action_UnityEngine_GameObject); L.RegFunction("Action_UnityEngine_TextAsset", System_Action_UnityEngine_TextAsset); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); L.AddPreLoad("UnityEngine.BoxCollider", LuaOpen_UnityEngine_BoxCollider, typeof(UnityEngine.BoxCollider)); L.AddPreLoad("UnityEngine.MeshCollider", LuaOpen_UnityEngine_MeshCollider, typeof(UnityEngine.MeshCollider)); L.AddPreLoad("UnityEngine.SphereCollider", LuaOpen_UnityEngine_SphereCollider, typeof(UnityEngine.SphereCollider)); L.AddPreLoad("UnityEngine.CharacterController", LuaOpen_UnityEngine_CharacterController, typeof(UnityEngine.CharacterController)); L.AddPreLoad("UnityEngine.CapsuleCollider", LuaOpen_UnityEngine_CapsuleCollider, typeof(UnityEngine.CapsuleCollider)); L.AddPreLoad("UnityEngine.Animation", LuaOpen_UnityEngine_Animation, typeof(UnityEngine.Animation)); L.AddPreLoad("UnityEngine.AnimationClip", LuaOpen_UnityEngine_AnimationClip, typeof(UnityEngine.AnimationClip)); L.AddPreLoad("UnityEngine.AnimationState", LuaOpen_UnityEngine_AnimationState, typeof(UnityEngine.AnimationState)); L.AddPreLoad("UnityEngine.BlendWeights", LuaOpen_UnityEngine_BlendWeights, typeof(UnityEngine.BlendWeights)); L.AddPreLoad("UnityEngine.RenderTexture", LuaOpen_UnityEngine_RenderTexture, typeof(UnityEngine.RenderTexture)); L.EndPreLoad(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); DebuggerWrap.Register(L); LuaBehaviourWrap.Register(L); GameResFactoryWrap.Register(L); BaseWrap.Register(L); ManagerWrap.Register(L); ByteBufferWrap.Register(L); NetworkManagerWrap.Register(L); LuaHelperWrap.Register(L); LeanTweenTypeWrap.Register(L); LTDescrImplWrap.Register(L); LTBezierWrap.Register(L); LTBezierPathWrap.Register(L); LTEventWrap.Register(L); LTSplineWrap.Register(L); LeanTweenWrap.Register(L); LeanAudioWrap.Register(L); L.BeginModule("DG"); L.BeginModule("Tweening"); DG_Tweening_DOTweenWrap.Register(L); DG_Tweening_TweenWrap.Register(L); DG_Tweening_SequenceWrap.Register(L); DG_Tweening_TweenerWrap.Register(L); DG_Tweening_LoopTypeWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_ParticleEmitterWrap.Register(L); UnityEngine_ParticleRendererWrap.Register(L); UnityEngine_ParticleAnimatorWrap.Register(L); UnityEngine_BoxColliderWrap.Register(L); UnityEngine_MeshColliderWrap.Register(L); UnityEngine_SphereColliderWrap.Register(L); UnityEngine_CharacterControllerWrap.Register(L); UnityEngine_CapsuleColliderWrap.Register(L); UnityEngine_AnimationWrap.Register(L); UnityEngine_AnimationClipWrap.Register(L); UnityEngine_AnimationStateWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_BlendWeightsWrap.Register(L); UnityEngine_RenderTextureWrap.Register(L); UnityEngine_RigidbodyWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_RectTransformUtilityWrap.Register(L); UnityEngine_CanvasWrap.Register(L); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("UI"); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_ToggleGroupWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L); UnityEngine_UI_VerticalLayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L); UnityEngine_UI_ContentSizeFitterWrap.Register(L); UnityEngine_UI_DropdownWrap.Register(L); UnityEngine_UI_MaskWrap.Register(L); UnityEngine_UI_LayoutElementWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_LoopScrollRectWrap.Register(L); UnityEngine_UI_LoopVerticalScrollRectWrap.Register(L); UnityEngine_UI_LoopHorizontalScrollRectWrap.Register(L); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Action_float", System_Action_float); L.RegFunction("Action_float_float", System_Action_float_float); L.RegFunction("Action_float_object", System_Action_float_object); L.RegFunction("Action_UnityEngine_Vector2", System_Action_UnityEngine_Vector2); L.RegFunction("Action_UnityEngine_Vector3", System_Action_UnityEngine_Vector3); L.RegFunction("Action_UnityEngine_Vector3_object", System_Action_UnityEngine_Vector3_object); L.RegFunction("Action_UnityEngine_Color", System_Action_UnityEngine_Color); L.RegFunction("Action_object", System_Action_object); L.RegFunction("Action_LTEvent", System_Action_LTEvent); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); UtilWrap.Register(L); AppConstWrap.Register(L); LuaHelperWrap.Register(L); ByteBufferWrap.Register(L); LuaBehaviourWrap.Register(L); GameManagerWrap.Register(L); LuaManagerWrap.Register(L); PanelManagerWrap.Register(L); SoundManagerWrap.Register(L); TimerManagerWrap.Register(L); ThreadManagerWrap.Register(L); NetworkManagerWrap.Register(L); ResourceManagerWrap.Register(L); ViewWrap.Register(L); BaseWrap.Register(L); ManagerWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_RigidbodyWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_ParticleEmitterWrap.Register(L); UnityEngine_ParticleRendererWrap.Register(L); UnityEngine_ParticleAnimatorWrap.Register(L); UnityEngine_BoxColliderWrap.Register(L); UnityEngine_MeshColliderWrap.Register(L); UnityEngine_SphereColliderWrap.Register(L); UnityEngine_CharacterControllerWrap.Register(L); UnityEngine_CapsuleColliderWrap.Register(L); UnityEngine_AnimationWrap.Register(L); UnityEngine_AnimationClipWrap.Register(L); UnityEngine_AnimationStateWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_BlendWeightsWrap.Register(L); UnityEngine_RenderTextureWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); L.EndModule(); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Action_NotiData", System_Action_NotiData); L.RegFunction("Action_UnityEngine_Objects", System_Action_UnityEngine_Objects); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(IntPtr L, string type = null) { if (type == null || wrapList.Contains(type)) { return; } wrapList.Add(type); type += "Wrap"; switch (type) { case "ActivityConfigWrap": ActivityConfigWrap.Register(L); break; case "ActivityDataWrap": ActivityDataWrap.Register(L); break; case "AIConfigWrap": AIConfigWrap.Register(L); break; case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break; case "AnimationClipWrap": AnimationClipWrap.Register(L); break; case "AnimationRespWrap": AnimationRespWrap.Register(L); break; case "AnimationStateWrap": AnimationStateWrap.Register(L); break; case "AnimationWrap": AnimationWrap.Register(L); break; case "AnimatorStateInfoWrap": AnimatorStateInfoWrap.Register(L); break; case "AnimatorWrap": AnimatorWrap.Register(L); break; case "AnnouncementConfigWrap": AnnouncementConfigWrap.Register(L); break; case "AnnouncementItemWrap": AnnouncementItemWrap.Register(L); break; case "ApplicationWrap": ApplicationWrap.Register(L); break; case "AssetBundleWrap": AssetBundleWrap.Register(L); break; case "AsyncItemWrap": AsyncItemWrap.Register(L); break; case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break; case "AttrDataWrap": AttrDataWrap.Register(L); break; case "AttributeTypeWrap": AttributeTypeWrap.Register(L); break; case "AttrNameConfigWrap": AttrNameConfigWrap.Register(L); break; case "AttrNameDataWrap": AttrNameDataWrap.Register(L); break; case "AudioClipWrap": AudioClipWrap.Register(L); break; case "AudioListenerWrap": AudioListenerWrap.Register(L); break; case "AudioManagerWrap": AudioManagerWrap.Register(L); break; case "AudioSourceWrap": AudioSourceWrap.Register(L); break; case "AwardConfigListWrap": AwardConfigListWrap.Register(L); break; case "AwardPackDataConfigWrap": AwardPackDataConfigWrap.Register(L); break; case "BadgeAttrBaseConfigWrap": BadgeAttrBaseConfigWrap.Register(L); break; case "BadgeAttrConfigDictionaryWrap": BadgeAttrConfigDictionaryWrap.Register(L); break; case "BadgeAttrConfigWrap": BadgeAttrConfigWrap.Register(L); break; case "BadgeBookListWrap": BadgeBookListWrap.Register(L); break; case "BadgeSlotBaseConfigDictionaryWrap": BadgeSlotBaseConfigDictionaryWrap.Register(L); break; case "BadgeSlotBaseConfigKeyValuePairWrap": BadgeSlotBaseConfigKeyValuePairWrap.Register(L); break; case "BadgeSlotBaseConfigWrap": BadgeSlotBaseConfigWrap.Register(L); break; case "BadgeSlotConfigWrap": BadgeSlotConfigWrap.Register(L); break; case "BadgeSlotListWrap": BadgeSlotListWrap.Register(L); break; case "BadgeSystemInfoWrap": BadgeSystemInfoWrap.Register(L); break; case "BaseDataBuyConfigWrap": BaseDataBuyConfigWrap.Register(L); break; case "BaseDataConfig2ListWrap": BaseDataConfig2ListWrap.Register(L); break; case "BaseDataConfig2Wrap": BaseDataConfig2Wrap.Register(L); break; case "BehaviourWrap": BehaviourWrap.Register(L); break; case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break; case "BlockableWrap": BlockableWrap.Register(L); break; case "BoxColliderWrap": BoxColliderWrap.Register(L); break; case "BullFightConfigWrap": BullFightConfigWrap.Register(L); break; case "BullFightLevelDictionaryWrap": BullFightLevelDictionaryWrap.Register(L); break; case "BullFightLevelKeyValuePairWrap": BullFightLevelKeyValuePairWrap.Register(L); break; case "BullFightLevelWrap": BullFightLevelWrap.Register(L); break; case "BuyDataWrap": BuyDataWrap.Register(L); break; case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break; case "CameraWrap": CameraWrap.Register(L); break; case "CareerConfigWrap": CareerConfigWrap.Register(L); break; case "ChapterConfigDictionaryWrap": ChapterConfigDictionaryWrap.Register(L); break; case "ChapterConfigKeyValuePairWrap": ChapterConfigKeyValuePairWrap.Register(L); break; case "ChapterDictionaryWrap": ChapterDictionaryWrap.Register(L); break; case "ChapterKeyValuePairWrap": ChapterKeyValuePairWrap.Register(L); break; case "ChapterWrap": ChapterWrap.Register(L); break; case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break; case "ChatBroadcastListWrap": ChatBroadcastListWrap.Register(L); break; case "ChatBroadcastWrap": ChatBroadcastWrap.Register(L); break; case "ChatContentWrap": ChatContentWrap.Register(L); break; case "ClientWrap": ClientWrap.Register(L); break; case "ColliderWrap": ColliderWrap.Register(L); break; case "CommonConfigWrap": CommonConfigWrap.Register(L); break; case "CommonFunctionWrap": CommonFunctionWrap.Register(L); break; case "ComponentWrap": ComponentWrap.Register(L); break; case "ConditionTypeWrap": ConditionTypeWrap.Register(L); break; case "ConditionValidatorWrap": ConditionValidatorWrap.Register(L); break; case "DataByIdListWrap": DataByIdListWrap.Register(L); break; case "DataByIdWrap": DataByIdWrap.Register(L); break; case "DaySignDataWrap": DaySignDataWrap.Register(L); break; case "DBG_0Wrap": DBG_0Wrap.Register(L); break; case "DBG_1Wrap": DBG_1Wrap.Register(L); break; case "DebuggerWrap": DebuggerWrap.Register(L); break; case "DelegateWrap": DelegateWrap.Register(L); break; case "DynamicStringManagerWrap": DynamicStringManagerWrap.Register(L); break; case "EnumWrap": EnumWrap.Register(L); break; case "EquipInfoListWrap": EquipInfoListWrap.Register(L); break; case "EquipInfoWrap": EquipInfoWrap.Register(L); break; case "EquipmentBaseDataConfigWrap": EquipmentBaseDataConfigWrap.Register(L); break; case "EquipmentConfigWrap": EquipmentConfigWrap.Register(L); break; case "EquipmentSlotListWrap": EquipmentSlotListWrap.Register(L); break; case "EquipmentSlotWrap": EquipmentSlotWrap.Register(L); break; case "EventDelegateListWrap": EventDelegateListWrap.Register(L); break; case "EventDelegateWrap": EventDelegateWrap.Register(L); break; case "ExerciseInfoKeyValuePairWrap": ExerciseInfoKeyValuePairWrap.Register(L); break; case "ExerciseInfoListDictionaryWrap": ExerciseInfoListDictionaryWrap.Register(L); break; case "ExerciseInfoListWrap": ExerciseInfoListWrap.Register(L); break; case "ExerciseInfoWrap": ExerciseInfoWrap.Register(L); break; case "FashionAttrWrap": FashionAttrWrap.Register(L); break; case "FashionConfigWrap": FashionConfigWrap.Register(L); break; case "FashionDataWrap": FashionDataWrap.Register(L); break; case "FashionShopConfigItemDictionaryWrap": FashionShopConfigItemDictionaryWrap.Register(L); break; case "FashionShopConfigItemListWrap": FashionShopConfigItemListWrap.Register(L); break; case "FashionShopConfigItemWrap": FashionShopConfigItemWrap.Register(L); break; case "FashionShopConfigWrap": FashionShopConfigWrap.Register(L); break; case "FashionSlotProtoListWrap": FashionSlotProtoListWrap.Register(L); break; case "FashionSlotProtoWrap": FashionSlotProtoWrap.Register(L); break; case "FightRoleInfoListWrap": FightRoleInfoListWrap.Register(L); break; case "FightRoleListDictionaryWrap": FightRoleListDictionaryWrap.Register(L); break; case "fogs_proto_config_AwardConfigWrap": fogs_proto_config_AwardConfigWrap.Register(L); break; case "fogs_proto_config_AwardPackConfigWrap": fogs_proto_config_AwardPackConfigWrap.Register(L); break; case "fogs_proto_config_ChapterConfigWrap": fogs_proto_config_ChapterConfigWrap.Register(L); break; case "fogs_proto_config_DataConstructionWrap": fogs_proto_config_DataConstructionWrap.Register(L); break; case "fogs_proto_config_GenerateNewGoodsArgConfigWrap": fogs_proto_config_GenerateNewGoodsArgConfigWrap.Register(L); break; case "fogs_proto_config_GoodsAttrConfigWrap": fogs_proto_config_GoodsAttrConfigWrap.Register(L); break; case "fogs_proto_config_GoodsCompositeConfigWrap": fogs_proto_config_GoodsCompositeConfigWrap.Register(L); break; case "fogs_proto_config_GoodsUseConfigWrap": fogs_proto_config_GoodsUseConfigWrap.Register(L); break; case "fogs_proto_config_LotteryConfigWrap": fogs_proto_config_LotteryConfigWrap.Register(L); break; case "fogs_proto_config_NPCConfigWrap": fogs_proto_config_NPCConfigWrap.Register(L); break; case "fogs_proto_config_QualifyingNewConfigWrap": fogs_proto_config_QualifyingNewConfigWrap.Register(L); break; case "fogs_proto_config_QualifyingNewerConfigWrap": fogs_proto_config_QualifyingNewerConfigWrap.Register(L); break; case "fogs_proto_config_QualifyingNewerLeagueAwardsConfigWrap": fogs_proto_config_QualifyingNewerLeagueAwardsConfigWrap.Register(L); break; case "fogs_proto_config_QualifyingNewerSeasonConfigWrap": fogs_proto_config_QualifyingNewerSeasonConfigWrap.Register(L); break; case "fogs_proto_config_QualifyingNewSeasonConfigWrap": fogs_proto_config_QualifyingNewSeasonConfigWrap.Register(L); break; case "fogs_proto_config_RankConfigWrap": fogs_proto_config_RankConfigWrap.Register(L); break; case "fogs_proto_config_SectionConfigWrap": fogs_proto_config_SectionConfigWrap.Register(L); break; case "fogs_proto_config_StoreRefreshConsumeConfigWrap": fogs_proto_config_StoreRefreshConsumeConfigWrap.Register(L); break; case "fogs_proto_config_TaskConfigWrap": fogs_proto_config_TaskConfigWrap.Register(L); break; case "fogs_proto_msg_ActivityInfoWrap": fogs_proto_msg_ActivityInfoWrap.Register(L); break; case "fogs_proto_msg_BadgeBookWrap": fogs_proto_msg_BadgeBookWrap.Register(L); break; case "fogs_proto_msg_BadgeCGWrap": fogs_proto_msg_BadgeCGWrap.Register(L); break; case "fogs_proto_msg_BadgeSlotStatusWrap": fogs_proto_msg_BadgeSlotStatusWrap.Register(L); break; case "fogs_proto_msg_BadgeSlotWrap": fogs_proto_msg_BadgeSlotWrap.Register(L); break; case "fogs_proto_msg_BullFightWrap": fogs_proto_msg_BullFightWrap.Register(L); break; case "fogs_proto_msg_ChatChannelTypeWrap": fogs_proto_msg_ChatChannelTypeWrap.Register(L); break; case "fogs_proto_msg_EnhanceExerciseRespWrap": fogs_proto_msg_EnhanceExerciseRespWrap.Register(L); break; case "fogs_proto_msg_EnhanceLevelRespWrap": fogs_proto_msg_EnhanceLevelRespWrap.Register(L); break; case "fogs_proto_msg_EquipmentOperationTypeWrap": fogs_proto_msg_EquipmentOperationTypeWrap.Register(L); break; case "fogs_proto_msg_EquipmentSlotIDWrap": fogs_proto_msg_EquipmentSlotIDWrap.Register(L); break; case "fogs_proto_msg_EquipmentTypeWrap": fogs_proto_msg_EquipmentTypeWrap.Register(L); break; case "fogs_proto_msg_ErrorIDWrap": fogs_proto_msg_ErrorIDWrap.Register(L); break; case "fogs_proto_msg_FashionOperationTypeWrap": fogs_proto_msg_FashionOperationTypeWrap.Register(L); break; case "fogs_proto_msg_FightRoleInfoWrap": fogs_proto_msg_FightRoleInfoWrap.Register(L); break; case "fogs_proto_msg_FightRoleWrap": fogs_proto_msg_FightRoleWrap.Register(L); break; case "fogs_proto_msg_FightStatusWrap": fogs_proto_msg_FightStatusWrap.Register(L); break; case "fogs_proto_msg_FriendInfoWrap": fogs_proto_msg_FriendInfoWrap.Register(L); break; case "fogs_proto_msg_FriendOperationTypeWrap": fogs_proto_msg_FriendOperationTypeWrap.Register(L); break; case "fogs_proto_msg_GameModeInfoWrap": fogs_proto_msg_GameModeInfoWrap.Register(L); break; case "fogs_proto_msg_GameModeWrap": fogs_proto_msg_GameModeWrap.Register(L); break; case "fogs_proto_msg_GenderTypeWrap": fogs_proto_msg_GenderTypeWrap.Register(L); break; case "fogs_proto_msg_GoodsCategoryWrap": fogs_proto_msg_GoodsCategoryWrap.Register(L); break; case "fogs_proto_msg_GoodsProtoWrap": fogs_proto_msg_GoodsProtoWrap.Register(L); break; case "fogs_proto_msg_GoodsQualityWrap": fogs_proto_msg_GoodsQualityWrap.Register(L); break; case "fogs_proto_msg_ImproveQualityRespWrap": fogs_proto_msg_ImproveQualityRespWrap.Register(L); break; case "fogs_proto_msg_InviteRoleRespWrap": fogs_proto_msg_InviteRoleRespWrap.Register(L); break; case "fogs_proto_msg_LotteryInfoWrap": fogs_proto_msg_LotteryInfoWrap.Register(L); break; case "fogs_proto_msg_MailInfoWrap": fogs_proto_msg_MailInfoWrap.Register(L); break; case "fogs_proto_msg_MatchTypeWrap": fogs_proto_msg_MatchTypeWrap.Register(L); break; case "fogs_proto_msg_NewComerInfoWrap": fogs_proto_msg_NewComerInfoWrap.Register(L); break; case "fogs_proto_msg_PlayerDataWrap": fogs_proto_msg_PlayerDataWrap.Register(L); break; case "fogs_proto_msg_PositionTypeWrap": fogs_proto_msg_PositionTypeWrap.Register(L); break; case "fogs_proto_msg_PvpLadderInfoWrap": fogs_proto_msg_PvpLadderInfoWrap.Register(L); break; case "fogs_proto_msg_PvpPlusInfoWrap": fogs_proto_msg_PvpPlusInfoWrap.Register(L); break; case "fogs_proto_msg_QualifyingInfoWrap": fogs_proto_msg_QualifyingInfoWrap.Register(L); break; case "fogs_proto_msg_QualifyingNewerInfoWrap": fogs_proto_msg_QualifyingNewerInfoWrap.Register(L); break; case "fogs_proto_msg_QualifyingNewInfoWrap": fogs_proto_msg_QualifyingNewInfoWrap.Register(L); break; case "fogs_proto_msg_ResetRoleRespWrap": fogs_proto_msg_ResetRoleRespWrap.Register(L); break; case "fogs_proto_msg_RoleInfoWrap": fogs_proto_msg_RoleInfoWrap.Register(L); break; case "fogs_proto_msg_ShootInfoWrap": fogs_proto_msg_ShootInfoWrap.Register(L); break; case "fogs_proto_msg_SignInfoWrap": fogs_proto_msg_SignInfoWrap.Register(L); break; case "fogs_proto_msg_StoreTypeWrap": fogs_proto_msg_StoreTypeWrap.Register(L); break; case "fogs_proto_msg_TaskDataWrap": fogs_proto_msg_TaskDataWrap.Register(L); break; case "fogs_proto_msg_TaskInfoWrap": fogs_proto_msg_TaskInfoWrap.Register(L); break; case "fogs_proto_msg_TaskTypeWrap": fogs_proto_msg_TaskTypeWrap.Register(L); break; case "fogs_proto_msg_TattooTypeWrap": fogs_proto_msg_TattooTypeWrap.Register(L); break; case "fogs_proto_msg_TeamTypeWrap": fogs_proto_msg_TeamTypeWrap.Register(L); break; case "fogs_proto_msg_TourInfoWrap": fogs_proto_msg_TourInfoWrap.Register(L); break; case "fogs_proto_msg_TrainingInfoWrap": fogs_proto_msg_TrainingInfoWrap.Register(L); break; case "fogs_proto_msg_TrainingStateWrap": fogs_proto_msg_TrainingStateWrap.Register(L); break; case "fogs_proto_msg_vipOperTypeWrap": fogs_proto_msg_vipOperTypeWrap.Register(L); break; case "FriendDataWrap": FriendDataWrap.Register(L); break; case "FuncConditionWrap": FuncConditionWrap.Register(L); break; case "FunctionConditionConfigWrap": FunctionConditionConfigWrap.Register(L); break; case "GameMatchWrap": GameMatchWrap.Register(L); break; case "GameMatch_1ON1Wrap": GameMatch_1ON1Wrap.Register(L); break; case "GameMatch_AsynPVP3ON3Wrap": GameMatch_AsynPVP3ON3Wrap.Register(L); break; case "GameMatch_ConfigWrap": GameMatch_ConfigWrap.Register(L); break; case "GameMatch_LeagueTypeWrap": GameMatch_LeagueTypeWrap.Register(L); break; case "GameMatch_MultiPlayerWrap": GameMatch_MultiPlayerWrap.Register(L); break; case "GameMatch_Practice1V1Wrap": GameMatch_Practice1V1Wrap.Register(L); break; case "GameMatch_TypeWrap": GameMatch_TypeWrap.Register(L); break; case "GameModeConfigWrap": GameModeConfigWrap.Register(L); break; case "GameModeInfoListWrap": GameModeInfoListWrap.Register(L); break; case "GameModeWrap": GameModeWrap.Register(L); break; case "GameObjectPlaceholderWrap": GameObjectPlaceholderWrap.Register(L); break; case "GameObjectWrap": GameObjectWrap.Register(L); break; case "GameSceneWrap": GameSceneWrap.Register(L); break; case "GameSystemWrap": GameSystemWrap.Register(L); break; case "GameUtilsWrap": GameUtilsWrap.Register(L); break; case "GenerateNewGoodsArgConfigListWrap": GenerateNewGoodsArgConfigListWrap.Register(L); break; case "GlobalConstWrap": GlobalConstWrap.Register(L); break; case "GoodsAttrConfigDictionaryWrap": GoodsAttrConfigDictionaryWrap.Register(L); break; case "GoodsAttrConfigKeyValuePairWrap": GoodsAttrConfigKeyValuePairWrap.Register(L); break; case "GoodsComposeBaseNewConfigWrap": GoodsComposeBaseNewConfigWrap.Register(L); break; case "GoodsComposeNewConfigWrap": GoodsComposeNewConfigWrap.Register(L); break; case "GoodsConfigWrap": GoodsConfigWrap.Register(L); break; case "GoodsDictionaryWrap": GoodsDictionaryWrap.Register(L); break; case "GoodsKeyValuePairWrap": GoodsKeyValuePairWrap.Register(L); break; case "GoodsListWrap": GoodsListWrap.Register(L); break; case "GoodsWrap": GoodsWrap.Register(L); break; case "GuideModuleWrap": GuideModuleWrap.Register(L); break; case "GuideSystemWrap": GuideSystemWrap.Register(L); break; case "GuideTipWrap": GuideTipWrap.Register(L); break; case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break; case "IM_NumberWrap": IM_NumberWrap.Register(L); break; case "IM_Vector3Wrap": IM_Vector3Wrap.Register(L); break; case "InputWrap": InputWrap.Register(L); break; case "IntListWrap": IntListWrap.Register(L); break; case "KeyCodeWrap": KeyCodeWrap.Register(L); break; case "KeyValueDataListWrap": KeyValueDataListWrap.Register(L); break; case "KeyValueDataWrap": KeyValueDataWrap.Register(L); break; case "LadderConfigWrap": LadderConfigWrap.Register(L); break; case "LadderLevelWrap": LadderLevelWrap.Register(L); break; case "LadderRewardWrap": LadderRewardWrap.Register(L); break; case "LadderSeasonWrap": LadderSeasonWrap.Register(L); break; case "LayerMaskWrap": LayerMaskWrap.Register(L); break; case "LightTypeWrap": LightTypeWrap.Register(L); break; case "LightWrap": LightWrap.Register(L); break; case "LocalizationWrap": LocalizationWrap.Register(L); break; case "LoginIDManagerWrap": LoginIDManagerWrap.Register(L); break; case "LotteryConfigWrap": LotteryConfigWrap.Register(L); break; case "LuaComponentWrap": LuaComponentWrap.Register(L); break; case "LuaHelperWrap": LuaHelperWrap.Register(L); break; case "MailInfoListWrap": MailInfoListWrap.Register(L); break; case "MainPlayerWrap": MainPlayerWrap.Register(L); break; case "MapConfigWrap": MapConfigWrap.Register(L); break; case "MapGroupDataWrap": MapGroupDataWrap.Register(L); break; case "MatchStateBeginWrap": MatchStateBeginWrap.Register(L); break; case "MatchStateFoulWrap": MatchStateFoulWrap.Register(L); break; case "MatchStateGoalWrap": MatchStateGoalWrap.Register(L); break; case "MatchStateMachineWrap": MatchStateMachineWrap.Register(L); break; case "MatchStateOpeningWrap": MatchStateOpeningWrap.Register(L); break; case "MatchStateOverWrap": MatchStateOverWrap.Register(L); break; case "MatchStatePlayerCloseUpWrap": MatchStatePlayerCloseUpWrap.Register(L); break; case "MatchStatePlayingWrap": MatchStatePlayingWrap.Register(L); break; case "MatchStatePlotWrap": MatchStatePlotWrap.Register(L); break; case "MatchStateShowRuleWrap": MatchStateShowRuleWrap.Register(L); break; case "MatchStateTipOffWrap": MatchStateTipOffWrap.Register(L); break; case "MatchStateWrap": MatchStateWrap.Register(L); break; case "MatchState_StateWrap": MatchState_StateWrap.Register(L); break; case "MaterialWrap": MaterialWrap.Register(L); break; case "MeshColliderWrap": MeshColliderWrap.Register(L); break; case "MeshFilterWrap": MeshFilterWrap.Register(L); break; case "MeshRendererWrap": MeshRendererWrap.Register(L); break; case "MeshWrap": MeshWrap.Register(L); break; case "ModelShowItemWrap": ModelShowItemWrap.Register(L); break; case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break; case "MonthSignDataWrap": MonthSignDataWrap.Register(L); break; case "MotionWrap": MotionWrap.Register(L); break; case "MultiLabelWrap": MultiLabelWrap.Register(L); break; case "NetworkConnWrap": NetworkConnWrap.Register(L); break; case "NetworkManagerWrap": NetworkManagerWrap.Register(L); break; case "NetworkProfilerWrap": NetworkProfilerWrap.Register(L); break; case "NewComerSignConfigWrap": NewComerSignConfigWrap.Register(L); break; case "NewComerSignDataDictionaryWrap": NewComerSignDataDictionaryWrap.Register(L); break; case "NewComerSignDataKeyValuePairWrap": NewComerSignDataKeyValuePairWrap.Register(L); break; case "NewComerSignDataWrap": NewComerSignDataWrap.Register(L); break; case "NewComerTotalDataDictionaryWrap": NewComerTotalDataDictionaryWrap.Register(L); break; case "NewComerTotalDataKeyValuePairWrap": NewComerTotalDataKeyValuePairWrap.Register(L); break; case "NewComerTotalDataWrap": NewComerTotalDataWrap.Register(L); break; case "NewComerTrialInfoWrap": NewComerTrialInfoWrap.Register(L); break; case "NGUITextWrap": NGUITextWrap.Register(L); break; case "NGUIText_AlignmentWrap": NGUIText_AlignmentWrap.Register(L); break; case "NGUIToolsWrap": NGUIToolsWrap.Register(L); break; case "NPCDataConfigWrap": NPCDataConfigWrap.Register(L); break; case "ObjectWrap": ObjectWrap.Register(L); break; case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break; case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break; case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break; case "ParticleSystemRendererWrap": ParticleSystemRendererWrap.Register(L); break; case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break; case "PhysicsWrap": PhysicsWrap.Register(L); break; case "PlatNetworkWrap": PlatNetworkWrap.Register(L); break; case "PlayerDataBridgeWrap": PlayerDataBridgeWrap.Register(L); break; case "PlayerInfoVisualizerWrap": PlayerInfoVisualizerWrap.Register(L); break; case "PlayerListWrap": PlayerListWrap.Register(L); break; case "PlayerModelWrap": PlayerModelWrap.Register(L); break; case "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break; case "PlayerStateMachineWrap": PlayerStateMachineWrap.Register(L); break; case "PlayerStateMachine_ListenerWrap": PlayerStateMachine_ListenerWrap.Register(L); break; case "PlayerStateWrap": PlayerStateWrap.Register(L); break; case "PlayerState_BackBlockWrap": PlayerState_BackBlockWrap.Register(L); break; case "PlayerState_BackCompeteWrap": PlayerState_BackCompeteWrap.Register(L); break; case "PlayerState_BackToBackForwardWrap": PlayerState_BackToBackForwardWrap.Register(L); break; case "PlayerState_BackToBackWrap": PlayerState_BackToBackWrap.Register(L); break; case "PlayerState_BackToStandWrap": PlayerState_BackToStandWrap.Register(L); break; case "PlayerState_BackTurnRunWrap": PlayerState_BackTurnRunWrap.Register(L); break; case "PlayerState_BlockWrap": PlayerState_BlockWrap.Register(L); break; case "PlayerState_BodyThrowCatchWrap": PlayerState_BodyThrowCatchWrap.Register(L); break; case "PlayerState_CrossedWrap": PlayerState_CrossedWrap.Register(L); break; case "PlayerState_CrossOverWrap": PlayerState_CrossOverWrap.Register(L); break; case "PlayerState_DefenseCrossWrap": PlayerState_DefenseCrossWrap.Register(L); break; case "PlayerState_DefenseWrap": PlayerState_DefenseWrap.Register(L); break; case "PlayerState_DisturbWrap": PlayerState_DisturbWrap.Register(L); break; case "PlayerState_DunkWrap": PlayerState_DunkWrap.Register(L); break; case "PlayerState_FallGroundWrap": PlayerState_FallGroundWrap.Register(L); break; case "PlayerState_FallLostBallWrap": PlayerState_FallLostBallWrap.Register(L); break; case "PlayerState_GoalPoseWrap": PlayerState_GoalPoseWrap.Register(L); break; case "PlayerState_HoldWrap": PlayerState_HoldWrap.Register(L); break; case "PlayerState_KnockedWrap": PlayerState_KnockedWrap.Register(L); break; case "PlayerState_LayupFailedWrap": PlayerState_LayupFailedWrap.Register(L); break; case "PlayerState_LayupWrap": PlayerState_LayupWrap.Register(L); break; case "PlayerState_PickupWrap": PlayerState_PickupWrap.Register(L); break; case "PlayerState_PrepareToShootWrap": PlayerState_PrepareToShootWrap.Register(L); break; case "PlayerState_ReboundWrap": PlayerState_ReboundWrap.Register(L); break; case "PlayerState_ResultPoseWrap": PlayerState_ResultPoseWrap.Register(L); break; case "PlayerState_RunWrap": PlayerState_RunWrap.Register(L); break; case "PlayerState_RushWrap": PlayerState_RushWrap.Register(L); break; case "PlayerState_ShootWrap": PlayerState_ShootWrap.Register(L); break; case "PlayerState_SkillWrap": PlayerState_SkillWrap.Register(L); break; case "PlayerState_StandWrap": PlayerState_StandWrap.Register(L); break; case "PlayerState_StateWrap": PlayerState_StateWrap.Register(L); break; case "PlayerState_StealWrap": PlayerState_StealWrap.Register(L); break; case "PlayerState_StolenWrap": PlayerState_StolenWrap.Register(L); break; case "PlayerWrap": PlayerWrap.Register(L); break; case "PlayModeWrap": PlayModeWrap.Register(L); break; case "PlaySoundManagerWrap": PlaySoundManagerWrap.Register(L); break; case "PositionTypeUintDictionaryWrap": PositionTypeUintDictionaryWrap.Register(L); break; case "PracticePveConfigWrap": PracticePveConfigWrap.Register(L); break; case "PracticePveDataWrap": PracticePveDataWrap.Register(L); break; case "PractiseConfigWrap": PractiseConfigWrap.Register(L); break; case "PractiseDataDictionaryWrap": PractiseDataDictionaryWrap.Register(L); break; case "PractiseDataKeyValuePairWrap": PractiseDataKeyValuePairWrap.Register(L); break; case "PractiseDataWrap": PractiseDataWrap.Register(L); break; case "PractiseData_TypeWrap": PractiseData_TypeWrap.Register(L); break; case "PresentHpConfigWrap": PresentHpConfigWrap.Register(L); break; case "ProfilerWrap": ProfilerWrap.Register(L); break; case "PvpRegularInfoWrap": PvpRegularInfoWrap.Register(L); break; case "QualifyingAwardsDataListWrap": QualifyingAwardsDataListWrap.Register(L); break; case "QualifyingAwardsDataWrap": QualifyingAwardsDataWrap.Register(L); break; case "QualifyingConfigWrap": QualifyingConfigWrap.Register(L); break; case "QualifyingNewConfigWrap": QualifyingNewConfigWrap.Register(L); break; case "QualifyingNewerConfigWrap": QualifyingNewerConfigWrap.Register(L); break; case "QualityAttrCorConfigWrap": QualityAttrCorConfigWrap.Register(L); break; case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break; case "QueueModeWrap": QueueModeWrap.Register(L); break; case "RankConfigWrap": RankConfigWrap.Register(L); break; case "RankSubTypeWrap": RankSubTypeWrap.Register(L); break; case "RankTypeWrap": RankTypeWrap.Register(L); break; case "RechargeDictionaryWrap": RechargeDictionaryWrap.Register(L); break; case "RechargeKeyValuePairWrap": RechargeKeyValuePairWrap.Register(L); break; case "RechargeWrap": RechargeWrap.Register(L); break; case "RendererWrap": RendererWrap.Register(L); break; case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break; case "RenderTextureWrap": RenderTextureWrap.Register(L); break; case "ResourceLoadManagerWrap": ResourceLoadManagerWrap.Register(L); break; case "ResourcesWrap": ResourcesWrap.Register(L); break; case "RobotPlayerListWrap": RobotPlayerListWrap.Register(L); break; case "RoleBaseData2ListWrap": RoleBaseData2ListWrap.Register(L); break; case "RoleBaseData2Wrap": RoleBaseData2Wrap.Register(L); break; case "RoleBaseDataDictionarryWrap": RoleBaseDataDictionarryWrap.Register(L); break; case "RoleBaseDataKeyValuePairWrap": RoleBaseDataKeyValuePairWrap.Register(L); break; case "RoleGiftConfigWrap": RoleGiftConfigWrap.Register(L); break; case "RoleInfoListWrap": RoleInfoListWrap.Register(L); break; case "RoleLevelConfigWrap": RoleLevelConfigWrap.Register(L); break; case "RoleShapeConfigWrap": RoleShapeConfigWrap.Register(L); break; case "RoleShapeDictionaryWrap": RoleShapeDictionaryWrap.Register(L); break; case "RoleShapeKeyValuePairWrap": RoleShapeKeyValuePairWrap.Register(L); break; case "RoleShapeWrap": RoleShapeWrap.Register(L); break; case "SchedulerWrap": SchedulerWrap.Register(L); break; case "ScreenWrap": ScreenWrap.Register(L); break; case "ScrollViewAsyncLoadItemWrap": ScrollViewAsyncLoadItemWrap.Register(L); break; case "ScrollViewIncLoadWrap": ScrollViewIncLoadWrap.Register(L); break; case "SectionConfigDictionaryWrap": SectionConfigDictionaryWrap.Register(L); break; case "SectionDictionaryWrap": SectionDictionaryWrap.Register(L); break; case "SectionKeyValuePairWrap": SectionKeyValuePairWrap.Register(L); break; case "SectionWrap": SectionWrap.Register(L); break; case "ShaderWrap": ShaderWrap.Register(L); break; case "ShootGameConfigWrap": ShootGameConfigWrap.Register(L); break; case "ShootGameWrap": ShootGameWrap.Register(L); break; case "SignConfigWrap": SignConfigWrap.Register(L); break; case "Singleton_AudioManagerWrap": Singleton_AudioManagerWrap.Register(L); break; case "Singleton_ConditionValidatorWrap": Singleton_ConditionValidatorWrap.Register(L); break; case "Singleton_DebuggerWrap": Singleton_DebuggerWrap.Register(L); break; case "Singleton_GuideSystemWrap": Singleton_GuideSystemWrap.Register(L); break; case "Singleton_MainPlayerWrap": Singleton_MainPlayerWrap.Register(L); break; case "Singleton_PlatNetworkWrap": Singleton_PlatNetworkWrap.Register(L); break; case "Singleton_ResourceLoadManagerWrap": Singleton_ResourceLoadManagerWrap.Register(L); break; case "SkillAttrWrap": SkillAttrWrap.Register(L); break; case "SkillConfigWrap": SkillConfigWrap.Register(L); break; case "SkillConsumableListWrap": SkillConsumableListWrap.Register(L); break; case "SkillConsumableWrap": SkillConsumableWrap.Register(L); break; case "SkillLevelDictionaryWrap": SkillLevelDictionaryWrap.Register(L); break; case "SkillLevelWrap": SkillLevelWrap.Register(L); break; case "SkillSlotProtoListWrap": SkillSlotProtoListWrap.Register(L); break; case "SkillSlotProWrap": SkillSlotProWrap.Register(L); break; case "SkillTypeWrap": SkillTypeWrap.Register(L); break; case "SkillUpConfigWrap": SkillUpConfigWrap.Register(L); break; case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break; case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break; case "SpaceWrap": SpaceWrap.Register(L); break; case "SphereColliderWrap": SphereColliderWrap.Register(L); break; case "SpringPanelWrap": SpringPanelWrap.Register(L); break; case "StarAttrConfigWrap": StarAttrConfigWrap.Register(L); break; case "StarAttrWrap": StarAttrWrap.Register(L); break; case "StoreGoodsConfigWrap": StoreGoodsConfigWrap.Register(L); break; case "StoreGoodsDataListDictionaryWrap": StoreGoodsDataListDictionaryWrap.Register(L); break; case "StoreGoodsDataListKeyValuePairWrap": StoreGoodsDataListKeyValuePairWrap.Register(L); break; case "StoreGoodsDataListWrap": StoreGoodsDataListWrap.Register(L); break; case "StoreGoodsDataWrap": StoreGoodsDataWrap.Register(L); break; case "StrengthBarWrap": StrengthBarWrap.Register(L); break; case "StringListWrap": StringListWrap.Register(L); break; case "StringUintDictionaryWrap": StringUintDictionaryWrap.Register(L); break; case "StringUintKeyValuePairWrap": StringUintKeyValuePairWrap.Register(L); break; case "stringWrap": stringWrap.Register(L); break; case "SuitAddnAttrDataWrap": SuitAddnAttrDataWrap.Register(L); break; case "System_ObjectWrap": System_ObjectWrap.Register(L); break; case "TalentConfigWrap": TalentConfigWrap.Register(L); break; case "TalentItemWrap": TalentItemWrap.Register(L); break; case "TaskDataConfigWrap": TaskDataConfigWrap.Register(L); break; case "TaskDataListWrap": TaskDataListWrap.Register(L); break; case "TeamLevelConfigWrap": TeamLevelConfigWrap.Register(L); break; case "TeamLevelDataWrap": TeamLevelDataWrap.Register(L); break; case "TextAssetWrap": TextAssetWrap.Register(L); break; case "TextLabelReplaceWrap": TextLabelReplaceWrap.Register(L); break; case "Texture2DWrap": Texture2DWrap.Register(L); break; case "TextureWrap": TextureWrap.Register(L); break; case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break; case "TourConfigWrap": TourConfigWrap.Register(L); break; case "TourDataWrap": TourDataWrap.Register(L); break; case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break; case "TransformWrap": TransformWrap.Register(L); break; case "TrialConfigWrap": TrialConfigWrap.Register(L); break; case "TrialDataListWrap": TrialDataListWrap.Register(L); break; case "TrialDataWrap": TrialDataWrap.Register(L); break; case "TweenPositionWrap": TweenPositionWrap.Register(L); break; case "TweenRotationWrap": TweenRotationWrap.Register(L); break; case "TweenScaleWrap": TweenScaleWrap.Register(L); break; case "TweenWidthWrap": TweenWidthWrap.Register(L); break; case "TypeWrap": TypeWrap.Register(L); break; case "UBasketballWrap": UBasketballWrap.Register(L); break; case "UBasketWrap": UBasketWrap.Register(L); break; case "UIAtlasWrap": UIAtlasWrap.Register(L); break; case "UIBasicSpriteWrap": UIBasicSpriteWrap.Register(L); break; case "UIBasicSprite_FlipWrap": UIBasicSprite_FlipWrap.Register(L); break; case "UIButtonColorWrap": UIButtonColorWrap.Register(L); break; case "UIButtonWrap": UIButtonWrap.Register(L); break; case "UICameraWrap": UICameraWrap.Register(L); break; case "UICenterOnChildWrap": UICenterOnChildWrap.Register(L); break; case "UIChallengeLoadingWrap": UIChallengeLoadingWrap.Register(L); break; case "UICloseOnClickWrap": UICloseOnClickWrap.Register(L); break; case "UIDragDropItemEventWrap": UIDragDropItemEventWrap.Register(L); break; case "UIDragDropItemWrap": UIDragDropItemWrap.Register(L); break; case "UIDragScrollViewWrap": UIDragScrollViewWrap.Register(L); break; case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break; case "UIForm_ShowHideDirectionWrap": UIForm_ShowHideDirectionWrap.Register(L); break; case "UIGridWrap": UIGridWrap.Register(L); break; case "UIGrid_ArrangementWrap": UIGrid_ArrangementWrap.Register(L); break; case "UIInputWrap": UIInputWrap.Register(L); break; case "UILabelWrap": UILabelWrap.Register(L); break; case "UIManagerWrap": UIManagerWrap.Register(L); break; case "UintBooleanKeyValuePairWrap": UintBooleanKeyValuePairWrap.Register(L); break; case "UintBooleanListWrap": UintBooleanListWrap.Register(L); break; case "UintDictionaryDictionaryWrap": UintDictionaryDictionaryWrap.Register(L); break; case "UintDictionaryKeyValuePairWrap": UintDictionaryKeyValuePairWrap.Register(L); break; case "UintDictionaryWrap": UintDictionaryWrap.Register(L); break; case "UintKeyValuePairWrap": UintKeyValuePairWrap.Register(L); break; case "UintListWrap": UintListWrap.Register(L); break; case "UIPanelWrap": UIPanelWrap.Register(L); break; case "UIProgressBarWrap": UIProgressBarWrap.Register(L); break; case "UIRectWrap": UIRectWrap.Register(L); break; case "UIRect_AnchorPointWrap": UIRect_AnchorPointWrap.Register(L); break; case "UIScrollBarWrap": UIScrollBarWrap.Register(L); break; case "UIScrollViewWrap": UIScrollViewWrap.Register(L); break; case "UISliderWrap": UISliderWrap.Register(L); break; case "UISpriteWrap": UISpriteWrap.Register(L); break; case "UIStoreFashionWrap": UIStoreFashionWrap.Register(L); break; case "UITableWrap": UITableWrap.Register(L); break; case "UITextureWrap": UITextureWrap.Register(L); break; case "UIToggleWrap": UIToggleWrap.Register(L); break; case "UITweenerWrap": UITweenerWrap.Register(L); break; case "UITweener_MethodWrap": UITweener_MethodWrap.Register(L); break; case "UIViewportWrap": UIViewportWrap.Register(L); break; case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break; case "UIWidgetWrap": UIWidgetWrap.Register(L); break; case "UIWidget_PivotWrap": UIWidget_PivotWrap.Register(L); break; case "UIWrapContentWrap": UIWrapContentWrap.Register(L); break; case "UnityEngine_Experimental_Director_DirectorPlayerWrap": UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); break; case "UnityTimeWrap": UnityTimeWrap.Register(L); break; case "UtilWrap": UtilWrap.Register(L); break; case "VipDataWrap": VipDataWrap.Register(L); break; case "VipPrivilegeConfigWrap": VipPrivilegeConfigWrap.Register(L); break; case "VipStateWrap": VipStateWrap.Register(L); break; case "WidgetPlaceholderWrap": WidgetPlaceholderWrap.Register(L); break; case "YieldInstructionWrap": YieldInstructionWrap.Register(L); break; } }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); eyeWrap.Register(L); UtilsWrap.Register(L); ConstWrap.Register(L); GlobalWrap.Register(L); ShareDataWrap.Register(L); ByteBufferWrap.Register(L); FileUtilWrap.Register(L); StringUtilWrap.Register(L); TableUtilWrap.Register(L); LogUtilWrap.Register(L); IniUtilWrap.Register(L); PathUtilWrap.Register(L); GameManagerWrap.Register(L); ResourceManagerWrap.Register(L); ObjectPoolManagerWrap.Register(L); NetworkManagerWrap.Register(L); AudioManagerWrap.Register(L); NotificationManagerWrap.Register(L); LocalizationWrap.Register(L); DeviceHelperWrap.Register(L); ArmyMoveWrap.Register(L); ProgressSpriteWrap.Register(L); UIModWrap.Register(L); UISystemWrap.Register(L); UIManagerWrap.Register(L); UIButtonWrap.Register(L); UIButtonAgentWrap.Register(L); UIInputFieldWrap.Register(L); UIInputFieldSubmitWrap.Register(L); UISliderWrap.Register(L); UIScrollRectWrap.Register(L); UIScrollPageWrap.Register(L); UIScrollBaseWrap.Register(L); UIScrollRingWrap.Register(L); UIScrollViewWrap.Register(L); UIClippingLoopWrap.Register(L); UIDragSensorWrap.Register(L); UITextWrap.Register(L); UIToggleWrap.Register(L); UITweenWrap.Register(L); UITweenRectPositionWrap.Register(L); UITweenRectPositionBetweenWrap.Register(L); UITweenFadeWrap.Register(L); UITweenColorWrap.Register(L); UITweenLocalPositionWrap.Register(L); UITweenLocalPositionBetweenWrap.Register(L); UITweenScaleWrap.Register(L); UITweenScale1Wrap.Register(L); UITweenPositionWrap.Register(L); UITweenSizeDeltaWrap.Register(L); UITweenCityBuildingWrap.Register(L); UITweenMoveWrap.Register(L); UITweenJumpWrap.Register(L); UITweenPathWrap.Register(L); UITextTimeCountdownWrap.Register(L); UITextNumCountdownWrap.Register(L); UITextUnderlineWrap.Register(L); UIProgressWrap.Register(L); FXTypeWriterWrap.Register(L); TypeWriterWrap.Register(L); UITextAutoOmitWrap.Register(L); UIPopWindowWrap.Register(L); UIGradientWrap.Register(L); ShakeWrap.Register(L); UIHighLightMaskWrap.Register(L); ReferenceWrap.Register(L); UIPolygonChartWrap.Register(L); UIAutoSizeWrap.Register(L); UITextAgentWrap.Register(L); SpriteAnimationWrap.Register(L); YlyAssetIdentifyWrap.Register(L); YlyRichTextWrap.Register(L); YlyDelegateUtilWrap.Register(L); GizmoPlaneWrap.Register(L); GizmoBezierLineWrap.Register(L); BezierWrap.Register(L); BezierMoveWrap.Register(L); CityWrap.Register(L); CityCameraWrap.Register(L); CityBuildingWrap.Register(L); CityLandWrap.Register(L); CharacterWrap.Register(L); MapBorderWrap.Register(L); MapUnitMoveWrap.Register(L); WorldMapCameraWrap.Register(L); WorldMapThumbCameraWrap.Register(L); ScreenBlurWrap.Register(L); ChannelSDKWrap.Register(L); UIPrimitiveBaseWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_ResourcesWrap.Register(L); UnityEngine_SpriteRendererWrap.Register(L); UnityEngine_MotionWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_CanvasWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_TextGeneratorWrap.Register(L); UnityEngine_UICharInfoWrap.Register(L); UnityEngine_TextGenerationSettingsWrap.Register(L); UnityEngine_GUIUtilityWrap.Register(L); UnityEngine_Color32Wrap.Register(L); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_PlayableWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("SceneManagement"); UnityEngine_SceneManagement_SceneManagerWrap.Register(L); L.EndModule(); L.BeginModule("UI"); UnityEngine_UI_LayoutGroupWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_GridLayoutGroupWrap.Register(L); UnityEngine_UI_LayoutElementWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_BaseMeshEffectWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene); L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LogCallback", UnityEngine_Application_LogCallback); L.EndModule(); L.BeginModule("AudioClip"); L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback); L.EndModule(); L.BeginModule("Canvas"); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("OpenUDIDPhone"); OpenUDIDPhone_OpenUDIDWrap.Register(L); L.EndModule(); L.BeginModule("UITextTimeCountdown"); UITextTimeCountdown_DirectTypeWrap.Register(L); L.EndModule(); L.BeginModule("DragonBones"); DragonBones_UnityFactoryWrap.Register(L); DragonBones_AnimationTimelineStateWrap.Register(L); DragonBones_AnimationFrameDataWrap.Register(L); DragonBones_AnimationStateWrap.Register(L); DragonBones_AnimationFadeOutModeWrap.Register(L); DragonBones_AnimationWrap.Register(L); DragonBones_AnimationDataWrap.Register(L); DragonBones_AnimationConfigWrap.Register(L); DragonBones_ActionDataWrap.Register(L); DragonBones_ActionTypeWrap.Register(L); DragonBones_ArmatureWrap.Register(L); DragonBones_ArmatureDataWrap.Register(L); DragonBones_ArmatureTypeWrap.Register(L); DragonBones_BoneWrap.Register(L); DragonBones_BoneDataWrap.Register(L); DragonBones_BoneFrameDataWrap.Register(L); DragonBones_BoneTimelineDataWrap.Register(L); DragonBones_BoneTimelineStateWrap.Register(L); DragonBones_DragonBonesWrap.Register(L); DragonBones_DragonBonesDataWrap.Register(L); DragonBones_TransformWrap.Register(L); DragonBones_TransformObjectWrap.Register(L); DragonBones_BaseObjectWrap.Register(L); DragonBones_EventObjectWrap.Register(L); DragonBones_UnityArmatureComponentWrap.Register(L); DragonBones_BaseFactoryWrap.Register(L); DragonBones_TimelineState_DragonBones_AnimationFrameData_DragonBones_AnimationDataWrap.Register(L); DragonBones_FrameData_DragonBones_AnimationFrameDataWrap.Register(L); DragonBones_TimelineData_DragonBones_AnimationFrameDataWrap.Register(L); DragonBones_TweenFrameData_DragonBones_BoneFrameDataWrap.Register(L); DragonBones_FrameData_DragonBones_BoneFrameDataWrap.Register(L); DragonBones_TimelineData_DragonBones_BoneFrameDataWrap.Register(L); DragonBones_TweenTimelineState_DragonBones_BoneFrameData_DragonBones_BoneTimelineDataWrap.Register(L); DragonBones_TimelineState_DragonBones_BoneFrameData_DragonBones_BoneTimelineDataWrap.Register(L); DragonBones_UnityEventDispatcher_DragonBones_EventObjectWrap.Register(L); L.RegFunction("ListenerDelegate_DragonBones_EventObject", DragonBones_ListenerDelegate_DragonBones_EventObject); L.EndModule(); L.BeginModule("LKCamera"); LKCamera_Camera2DWrap.Register(L); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Action_UnityEngine_Object", System_Action_UnityEngine_Object); L.EndModule(); L.BeginModule("GameManager"); L.RegFunction("LuaExecute", GameManager_LuaExecute); L.EndModule(); L.BeginModule("AudioManager"); L.RegFunction("SwitchChanged", AudioManager_SwitchChanged); L.EndModule(); L.BeginModule("UIInputFieldSubmit"); L.RegFunction("OnValidateInput", UIInputFieldSubmit_OnValidateInput); L.EndModule(); L.BeginModule("UITween"); L.RegFunction("OnFinish", UITween_OnFinish); L.EndModule(); L.BeginModule("UIProgress"); L.RegFunction("LuaCallback", UIProgress_LuaCallback); L.EndModule(); L.BeginModule("YlyDelegateUtil"); L.RegFunction("StringDelegate", YlyDelegateUtil_StringDelegate); L.EndModule(); L.BeginModule("Character"); L.RegFunction("OnEvent", Character_OnEvent); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); L.AddPreLoad("UnityEngine.BoxCollider", LuaOpen_UnityEngine_BoxCollider, typeof(UnityEngine.BoxCollider)); L.AddPreLoad("UnityEngine.MeshCollider", LuaOpen_UnityEngine_MeshCollider, typeof(UnityEngine.MeshCollider)); L.AddPreLoad("UnityEngine.SphereCollider", LuaOpen_UnityEngine_SphereCollider, typeof(UnityEngine.SphereCollider)); L.AddPreLoad("UnityEngine.CharacterController", LuaOpen_UnityEngine_CharacterController, typeof(UnityEngine.CharacterController)); L.AddPreLoad("UnityEngine.CapsuleCollider", LuaOpen_UnityEngine_CapsuleCollider, typeof(UnityEngine.CapsuleCollider)); L.AddPreLoad("UnityEngine.Animation", LuaOpen_UnityEngine_Animation, typeof(UnityEngine.Animation)); L.AddPreLoad("UnityEngine.AnimationClip", LuaOpen_UnityEngine_AnimationClip, typeof(UnityEngine.AnimationClip)); L.AddPreLoad("UnityEngine.AnimationState", LuaOpen_UnityEngine_AnimationState, typeof(UnityEngine.AnimationState)); L.AddPreLoad("UnityEngine.BlendWeights", LuaOpen_UnityEngine_BlendWeights, typeof(UnityEngine.BlendWeights)); L.AddPreLoad("UnityEngine.RenderTexture", LuaOpen_UnityEngine_RenderTexture, typeof(UnityEngine.RenderTexture)); L.AddPreLoad("UnityEngine.Rigidbody", LuaOpen_UnityEngine_Rigidbody, typeof(UnityEngine.Rigidbody)); L.EndPreLoad(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(IntPtr L, string type = null) { if (type == null || wrapList.Contains(type)) { return; } wrapList.Add(type); type += "Wrap"; switch (type) { case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break; case "AnimationClipWrap": AnimationClipWrap.Register(L); break; case "AnimationStateWrap": AnimationStateWrap.Register(L); break; case "AnimatorWrap": AnimatorWrap.Register(L); break; case "ApplicationWrap": ApplicationWrap.Register(L); break; case "AssetBundleWrap": AssetBundleWrap.Register(L); break; case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break; case "AudioClipWrap": AudioClipWrap.Register(L); break; case "AudioSourceWrap": AudioSourceWrap.Register(L); break; case "BaseLuaWrap": BaseLuaWrap.Register(L); break; case "BehaviourWrap": BehaviourWrap.Register(L); break; case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break; case "BoxColliderWrap": BoxColliderWrap.Register(L); break; case "ButtonWrap": ButtonWrap.Register(L); break; case "Button_ButtonClickedEventWrap": Button_ButtonClickedEventWrap.Register(L); break; case "ByteBufferWrap": ByteBufferWrap.Register(L); break; case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break; case "CameraWrap": CameraWrap.Register(L); break; case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break; case "ColliderWrap": ColliderWrap.Register(L); break; case "ComponentWrap": ComponentWrap.Register(L); break; case "DebuggerWrap": DebuggerWrap.Register(L); break; case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break; case "DelegateWrap": DelegateWrap.Register(L); break; case "DG_Tweening_DOTweenWrap": DG_Tweening_DOTweenWrap.Register(L); break; case "DG_Tweening_LoopTypeWrap": DG_Tweening_LoopTypeWrap.Register(L); break; case "DG_Tweening_RotateModeWrap": DG_Tweening_RotateModeWrap.Register(L); break; case "DG_Tweening_SequenceWrap": DG_Tweening_SequenceWrap.Register(L); break; case "DG_Tweening_TweenerWrap": DG_Tweening_TweenerWrap.Register(L); break; case "DG_Tweening_TweenWrap": DG_Tweening_TweenWrap.Register(L); break; case "EnumWrap": EnumWrap.Register(L); break; case "GameObjectWrap": GameObjectWrap.Register(L); break; case "GraphicWrap": GraphicWrap.Register(L); break; case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break; case "ImageWrap": ImageWrap.Register(L); break; case "InputWrap": InputWrap.Register(L); break; case "IOLuaHelperWrap": IOLuaHelperWrap.Register(L); break; case "iooWrap": iooWrap.Register(L); break; case "KeyCodeWrap": KeyCodeWrap.Register(L); break; case "LightTypeWrap": LightTypeWrap.Register(L); break; case "LightWrap": LightWrap.Register(L); break; case "LuaHelperWrap": LuaHelperWrap.Register(L); break; case "MaskableGraphicWrap": MaskableGraphicWrap.Register(L); break; case "MaterialWrap": MaterialWrap.Register(L); break; case "MeshColliderWrap": MeshColliderWrap.Register(L); break; case "MeshRendererWrap": MeshRendererWrap.Register(L); break; case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break; case "NetworkManagerWrap": NetworkManagerWrap.Register(L); break; case "ObjectWrap": ObjectWrap.Register(L); break; case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break; case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break; case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break; case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break; case "PhysicsWrap": PhysicsWrap.Register(L); break; case "PlayModeWrap": PlayModeWrap.Register(L); break; case "PoolManagerWrap": PoolManagerWrap.Register(L); break; case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break; case "QueueModeWrap": QueueModeWrap.Register(L); break; case "RectTransformUtilityWrap": RectTransformUtilityWrap.Register(L); break; case "RectTransformWrap": RectTransformWrap.Register(L); break; case "RendererWrap": RendererWrap.Register(L); break; case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break; case "RenderTextureWrap": RenderTextureWrap.Register(L); break; case "ScreenWrap": ScreenWrap.Register(L); break; case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break; case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break; case "SpaceWrap": SpaceWrap.Register(L); break; case "SphereColliderWrap": SphereColliderWrap.Register(L); break; case "stringWrap": stringWrap.Register(L); break; case "System_ObjectWrap": System_ObjectWrap.Register(L); break; case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break; case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break; case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break; case "TextureWrap": TextureWrap.Register(L); break; case "TextWrap": TextWrap.Register(L); break; case "TimerManagerWrap": TimerManagerWrap.Register(L); break; case "TimeWrap": TimeWrap.Register(L); break; case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break; case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break; case "TransformWrap": TransformWrap.Register(L); break; case "TypeWrap": TypeWrap.Register(L); break; case "UIBehaviourWrap": UIBehaviourWrap.Register(L); break; case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break; case "UIFollowTargetWrap": UIFollowTargetWrap.Register(L); break; case "UIProgressWrap": UIProgressWrap.Register(L); break; case "UnityEngine_Events_UnityEventBaseWrap": UnityEngine_Events_UnityEventBaseWrap.Register(L); break; case "UnityEngine_Events_UnityEventWrap": UnityEngine_Events_UnityEventWrap.Register(L); break; case "UtilCommonWrap": UtilCommonWrap.Register(L); break; case "UtilMathWrap": UtilMathWrap.Register(L); break; case "UtilWrap": UtilWrap.Register(L); break; } }
public static void Bind(IntPtr L) { objectWrap.Register(L); ObjectWrap.Register(L); TypeWrap.Register(L); DelegateWrap.Register(L); IEnumeratorWrap.Register(L); EnumWrap.Register(L); StringWrap.Register(L); MsgPacketWrap.Register(L); AnimationBlendModeWrap.Register(L); AnimationClipWrap.Register(L); AnimationStateWrap.Register(L); AnimationWrap.Register(L); AnimatorWrap.Register(L); ApplicationWrap.Register(L); AssetBundleWrap.Register(L); AsyncOperationWrap.Register(L); AudioClipWrap.Register(L); AudioListenerWrap.Register(L); AudioManagerWrap.Register(L); AudioSourceWrap.Register(L); BaseLuaWrap.Register(L); BehaviourWrap.Register(L); BlendWeightsWrap.Register(L); BoxColliderWrap.Register(L); ButtonWrap.Register(L); ByteBufferWrap.Register(L); CameraClearFlagsWrap.Register(L); CameraWrap.Register(L); CanvasWrap.Register(L); CharacterControllerWrap.Register(L); ColliderWrap.Register(L); ComponentWrap.Register(L); DebuggerWrap.Register(L); DictionaryStr2StrWrap.Register(L); GameAudioWrap.Register(L); GameLogicWrap.Register(L); GameObjectWrap.Register(L); GraphicWrap.Register(L); ImageWrap.Register(L); InputFieldWrap.Register(L); InputWrap.Register(L); iooWrap.Register(L); KeyCodeWrap.Register(L); LayerMaskWrap.Register(L); LightTypeWrap.Register(L); LightWrap.Register(L); ListStringWrap.Register(L); LoadSceneMgrWrap.Register(L); LuaHelperWrap.Register(L); MaskableGraphicWrap.Register(L); MaterialWrap.Register(L); MeshColliderWrap.Register(L); MeshRendererWrap.Register(L); MonoBehaviourWrap.Register(L); NavMeshAgentWrap.Register(L); NavMeshHitWrap.Register(L); NavMeshPathStatusWrap.Register(L); NavMeshPathWrap.Register(L); NavMeshWrap.Register(L); NetworkManagerWrap.Register(L); ParticleAnimatorWrap.Register(L); ParticleEmitterWrap.Register(L); ParticleRendererWrap.Register(L); ParticleSystemWrap.Register(L); PhysicsWrap.Register(L); PlaneWrap.Register(L); PlayModeWrap.Register(L); PointerEventDataWrap.Register(L); QualitySettingsWrap.Register(L); QueueModeWrap.Register(L); RaycastHitWrap.Register(L); RectTransformWrap.Register(L); RendererWrap.Register(L); RenderSettingsWrap.Register(L); RenderTextureWrap.Register(L); ResourceManagerWrap.Register(L); ScreenWrap.Register(L); ScrollRectWrap.Register(L); SelectableWrap.Register(L); SimplePoolWrap.Register(L); SkinnedMeshRendererWrap.Register(L); SleepTimeoutWrap.Register(L); SpaceWrap.Register(L); SphereColliderWrap.Register(L); SpriteWrap.Register(L); Texture2DWrap.Register(L); TextureWrap.Register(L); TextWrap.Register(L); TimerManagerWrap.Register(L); TimeWrap.Register(L); ToggleWrap.Register(L); TouchPhaseWrap.Register(L); TrackedReferenceWrap.Register(L); TransformWrap.Register(L); UIAnimCtrlWrap.Register(L); UIBehaviourWrap.Register(L); UIEventListenerWrap.Register(L); UIFollowTargetWrap.Register(L); UILayerContainerTypeWrap.Register(L); UIProgressWrap.Register(L); UISpriteChangeWrap.Register(L); UISpriteStateWrap.Register(L); UITabsControlWrap.Register(L); UITimeDestoryWrap.Register(L); UtilCommonWrap.Register(L); UtilMathWrap.Register(L); UtilWrap.Register(L); WWWWrap.Register(L); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); DebuggerWrap.Register(L); GameManagerWrap.Register(L); UIManagerWrap.Register(L); ResManagerWrap.Register(L); NetworkManagerWrap.Register(L); LogWrap.Register(L); LuaBehaviourWrap.Register(L); ByteBufferWrap.Register(L); UtilWrap.Register(L); L.BeginModule("UnityEngine"); UnityEngine_ComponentWrap.Register(L); UnityEngine_TransformWrap.Register(L); UnityEngine_MaterialWrap.Register(L); UnityEngine_LightWrap.Register(L); UnityEngine_RigidbodyWrap.Register(L); UnityEngine_CameraWrap.Register(L); UnityEngine_AudioSourceWrap.Register(L); UnityEngine_BehaviourWrap.Register(L); UnityEngine_MonoBehaviourWrap.Register(L); UnityEngine_GameObjectWrap.Register(L); UnityEngine_TrackedReferenceWrap.Register(L); UnityEngine_ApplicationWrap.Register(L); UnityEngine_PhysicsWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.Register(L); UnityEngine_TextureWrap.Register(L); UnityEngine_Texture2DWrap.Register(L); UnityEngine_ShaderWrap.Register(L); UnityEngine_RendererWrap.Register(L); UnityEngine_WWWWrap.Register(L); UnityEngine_ScreenWrap.Register(L); UnityEngine_CameraClearFlagsWrap.Register(L); UnityEngine_AudioClipWrap.Register(L); UnityEngine_AssetBundleWrap.Register(L); UnityEngine_ParticleSystemWrap.Register(L); UnityEngine_AsyncOperationWrap.Register(L); UnityEngine_LightTypeWrap.Register(L); UnityEngine_SleepTimeoutWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_KeyCodeWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_SpaceWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_ParticleEmitterWrap.Register(L); UnityEngine_ParticleRendererWrap.Register(L); UnityEngine_ParticleAnimatorWrap.Register(L); UnityEngine_BoxColliderWrap.Register(L); UnityEngine_MeshColliderWrap.Register(L); UnityEngine_SphereColliderWrap.Register(L); UnityEngine_CharacterControllerWrap.Register(L); UnityEngine_CapsuleColliderWrap.Register(L); UnityEngine_AnimationWrap.Register(L); UnityEngine_AnimationClipWrap.Register(L); UnityEngine_AnimationStateWrap.Register(L); UnityEngine_AnimationBlendModeWrap.Register(L); UnityEngine_QueueModeWrap.Register(L); UnityEngine_PlayModeWrap.Register(L); UnityEngine_WrapModeWrap.Register(L); UnityEngine_QualitySettingsWrap.Register(L); UnityEngine_RenderSettingsWrap.Register(L); UnityEngine_BlendWeightsWrap.Register(L); UnityEngine_RenderTextureWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); L.EndModule(); L.BeginModule("Experimental"); L.BeginModule("Director"); UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); L.EndModule(); L.BeginModule("Events"); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Action_System_IO_Stream", System_Action_System_IO_Stream); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }