예제 #1
0
    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 "AnimationWrap": AnimationWrap.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 "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.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 "EnumWrap": EnumWrap.Register(L); break;

        case "EventDelegateWrap": EventDelegateWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.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 "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 "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.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 "SimpleFramework_AppConstWrap": SimpleFramework_AppConstWrap.Register(L); break;

        case "SimpleFramework_ByteBufferWrap": SimpleFramework_ByteBufferWrap.Register(L); break;

        case "SimpleFramework_LuaBehaviourWrap": SimpleFramework_LuaBehaviourWrap.Register(L); break;

        case "SimpleFramework_LuaHelperWrap": SimpleFramework_LuaHelperWrap.Register(L); break;

        case "SimpleFramework_Manager_MusicManagerWrap": SimpleFramework_Manager_MusicManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_NetworkManagerWrap": SimpleFramework_Manager_NetworkManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_PanelManagerWrap": SimpleFramework_Manager_PanelManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_ResourceManagerWrap": SimpleFramework_Manager_ResourceManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_TimerManagerWrap": SimpleFramework_Manager_TimerManagerWrap.Register(L); break;

        case "SimpleFramework_UtilWrap": SimpleFramework_UtilWrap.Register(L); break;

        case "SimpleFramework_WrapGridWrap": SimpleFramework_WrapGridWrap.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 "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 "UIButtonWrap": UIButtonWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIPanelWrap": UIPanelWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UITweener_StyleWrap": UITweener_StyleWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
예제 #2
0
 public static void Bind(IntPtr L)
 {
     ActiveButtonWrap.Register(L);
     ActiveGroupWrap.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);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CC_Module_Menu_MenuLayerTypeWrap.Register(L);
     CC_Module_Menu_MenuManagerWrap.Register(L);
     CC_Runtime_AssetManagerWrap.Register(L);
     CC_Runtime_CooWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoInfoWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoRoleInfoWrap.Register(L);
     CC_Runtime_PB_ProtoLeagueInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBaseInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBattleInfoWrap.Register(L);
     CC_Runtime_PacketManagerWrap.Register(L);
     CC_Runtime_SocketIdWrap.Register(L);
     CC_Runtime_SocketManagerWrap.Register(L);
     CC_Runtime_Utils_DateTimeUtilsWrap.Register(L);
     CC_UI_BaseUIWrap.Register(L);
     CC_UI_LuaUIEventWrap.Register(L);
     CC_UI_TabButtonWrap.Register(L);
     CC_UI_TabGroupWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     CityControlWrap.Register(L);
     ColliderWrap.Register(L);
     ColorUtilityWrap.Register(L);
     ColorWrap.Register(L);
     ComponentWrap.Register(L);
     CrashReporterWrap.Register(L);
     DG_Tweening_DOTweenWrap.Register(L);
     DG_Tweening_EaseWrap.Register(L);
     DG_Tweening_RotateModeWrap.Register(L);
     DG_Tweening_ScrambleModeWrap.Register(L);
     DG_Tweening_ShortcutExtensions46Wrap.Register(L);
     DG_Tweening_ShortcutExtensionsWrap.Register(L);
     DG_Tweening_TweenExtensionsWrap.Register(L);
     DG_Tweening_TweenSettingsExtensionsWrap.Register(L);
     DOTweenLuaUtilsWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     ExtendButtonWrap.Register(L);
     GameObjectWrap.Register(L);
     Games_ConstConfigWrap.Register(L);
     Games_ConstConfig_IDWrap.Register(L);
     Games_GameConstWrap.Register(L);
     Games_Module_Props_PropConfigWrap.Register(L);
     Games_Module_Props_PropIdWrap.Register(L);
     Games_Module_Props_PropWrap.Register(L);
     Games_Module_Sound_SoundManagerWrap.Register(L);
     Games_Module_Sysmsgs_SysmsgManagerWrap.Register(L);
     Games_Module_Wars_FormationPositionWrap.Register(L);
     Games_Module_Wars_FormationWrap.Register(L);
     Games_Module_Wars_LegionTypeWrap.Register(L);
     Games_Module_Wars_MonsterConfigWrap.Register(L);
     Games_Module_Wars_OverTypeWrap.Register(L);
     Games_Module_Wars_SkillWarConfWrap.Register(L);
     Games_Module_Wars_StageConfigWrap.Register(L);
     Games_Module_Wars_StagePositionConfigWrap.Register(L);
     Games_Module_Wars_StageTypeWrap.Register(L);
     Games_Module_Wars_VSModeWrap.Register(L);
     Games_Module_Wars_WarEnterDataWrap.Register(L);
     Games_Module_Wars_WarEnterHeroDataWrap.Register(L);
     Games_Module_Wars_WarEnterLegionDataWrap.Register(L);
     Games_Module_Wars_WarEnterSoliderDataWrap.Register(L);
     Games_Module_Wars_WarModelWrap.Register(L);
     Games_Module_Wars_WarOverDataWrap.Register(L);
     Games_Module_Wars_WarOverLegionDataWrap.Register(L);
     Games_Module_Wars_WarRecordIOWrap.Register(L);
     Games_Module_Wars_WarServiceWrap.Register(L);
     Games_Module_Wars_WarWrap.Register(L);
     Games_Module_Wars_WinConfigWrap.Register(L);
     Games_Module_Wars_WinTypeWrap.Register(L);
     GuidWrap.Register(L);
     IEnumeratorWrap.Register(L);
     ImageSetMaterialWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MiscLuaUtilWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MultiImageWrap.Register(L);
     NativeCodeManagerWrap.Register(L);
     ObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PathUtilWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     PlayerPrefsUtilWrap.Register(L);
     PrefabTextWrap.Register(L);
     ProvinceControlWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RectTransformWrap.Register(L);
     RectWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     RendererWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollZoomContainerWrap.Register(L);
     SimpleFramework_ByteBufferWrap.Register(L);
     SimpleFramework_LuaBehaviourWrap.Register(L);
     SimpleFramework_LuaHelperWrap.Register(L);
     SimpleFramework_UtilWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SliderWithTextWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     SystemInfoWrap.Register(L);
     System_ObjectWrap.Register(L);
     TableViewWrap.Register(L);
     TextAnchorWrap.Register(L);
     TextureWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UnityEngine_Events_UnityEventWrap.Register(L);
     UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
     UnityEngine_UI_ButtonWrap.Register(L);
     UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L);
     UnityEngine_UI_CanvasScalerWrap.Register(L);
     UnityEngine_UI_CanvasScaler_ScreenMatchModeWrap.Register(L);
     UnityEngine_UI_DropdownWrap.Register(L);
     UnityEngine_UI_GraphicWrap.Register(L);
     UnityEngine_UI_ImageWrap.Register(L);
     UnityEngine_UI_InputFieldWrap.Register(L);
     UnityEngine_UI_SelectableWrap.Register(L);
     UnityEngine_UI_SliderWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_ToggleWrap.Register(L);
     WrapModeWrap.Register(L);
     bitWrap.Register(L);
     stringWrap.Register(L);
 }