com.elestrago.unity.entitas-redux 3.0.13 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/Core/Attributes/CleanupAttribute.cs +45 -0
- package/{Scripts/Blueprints/BlueprintBase.cs.meta → Core/Attributes/CleanupAttribute.cs.meta} +1 -1
- package/Core/Attributes/CleanupMode.cs +33 -0
- package/{Scripts/Blueprints/BlueprintBehaviourBase.cs.meta → Core/Attributes/CleanupMode.cs.meta} +1 -1
- package/Core/Attributes/ContextAttribute.cs +42 -0
- package/{Scripts/Blueprints/AssemblyInfo.cs.meta → Core/Attributes/ContextAttribute.cs.meta} +1 -1
- package/Core/Attributes/CustomEntityIndexAttribute.cs +40 -0
- package/Core/Attributes/CustomEntityIndexAttribute.cs.meta +11 -0
- package/Core/Attributes/DontDrawComponentAttribute.cs +36 -0
- package/Core/Attributes/DontDrawComponentAttribute.cs.meta +11 -0
- package/Core/Attributes/DontGenerateAttribute.cs +40 -0
- package/Core/Attributes/DontGenerateAttribute.cs.meta +11 -0
- package/Core/Attributes/EntityIndex/AbstractEntityIndexAttribute.cs +39 -0
- package/Core/Attributes/EntityIndex/AbstractEntityIndexAttribute.cs.meta +11 -0
- package/Core/Attributes/EntityIndex/EntityIndexAttribute.cs +37 -0
- package/Core/Attributes/EntityIndex/EntityIndexAttribute.cs.meta +11 -0
- package/Core/Attributes/EntityIndex/EntityIndexGetMethodAttribute.cs +34 -0
- package/Core/Attributes/EntityIndex/EntityIndexGetMethodAttribute.cs.meta +11 -0
- package/Core/Attributes/EntityIndex/EntityIndexType.cs +33 -0
- package/Core/Attributes/EntityIndex/EntityIndexType.cs.meta +11 -0
- package/Core/Attributes/EntityIndex/PrimaryEntityIndexAttribute.cs +37 -0
- package/Core/Attributes/EntityIndex/PrimaryEntityIndexAttribute.cs.meta +11 -0
- package/Core/Attributes/EntityIndex.meta +8 -0
- package/Core/Attributes/EventAttribute.cs +46 -0
- package/Core/Attributes/EventAttribute.cs.meta +11 -0
- package/Core/Attributes/EventTarget.cs +8 -0
- package/Core/Attributes/EventTarget.cs.meta +11 -0
- package/Core/Attributes/EventType.cs +8 -0
- package/Core/Attributes/EventType.cs.meta +11 -0
- package/Core/Attributes/FlagPrefixAttribute.cs +40 -0
- package/Core/Attributes/FlagPrefixAttribute.cs.meta +11 -0
- package/Core/Attributes/GenerateEntityInterfaceAttribute.cs +9 -0
- package/Core/Attributes/GenerateEntityInterfaceAttribute.cs.meta +11 -0
- package/Core/Attributes/PostConstructorAttribute.cs +34 -0
- package/Core/Attributes/PostConstructorAttribute.cs.meta +11 -0
- package/Core/Attributes/UniqueAttribute.cs +34 -0
- package/Core/Attributes/UniqueAttribute.cs.meta +11 -0
- package/{Scripts/Blueprints.meta → Core/Attributes.meta} +1 -1
- package/Core/Collector/Collector.cs +233 -0
- package/Core/Collector/Collector.cs.meta +11 -0
- package/Core/Collector/CollectorContextExtension.cs +67 -0
- package/Core/Collector/CollectorContextExtension.cs.meta +11 -0
- package/Core/Collector/CollectorException.cs +35 -0
- package/Core/Collector/CollectorException.cs.meta +11 -0
- package/Core/Collector/ComponentReplacedCollector.cs +123 -0
- package/Core/Collector/ComponentReplacedCollector.cs.meta +11 -0
- package/Core/Collector/ICollector.cs +48 -0
- package/Core/Collector/ICollector.cs.meta +11 -0
- package/Core/Collector/SlimCollector.cs +227 -0
- package/Core/Collector/SlimCollector.cs.meta +11 -0
- package/Core/Collector/TriggerOnEvent.cs +40 -0
- package/Core/Collector/TriggerOnEvent.cs.meta +11 -0
- package/Core/Collector/TriggerOnEventMatcherExtension.cs +48 -0
- package/Core/Collector/TriggerOnEventMatcherExtension.cs.meta +11 -0
- package/Core/Collector.meta +8 -0
- package/Core/Commands/CommandAttribute.cs +9 -0
- package/Core/Commands/CommandAttribute.cs.meta +11 -0
- package/Core/Commands/CommandBuffer.cs +106 -0
- package/Core/Commands/CommandBuffer.cs.meta +11 -0
- package/Core/Commands/ICommandBuffer.cs +15 -0
- package/Core/Commands/ICommandBuffer.cs.meta +11 -0
- package/Core/Commands.meta +8 -0
- package/Core/Context/Context.cs +521 -0
- package/Core/Context/Context.cs.meta +11 -0
- package/Core/Context/ContextExtension.cs +43 -0
- package/Core/Context/ContextExtension.cs.meta +11 -0
- package/Core/Context/Delegates/ContextEntityChanged.cs +29 -0
- package/Core/Context/Delegates/ContextEntityChanged.cs.meta +11 -0
- package/Core/Context/Delegates/ContextGroupChanged.cs +29 -0
- package/Core/Context/Delegates/ContextGroupChanged.cs.meta +11 -0
- package/Core/Context/Delegates.meta +8 -0
- package/Core/Context/EntityRepo.cs +179 -0
- package/Core/Context/EntityRepo.cs.meta +11 -0
- package/Core/Context/Exceptions/ContextDoesNotContainEntityException.cs +35 -0
- package/Core/Context/Exceptions/ContextDoesNotContainEntityException.cs.meta +11 -0
- package/Core/Context/Exceptions/ContextEntityIndexDoesAlreadyExistException.cs +37 -0
- package/Core/Context/Exceptions/ContextEntityIndexDoesAlreadyExistException.cs.meta +11 -0
- package/Core/Context/Exceptions/ContextEntityIndexDoesNotExistException.cs +41 -0
- package/Core/Context/Exceptions/ContextEntityIndexDoesNotExistException.cs.meta +11 -0
- package/Core/Context/Exceptions/ContextInfoException.cs +43 -0
- package/Core/Context/Exceptions/ContextInfoException.cs.meta +11 -0
- package/Core/Context/Exceptions/ContextStillHasRetainedEntitiesException.cs +64 -0
- package/Core/Context/Exceptions/ContextStillHasRetainedEntitiesException.cs.meta +11 -0
- package/Core/Context/Exceptions/EntityIsNotDestroyedException.cs +38 -0
- package/Core/Context/Exceptions/EntityIsNotDestroyedException.cs.meta +11 -0
- package/Core/Context/Exceptions.meta +8 -0
- package/Core/Context/IContext.cs +78 -0
- package/Core/Context/IContext.cs.meta +11 -0
- package/Core/Context/IContexts.cs +32 -0
- package/Core/Context/IContexts.cs.meta +11 -0
- package/Core/Context.meta +8 -0
- package/Core/ContextInfo.cs +44 -0
- package/Core/ContextInfo.cs.meta +11 -0
- package/{Scripts/Blueprints/EntitasRedux.Blueprints.asmdef → Core/EntitasRedux.Core.asmdef} +5 -4
- package/{Scripts/Blueprints/EntitasRedux.Blueprints.asmdef.meta → Core/EntitasRedux.Core.asmdef.meta} +1 -1
- package/Core/EntitasReduxException.cs +40 -0
- package/Core/EntitasReduxException.cs.meta +11 -0
- package/Core/Entity/Delegates/EntityComponentChanged.cs +31 -0
- package/Core/Entity/Delegates/EntityComponentChanged.cs.meta +11 -0
- package/Core/Entity/Delegates/EntityComponentReplaced.cs +31 -0
- package/Core/Entity/Delegates/EntityComponentReplaced.cs.meta +11 -0
- package/Core/Entity/Delegates.meta +8 -0
- package/Core/Entity/Entity.cs +710 -0
- package/Core/Entity/Entity.cs.meta +11 -0
- package/Core/Entity/EntityEqualityComparer.cs +39 -0
- package/Core/Entity/EntityEqualityComparer.cs.meta +11 -0
- package/Core/Entity/EntityEvent.cs +29 -0
- package/Core/Entity/EntityEvent.cs.meta +11 -0
- package/Core/Entity/Events/EventDisposable.cs +31 -0
- package/Core/Entity/Events/EventDisposable.cs.meta +11 -0
- package/Core/Entity/Events.meta +8 -0
- package/Core/Entity/Exceptions/EntityAlreadyHasComponentException.cs +35 -0
- package/Core/Entity/Exceptions/EntityAlreadyHasComponentException.cs.meta +11 -0
- package/Core/Entity/Exceptions/EntityDoesNotHaveComponentException.cs +35 -0
- package/Core/Entity/Exceptions/EntityDoesNotHaveComponentException.cs.meta +11 -0
- package/Core/Entity/Exceptions/EntityIsAlreadyRetainedByOwnerException.cs +42 -0
- package/Core/Entity/Exceptions/EntityIsAlreadyRetainedByOwnerException.cs.meta +11 -0
- package/Core/Entity/Exceptions/EntityIsNotEnabledException.cs +38 -0
- package/Core/Entity/Exceptions/EntityIsNotEnabledException.cs.meta +11 -0
- package/Core/Entity/Exceptions/EntityIsNotRetainedByOwnerException.cs +42 -0
- package/Core/Entity/Exceptions/EntityIsNotRetainedByOwnerException.cs.meta +11 -0
- package/Core/Entity/Exceptions.meta +8 -0
- package/Core/Entity/IAERC.cs +34 -0
- package/Core/Entity/IAERC.cs.meta +11 -0
- package/Core/Entity/IEntity.cs +85 -0
- package/Core/Entity/IEntity.cs.meta +11 -0
- package/{Scripts/Blueprints/BlueprintBehaviourBase.cs → Core/Entity/SafeAERC.cs} +28 -21
- package/Core/Entity/SafeAERC.cs.meta +11 -0
- package/Core/Entity/UnsafeAERC.cs +53 -0
- package/Core/Entity/UnsafeAERC.cs.meta +11 -0
- package/Core/Entity.meta +8 -0
- package/Core/EntityIndex/AbstractEntityIndex.cs +141 -0
- package/Core/EntityIndex/AbstractEntityIndex.cs.meta +11 -0
- package/Core/EntityIndex/EntityIndex.cs +156 -0
- package/Core/EntityIndex/EntityIndex.cs.meta +11 -0
- package/Core/EntityIndex/EntityIndexException.cs +35 -0
- package/Core/EntityIndex/EntityIndexException.cs.meta +11 -0
- package/Core/EntityIndex/IEntityIndex.cs +35 -0
- package/Core/EntityIndex/IEntityIndex.cs.meta +11 -0
- package/Core/EntityIndex/PrimaryEntityIndex.cs +146 -0
- package/Core/EntityIndex/PrimaryEntityIndex.cs.meta +11 -0
- package/Core/EntityIndex.meta +8 -0
- package/Core/Exceptions/IndexOutOfLookupRangeException.cs +38 -0
- package/Core/Exceptions/IndexOutOfLookupRangeException.cs.meta +11 -0
- package/Core/Exceptions.meta +8 -0
- package/Core/Extensions/CollectionExtension.cs +105 -0
- package/Core/Extensions/CollectionExtension.cs.meta +11 -0
- package/Core/Extensions/SingleEntityException.cs +37 -0
- package/Core/Extensions/SingleEntityException.cs.meta +11 -0
- package/Core/Extensions/StringExtensions.cs +138 -0
- package/Core/Extensions/StringExtensions.cs.meta +11 -0
- package/Core/Extensions/TypeExtensions.cs +49 -0
- package/Core/Extensions/TypeExtensions.cs.meta +11 -0
- package/Core/Extensions.meta +8 -0
- package/Core/Group/Delegates/GroupChanged.cs +32 -0
- package/Core/Group/Delegates/GroupChanged.cs.meta +11 -0
- package/Core/Group/Delegates/GroupUpdated.cs +33 -0
- package/Core/Group/Delegates/GroupUpdated.cs.meta +11 -0
- package/Core/Group/Delegates.meta +8 -0
- package/Core/Group/Group.cs +333 -0
- package/Core/Group/Group.cs.meta +11 -0
- package/Core/Group/GroupEvent.cs +34 -0
- package/Core/Group/GroupEvent.cs.meta +11 -0
- package/Core/Group/GroupSingleEntityException.cs +44 -0
- package/Core/Group/GroupSingleEntityException.cs.meta +11 -0
- package/{Scripts/Blueprints/BlueprintBase.cs → Core/Group/IGroup.cs} +34 -36
- package/Core/Group/IGroup.cs.meta +11 -0
- package/Core/Group.meta +8 -0
- package/Core/IComponent.cs +43 -0
- package/Core/IComponent.cs.meta +11 -0
- package/Core/Libs/ArrayDisposable.cs +17 -0
- package/Core/Libs/ArrayDisposable.cs.meta +11 -0
- package/Core/Libs/Collections/Bits.cs +61 -0
- package/Core/Libs/Collections/Bits.cs.meta +11 -0
- package/Core/Libs/Collections/ImmutableHashSet.cs +48 -0
- package/Core/Libs/Collections/ImmutableHashSet.cs.meta +11 -0
- package/Core/Libs/Collections/IntSet.cs +82 -0
- package/Core/Libs/Collections/IntSet.cs.meta +11 -0
- package/Core/Libs/Collections/IntStack.cs +41 -0
- package/Core/Libs/Collections/IntStack.cs.meta +11 -0
- package/Core/Libs/Collections.meta +8 -0
- package/Core/Libs/Event.cs +59 -0
- package/Core/Libs/Event.cs.meta +11 -0
- package/Core/Libs/GenId.cs +44 -0
- package/Core/Libs/GenId.cs.meta +11 -0
- package/Core/Libs/Pool.cs +13 -0
- package/Core/Libs/Pool.cs.meta +11 -0
- package/Core/Libs.meta +8 -0
- package/Core/Matcher/Interfaces/IAllOfMatcher.cs +34 -0
- package/Core/Matcher/Interfaces/IAllOfMatcher.cs.meta +11 -0
- package/Core/Matcher/Interfaces/IAnyOfMatcher.cs +34 -0
- package/Core/Matcher/Interfaces/IAnyOfMatcher.cs.meta +11 -0
- package/Core/Matcher/Interfaces/ICompoundMatcher.cs +35 -0
- package/Core/Matcher/Interfaces/ICompoundMatcher.cs.meta +11 -0
- package/Core/Matcher/Interfaces/IMatcher.cs +34 -0
- package/Core/Matcher/Interfaces/IMatcher.cs.meta +11 -0
- package/Core/Matcher/Interfaces/INoneOfMatcher.cs +32 -0
- package/Core/Matcher/Interfaces/INoneOfMatcher.cs.meta +11 -0
- package/Core/Matcher/Interfaces.meta +8 -0
- package/Core/Matcher/Matcher.cs +91 -0
- package/Core/Matcher/Matcher.cs.meta +11 -0
- package/Core/Matcher/MatcherEquals.cs +131 -0
- package/Core/Matcher/MatcherEquals.cs.meta +11 -0
- package/Core/Matcher/MatcherException.cs +36 -0
- package/Core/Matcher/MatcherException.cs.meta +11 -0
- package/Core/Matcher/MatcherStatic.cs +156 -0
- package/Core/Matcher/MatcherStatic.cs.meta +11 -0
- package/Core/Matcher/MatcherToString.cs +111 -0
- package/Core/Matcher/MatcherToString.cs.meta +11 -0
- package/Core/Matcher.meta +8 -0
- package/Core/ObjectPool.cs +56 -0
- package/Core/ObjectPool.cs.meta +11 -0
- package/Core/RuntimeConstants.cs +40 -0
- package/Core/RuntimeConstants.cs.meta +11 -0
- package/Core/Systems/CleanupReactiveSystem.cs +129 -0
- package/Core/Systems/CleanupReactiveSystem.cs.meta +11 -0
- package/Core/Systems/Commands/CommandFixedUpdateSystem.cs +12 -0
- package/Core/Systems/Commands/CommandFixedUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands/CommandLateUpdateSystem.cs +12 -0
- package/Core/Systems/Commands/CommandLateUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands/CommandSystem.cs +30 -0
- package/Core/Systems/Commands/CommandSystem.cs.meta +11 -0
- package/Core/Systems/Commands/CommandUpdateSystem.cs +12 -0
- package/Core/Systems/Commands/CommandUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands/ForEachCommandFixedUpdateSystem.cs +22 -0
- package/Core/Systems/Commands/ForEachCommandFixedUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands/ForEachCommandLateUpdateSystem.cs +22 -0
- package/Core/Systems/Commands/ForEachCommandLateUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands/ForEachCommandUpdateSystem.cs +22 -0
- package/Core/Systems/Commands/ForEachCommandUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Commands.meta +8 -0
- package/Core/Systems/ComponentReplacedReactiveSystem.cs +68 -0
- package/Core/Systems/ComponentReplacedReactiveSystem.cs.meta +11 -0
- package/Core/Systems/FixedReactiveSystem.cs +68 -0
- package/Core/Systems/FixedReactiveSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/ICleanupSystem.cs +38 -0
- package/Core/Systems/Interfaces/ICleanupSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/IFixedUpdateSystem.cs +38 -0
- package/Core/Systems/Interfaces/IFixedUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/IInitializeSystem.cs +38 -0
- package/Core/Systems/Interfaces/IInitializeSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/ILateUpdateSystem.cs +39 -0
- package/Core/Systems/Interfaces/ILateUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/IReactiveSystem.cs +49 -0
- package/Core/Systems/Interfaces/IReactiveSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/ISystem.cs +37 -0
- package/Core/Systems/Interfaces/ISystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/ITearDownSystem.cs +38 -0
- package/Core/Systems/Interfaces/ITearDownSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces/IUpdateSystem.cs +38 -0
- package/Core/Systems/Interfaces/IUpdateSystem.cs.meta +11 -0
- package/Core/Systems/Interfaces.meta +8 -0
- package/Core/Systems/ReactiveSystem.cs +129 -0
- package/Core/Systems/ReactiveSystem.cs.meta +11 -0
- package/Core/Systems/SlimReactiveSystem.cs +80 -0
- package/Core/Systems/SlimReactiveSystem.cs.meta +11 -0
- package/Core/Systems/Systems.cs +226 -0
- package/Core/Systems/Systems.cs.meta +11 -0
- package/Core/Systems.meta +8 -0
- package/Core/Tools/ArrayTools.cs +117 -0
- package/Core/Tools/ArrayTools.cs.meta +11 -0
- package/Core/Tools/DictionaryTools.cs +143 -0
- package/Core/Tools/DictionaryTools.cs.meta +11 -0
- package/Core/Tools/ListTools.cs +66 -0
- package/Core/Tools/ListTools.cs.meta +11 -0
- package/Core/Tools/Native/NoAllocUtils.cs +53 -0
- package/Core/Tools/Native/NoAllocUtils.cs.meta +11 -0
- package/Core/Tools/Native.meta +8 -0
- package/Core/Tools.meta +8 -0
- package/{Scripts/Blueprints/Editor.meta → Core.meta} +1 -1
- package/Plugins/EntitasRedux.Command.Generator.dll +0 -0
- package/Plugins/EntitasRedux.Core.Generator.dll +0 -0
- package/README.md +2 -8
- package/{Scripts → Runtime}/Editor/EntitasRedux.Editor.asmdef +2 -1
- package/{Scripts → Runtime}/EntitasRedux.asmdef +4 -1
- package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasRedux.VisualDebugging.Editor.asmdef +3 -3
- package/{Scripts → Runtime}/VisualDebugging/EntitasRedux.VisualDebugging.asmdef +2 -1
- package/package.json +2 -2
- package/Plugins/EntitasRedux.Core.Libs.dll +0 -0
- package/Plugins/EntitasRedux.Core.Libs.dll.meta +0 -75
- package/Plugins/EntitasRedux.Core.dll +0 -0
- package/Plugins/EntitasRedux.Core.dll.meta +0 -75
- package/Scripts/Blueprints/AssemblyInfo.cs +0 -39
- package/Scripts/Blueprints/Editor/AssemblyInfo.cs +0 -35
- package/Scripts/Blueprints/Editor/AssemblyInfo.cs.meta +0 -11
- package/Scripts/Blueprints/Editor/BlueprintBaseInspector.cs +0 -67
- package/Scripts/Blueprints/Editor/BlueprintBaseInspector.cs.meta +0 -11
- package/Scripts/Blueprints/Editor/BlueprintBehaviourBaseInspector.cs +0 -67
- package/Scripts/Blueprints/Editor/BlueprintBehaviourBaseInspector.cs.meta +0 -11
- package/Scripts/Blueprints/Editor/BlueprintInspector.cs +0 -268
- package/Scripts/Blueprints/Editor/BlueprintInspector.cs.meta +0 -11
- package/Scripts/Blueprints/Editor/EntitasRedux.Blueprints.Editor.asmdef +0 -20
- package/Scripts/Blueprints/Editor/EntitasRedux.Blueprints.Editor.asmdef.meta +0 -7
- /package/{Scripts → Runtime}/AssemblyInfo.cs +0 -0
- /package/{Scripts → Runtime}/AssemblyInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/Utils/UnsubscribeEvent.cs +0 -0
- /package/{Scripts → Runtime}/Core/Utils/UnsubscribeEvent.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/Utils/UnsubscribeEventExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Core/Utils/UnsubscribeEventExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/Utils.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/IEntityHashHolder.cs +0 -0
- /package/{Scripts → Runtime}/Core/View/IEntityHashHolder.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/ILinkable.cs +0 -0
- /package/{Scripts → Runtime}/Core/View/ILinkable.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/EntityHashHolder.cs +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/EntityHashHolder.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/LinkableView.Editor.cs +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/LinkableView.Editor.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/LinkableView.cs +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls/LinkableView.cs.meta +0 -0
- /package/{Scripts → Runtime}/Core/View/Impls.meta +0 -0
- /package/{Scripts → Runtime}/Core/View.meta +0 -0
- /package/{Scripts → Runtime}/Core.meta +0 -0
- /package/{Scripts → Runtime}/Editor/AssemblyInfo.cs +0 -0
- /package/{Scripts → Runtime}/Editor/AssemblyInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/CreateScriptMenuItems.cs +0 -0
- /package/{Scripts → Runtime}/Editor/CreateScriptMenuItems.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/EntitasRedux.Editor.asmdef.meta +0 -0
- /package/{Scripts → Runtime}/Editor/EntitasReduxStyles.cs +0 -0
- /package/{Scripts → Runtime}/Editor/EntitasReduxStyles.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/ColorExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/ColorExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/PublicMemberInfoExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/PublicMemberInfoExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/SerializationTypeExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/SerializationTypeExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/StringExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/StringExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/TypeExtensions.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions/TypeExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Extensions.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasContextErrorHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasContextErrorHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasContextHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasContextHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityErrorHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityErrorHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityLinkHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityLinkHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityLinkWarnHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasEntityLinkWarnHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasHeader.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasHeader.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasSystemsHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasSystemsHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasSystemsWarnHierarchyIcon.png +0 -0
- /package/{Scripts → Runtime}/Editor/Images/EntitasSystemsWarnHierarchyIcon.png.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Images.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/DefaultArrayCreator.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/DefaultArrayCreator.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/DefaultStringCreator.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/DefaultStringCreator.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/IDefaultInstanceCreator.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator/IDefaultInstanceCreator.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/DefaultInstanceCreator.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/Entity/EntityDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/Entity/EntityDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/Entity/EntityInspector.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/Entity/EntityInspector.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/Entity.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/IComponentDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/IComponentDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/AnimationCurveTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/AnimationCurveTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ArrayTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ArrayTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/BoolTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/BoolTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/BoundsTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/BoundsTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/CharTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/CharTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ColorTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ColorTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DateTimeTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DateTimeTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DictionaryTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DictionaryTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DoubleTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/DoubleTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/EnumTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/EnumTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/FloatTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/FloatTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/HashSetTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/HashSetTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ITypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ITypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/IntTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/IntTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ListTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/ListTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/RectTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/RectTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/StringTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/StringTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/UnityObjectTypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/UnityObjectTypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector2TypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector2TypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector3TypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector3TypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector4TypeDrawer.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer/Vector4TypeDrawer.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector/TypeDrawer.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Inspector.meta +0 -0
- /package/{Scripts → Runtime}/Editor/MenuItems.cs +0 -0
- /package/{Scripts → Runtime}/Editor/MenuItems.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/PlayModeHelper.cs +0 -0
- /package/{Scripts → Runtime}/Editor/PlayModeHelper.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Reflection/AttributeInfo.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Reflection/AttributeInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Reflection/PublicMemberInfo.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Reflection/PublicMemberInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Reflection.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/CleanupSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/CleanupSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/Component.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/Component.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/FixedUpdateSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/FixedUpdateSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/InitializeSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/InitializeSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/LateUpdateSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/LateUpdateSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/ReactiveSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/ReactiveSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/UpdateSystem.txt +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates/UpdateSystem.txt.meta +0 -0
- /package/{Scripts → Runtime}/Editor/ScriptTemplates.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ColorTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ColorTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/EditorGUILayoutTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/EditorGUILayoutTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/PlayerSettingsTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/PlayerSettingsTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/PreferenceTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/PreferenceTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/RefactorModeTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/RefactorModeTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ReflectionTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ReflectionTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ScriptTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/ScriptTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/SerializationTools.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Tools/SerializationTools.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Tools.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Window/AboutWindow.cs +0 -0
- /package/{Scripts → Runtime}/Editor/Window/AboutWindow.cs.meta +0 -0
- /package/{Scripts → Runtime}/Editor/Window.meta +0 -0
- /package/{Scripts → Runtime}/Editor.meta +0 -0
- /package/{Scripts → Runtime}/EntitasRedux.asmdef.meta +0 -0
- /package/{Scripts → Runtime}/Entity/EntityBehaviour.cs +0 -0
- /package/{Scripts → Runtime}/Entity/EntityBehaviour.cs.meta +0 -0
- /package/{Scripts → Runtime}/Entity.meta +0 -0
- /package/{Scripts → Runtime}/EntityLink.cs +0 -0
- /package/{Scripts → Runtime}/EntityLink.cs.meta +0 -0
- /package/{Scripts → Runtime}/Extensions/EntityLinkExtension.cs +0 -0
- /package/{Scripts → Runtime}/Extensions/EntityLinkExtension.cs.meta +0 -0
- /package/{Scripts → Runtime}/Extensions.meta +0 -0
- /package/{Scripts → Runtime}/VersionConstants.cs +0 -0
- /package/{Scripts → Runtime}/VersionConstants.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/AssemblyInfo.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/AssemblyInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserver.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserver.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserverBehaviour.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserverBehaviour.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserverExtension.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver/ContextObserverExtension.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/ContextObserver.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/AvgResetInterval.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/AvgResetInterval.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/DebugSystems.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/DebugSystems.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/DebugSystemsBehaviour.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/DebugSystemsBehaviour.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/SystemInfo.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems/SystemInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/DebugSystems.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/AssemblyInfo.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/AssemblyInfo.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/ContextObserver/ContextObserverInspector.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/ContextObserver/ContextObserverInspector.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/ContextObserver.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/DebugSystems/DebugSystemsBehaviourInspector.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/DebugSystems/DebugSystemsBehaviourInspector.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/DebugSystems.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasHierarchyIcon.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasHierarchyIcon.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasRedux.VisualDebugging.Editor.asmdef.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasStats.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntitasStats.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntityLinkInspector.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/EntityLinkInspector.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/Graph.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/Graph.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebugStyles.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebugStyles.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebuggingEntitasExtension.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebuggingEntitasExtension.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebuggingPreferences.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor/VisualDebuggingPreferences.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Editor.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/EntitasRedux.VisualDebugging.asmdef.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Extensions/GameObjectDestroyExtensions.cs +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Extensions/GameObjectDestroyExtensions.cs.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging/Extensions.meta +0 -0
- /package/{Scripts → Runtime}/VisualDebugging.meta +0 -0
- /package/{Scripts.meta → Runtime.meta} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@ All notable changes to this project will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [3.1.1](https://gitlab.com/elestrago-pkg/entitas-redux/-/tags/3.1.1)
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
- Try to make package visible in Unity package manager
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## [v3.1.0](https://gitlab.com/elestrago-pkg/entitas-redux/-/tags/v3.1.0)
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- Create custom event class for add or remove event listeners
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
9
25
|
## [v3.0.13](https://gitlab.com/elestrago-pkg/entitas-redux/-/tags/v3.0.13)
|
|
10
26
|
|
|
11
27
|
### Fixes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(
|
|
31
|
+
AttributeTargets.Interface |
|
|
32
|
+
AttributeTargets.Class |
|
|
33
|
+
AttributeTargets.Struct |
|
|
34
|
+
AttributeTargets.Enum,
|
|
35
|
+
AllowMultiple = true)]
|
|
36
|
+
public class CleanupAttribute : Attribute
|
|
37
|
+
{
|
|
38
|
+
public CleanupMode CleanupMode { get; }
|
|
39
|
+
|
|
40
|
+
public CleanupAttribute(CleanupMode cleanupMode)
|
|
41
|
+
{
|
|
42
|
+
CleanupMode = cleanupMode;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
namespace JCMG.EntitasRedux
|
|
27
|
+
{
|
|
28
|
+
public enum CleanupMode
|
|
29
|
+
{
|
|
30
|
+
RemoveComponent,
|
|
31
|
+
DestroyEntity
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(
|
|
31
|
+
AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum,
|
|
32
|
+
AllowMultiple = true)]
|
|
33
|
+
public abstract class ContextAttribute : Attribute
|
|
34
|
+
{
|
|
35
|
+
public readonly string contextName;
|
|
36
|
+
|
|
37
|
+
public ContextAttribute(string contextName)
|
|
38
|
+
{
|
|
39
|
+
this.contextName = contextName;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class)]
|
|
31
|
+
public sealed class CustomEntityIndexAttribute : Attribute
|
|
32
|
+
{
|
|
33
|
+
public readonly Type contextType;
|
|
34
|
+
|
|
35
|
+
public CustomEntityIndexAttribute(Type contextType)
|
|
36
|
+
{
|
|
37
|
+
this.contextType = contextType;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
using System.Diagnostics;
|
|
28
|
+
|
|
29
|
+
namespace JCMG.EntitasRedux
|
|
30
|
+
{
|
|
31
|
+
[Conditional("UNITY_EDITOR")]
|
|
32
|
+
[AttributeUsage(AttributeTargets.Class)]
|
|
33
|
+
public class DontDrawComponentAttribute : Attribute
|
|
34
|
+
{
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum)]
|
|
31
|
+
public class DontGenerateAttribute : Attribute
|
|
32
|
+
{
|
|
33
|
+
public readonly bool generateIndex;
|
|
34
|
+
|
|
35
|
+
public DontGenerateAttribute(bool generateIndex = true)
|
|
36
|
+
{
|
|
37
|
+
this.generateIndex = generateIndex;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
public abstract class AbstractEntityIndexAttribute : Attribute
|
|
31
|
+
{
|
|
32
|
+
public readonly EntityIndexType entityIndexType;
|
|
33
|
+
|
|
34
|
+
protected AbstractEntityIndexAttribute(EntityIndexType entityIndexType)
|
|
35
|
+
{
|
|
36
|
+
this.entityIndexType = entityIndexType;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class)]
|
|
31
|
+
public sealed class EntityIndexAttribute : AbstractEntityIndexAttribute
|
|
32
|
+
{
|
|
33
|
+
public EntityIndexAttribute() : base(EntityIndexType.EntityIndex)
|
|
34
|
+
{
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(AttributeTargets.Method)]
|
|
31
|
+
public class EntityIndexGetMethodAttribute : Attribute
|
|
32
|
+
{
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
namespace JCMG.EntitasRedux
|
|
27
|
+
{
|
|
28
|
+
public enum EntityIndexType
|
|
29
|
+
{
|
|
30
|
+
EntityIndex,
|
|
31
|
+
PrimaryEntityIndex
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class)]
|
|
31
|
+
public sealed class PrimaryEntityIndexAttribute : AbstractEntityIndexAttribute
|
|
32
|
+
{
|
|
33
|
+
public PrimaryEntityIndexAttribute() : base(EntityIndexType.PrimaryEntityIndex)
|
|
34
|
+
{
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2020 Jeff Campbell
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
using System;
|
|
27
|
+
|
|
28
|
+
namespace JCMG.EntitasRedux
|
|
29
|
+
{
|
|
30
|
+
[AttributeUsage(
|
|
31
|
+
AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum,
|
|
32
|
+
AllowMultiple = true)]
|
|
33
|
+
public class EventAttribute : Attribute
|
|
34
|
+
{
|
|
35
|
+
public readonly EventTarget eventTarget;
|
|
36
|
+
public readonly EventType eventType;
|
|
37
|
+
public readonly int priority;
|
|
38
|
+
|
|
39
|
+
public EventAttribute(EventTarget eventTarget, EventType eventType = EventType.Added, int priority = 0)
|
|
40
|
+
{
|
|
41
|
+
this.eventTarget = eventTarget;
|
|
42
|
+
this.eventType = eventType;
|
|
43
|
+
this.priority = priority;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|