├── .gitignore
├── Editor.meta
├── Editor
├── Unity.Supplements.Editor.asmdef
├── Unity.Supplements.Editor.asmdef.meta
├── UnityEngine.meta
└── UnityEngine
│ ├── GridVectorDrawer.cs
│ ├── GridVectorDrawer.cs.meta
│ ├── SGridVectorDrawer.cs
│ ├── SGridVectorDrawer.cs.meta
│ ├── SingleLayerDrawer.cs
│ ├── SingleLayerDrawer.cs.meta
│ ├── SortingLayerIdDrawer.cs
│ └── SortingLayerIdDrawer.cs.meta
├── Global.meta
├── Global
├── Extensions.meta
└── Extensions
│ ├── Array1Extensions.cs
│ ├── Array1Extensions.cs.meta
│ ├── NumberExtensions.cs
│ ├── NumberExtensions.cs.meta
│ ├── StringExtensions.cs
│ └── StringExtensions.cs.meta
├── LICENSE
├── LICENSE.meta
├── README.md
├── README.md.meta
├── System.Collections.ArrayBased.meta
├── System.Collections.ArrayBased
├── ArrayDictionary{TKey,TValue}.Collection.cs
├── ArrayDictionary{TKey,TValue}.Collection.cs.meta
├── ArrayDictionary{TKey,TValue}.cs
├── ArrayDictionary{TKey,TValue}.cs.meta
├── ArrayList{T}.Collection.cs
├── ArrayList{T}.Collection.cs.meta
├── ArrayList{T}.cs
├── ArrayList{T}.cs.meta
├── Extensions.meta
├── Extensions
│ ├── ArrayDictionaryTKeyTValueExtensions.cs
│ ├── ArrayDictionaryTKeyTValueExtensions.cs.meta
│ ├── ArrayListTExtensions.cs
│ ├── ArrayListTExtensions.cs.meta
│ ├── ReadArrayDictionaryTKeyTValueExtensions.cs
│ ├── ReadArrayDictionaryTKeyTValueExtensions.cs.meta
│ ├── ReadArrayListTExtensions.cs
│ └── ReadArrayListTExtensions.cs.meta
├── ReadArrayDictionary{TKey,TValue}.cs
├── ReadArrayDictionary{TKey,TValue}.cs.meta
├── ReadArrayList{T}.cs
└── ReadArrayList{T}.cs.meta
├── System.Collections.Generic.meta
├── System.Collections.Generic
├── EnumValues.cs
├── EnumValues.cs.meta
├── EqualityComparerIn{T}.Internal.cs
├── EqualityComparerIn{T}.Internal.cs.meta
├── EqualityComparerIn{T}.cs
├── EqualityComparerIn{T}.cs.meta
├── Extensions.meta
├── Extensions
│ ├── CollectionTExtensions.cs
│ ├── CollectionTExtensions.cs.meta
│ ├── DictionaryTKeyTValueExtensions.cs
│ ├── DictionaryTKeyTValueExtensions.cs.meta
│ ├── HashSetTExtensions.cs
│ ├── HashSetTExtensions.cs.meta
│ ├── IEnumerableTExtensions.cs
│ ├── IEnumerableTExtensions.cs.meta
│ ├── IEnumeratorTExtensions.cs
│ ├── IEnumeratorTExtensions.cs.meta
│ ├── KeyValuePairTKeyTValueExtensions.cs
│ ├── KeyValuePairTKeyTValueExtensions.cs.meta
│ ├── ListTExtensions.cs
│ ├── ListTExtensions.cs.meta
│ ├── QueueTExtensions.cs
│ ├── QueueTExtensions.cs.meta
│ ├── StackTExtensions.cs
│ └── StackTExtensions.cs.meta
├── IComparerIn{T}.cs
├── IComparerIn{T}.cs.meta
├── IEqualityComparerIn{T}.cs
├── IEqualityComparerIn{T}.cs.meta
├── IReadOnlyStructComparer{T}.cs
├── IReadOnlyStructComparer{T}.cs.meta
├── IReadOnlyStructEqualityComparer{T}.cs
├── IReadOnlyStructEqualityComparer{T}.cs.meta
├── Randomizer.meta
├── Randomizer
│ ├── Randomizer.Cache{T}.cs
│ ├── Randomizer.Cache{T}.cs.meta
│ ├── Randomizer.IRandom.cs
│ ├── Randomizer.IRandom.cs.meta
│ ├── Randomizer.cs
│ └── Randomizer.cs.meta
├── ReadCollections.meta
├── ReadCollections
│ ├── Extensions.meta
│ ├── Extensions
│ │ ├── ReadCollectionTExtensions.cs
│ │ ├── ReadCollectionTExtensions.cs.meta
│ │ ├── ReadDictionaryTKeyTValueExtensions.cs
│ │ ├── ReadDictionaryTKeyTValueExtensions.cs.meta
│ │ ├── ReadHashSetTExtensions.cs
│ │ ├── ReadHashSetTExtensions.cs.meta
│ │ ├── ReadListTExtensions.cs
│ │ └── ReadListTExtensions.cs.meta
│ ├── ReadCollection{T}.cs
│ ├── ReadCollection{T}.cs.meta
│ ├── ReadDictionary{TKey,TValue}.cs
│ ├── ReadDictionary{TKey,TValue}.cs.meta
│ ├── ReadHashSet{T}.cs
│ ├── ReadHashSet{T}.cs.meta
│ ├── ReadList{T}.cs
│ └── ReadList{T}.cs.meta
├── Segments.meta
├── Segments
│ ├── Array1Segment.cs
│ ├── Array1Segment.cs.meta
│ ├── Extensions.meta
│ ├── Extensions
│ │ ├── Segment1Extensions.cs
│ │ ├── Segment1Extensions.cs.meta
│ │ ├── SegmentExtensions.AsSegment.cs
│ │ ├── SegmentExtensions.AsSegment.cs.meta
│ │ ├── SegmentExtensions.Slice.cs
│ │ ├── SegmentExtensions.Slice.cs.meta
│ │ ├── SegmentExtensions.cs
│ │ ├── SegmentExtensions.cs.meta
│ │ ├── StringSegmentExtensions.cs
│ │ └── StringSegmentExtensions.cs.meta
│ ├── Interfaces.meta
│ ├── Interfaces
│ │ ├── ISegment.cs
│ │ ├── ISegment.cs.meta
│ │ ├── ISegmentReader.cs
│ │ ├── ISegmentReader.cs.meta
│ │ ├── ISegmentSource.cs
│ │ └── ISegmentSource.cs.meta
│ ├── ListSegment.cs
│ ├── ListSegment.cs.meta
│ ├── Segment.meta
│ ├── Segment
│ │ ├── Segment.Enumerator.cs
│ │ ├── Segment.Enumerator.cs.meta
│ │ ├── Segment.List.cs
│ │ ├── Segment.List.cs.meta
│ │ ├── Segment.cs
│ │ ├── Segment.cs.meta
│ │ ├── Sources.meta
│ │ └── Sources
│ │ │ ├── Array1Source.cs
│ │ │ ├── Array1Source.cs.meta
│ │ │ ├── CharSource.cs
│ │ │ ├── CharSource.cs.meta
│ │ │ ├── IListSource.cs
│ │ │ ├── IListSource.cs.meta
│ │ │ ├── IReadOnlyListSource.cs
│ │ │ ├── IReadOnlyListSource.cs.meta
│ │ │ ├── ListSource.cs
│ │ │ └── ListSource.cs.meta
│ ├── Segment1.cs
│ ├── Segment1.cs.meta
│ ├── SegmentReader.cs
│ ├── SegmentReader.cs.meta
│ ├── StringSegment.meta
│ └── StringSegment
│ │ ├── Sources.meta
│ │ ├── Sources
│ │ ├── CharSource.cs
│ │ └── CharSource.cs.meta
│ │ ├── StringSegment.cs
│ │ └── StringSegment.cs.meta
├── Values.meta
└── Values
│ ├── Values.cs
│ ├── Values.cs.meta
│ ├── Values{T}.cs
│ └── Values{T}.cs.meta
├── System.Collections.Pooling.Concurrent.meta
├── System.Collections.Pooling.Concurrent
├── ConcurrentPool.DefaultProvider.cs
├── ConcurrentPool.DefaultProvider.cs.meta
├── ConcurrentPool.cs
├── ConcurrentPool.cs.meta
├── ConcurrentPool{T}.cs
├── ConcurrentPool{T}.cs.meta
├── DefaultConcurrentProviderDecorator.cs
├── DefaultConcurrentProviderDecorator.cs.meta
├── IConcurrentPoolProvider.cs
├── IConcurrentPoolProvider.cs.meta
├── IConcurrentPoolProviderDecorator.cs
├── IConcurrentPoolProviderDecorator.cs.meta
├── Pools.meta
└── Pools
│ ├── Array1ConcurrentPool{T}.cs
│ ├── Array1ConcurrentPool{T}.cs.meta
│ ├── ArrayDictionaryConcurrentPool{TKey,TValue}.cs
│ ├── ArrayDictionaryConcurrentPool{TKey,TValue}.cs.meta
│ ├── ArrayListConcurrentPool{T}.cs
│ ├── ArrayListConcurrentPool{T}.cs.meta
│ ├── ConcurrentBagPool{T}.cs
│ ├── ConcurrentBagPool{T}.cs.meta
│ ├── ConcurrentDictionaryPool{TKey,TValue}.cs
│ ├── ConcurrentDictionaryPool{TKey,TValue}.cs.meta
│ ├── ConcurrentQueuePool{T}.cs
│ ├── ConcurrentQueuePool{T}.cs.meta
│ ├── ConcurrentStackPool{T}.cs
│ ├── ConcurrentStackPool{T}.cs.meta
│ ├── DictionaryConcurrentPool{TKey,TValue}.cs
│ ├── DictionaryConcurrentPool{TKey,TValue}.cs.meta
│ ├── HashSetConcurrentPool{T}.cs
│ ├── HashSetConcurrentPool{T}.cs.meta
│ ├── ListConcurrentPool{T}.cs
│ ├── ListConcurrentPool{T}.cs.meta
│ ├── QueueConcurrentPool{T}.cs
│ ├── QueueConcurrentPool{T}.cs.meta
│ ├── StackConcurrentPool{T}.cs
│ └── StackConcurrentPool{T}.cs.meta
├── System.Collections.Pooling.meta
├── System.Collections.Pooling
├── DefaultProviderDecorator.cs
├── DefaultProviderDecorator.cs.meta
├── IPoolProvider.cs
├── IPoolProvider.cs.meta
├── IPoolProviderDecorator.cs
├── IPoolProviderDecorator.cs.meta
├── IPool{T}.cs
├── IPool{T}.cs.meta
├── Pool.DefaultProvider.cs
├── Pool.DefaultProvider.cs.meta
├── Pool.cs
├── Pool.cs.meta
├── Pools.meta
├── Pools
│ ├── Array1Pool{T}.cs
│ ├── Array1Pool{T}.cs.meta
│ ├── ArrayDictionaryPool{TKey,TValue}.cs
│ ├── ArrayDictionaryPool{TKey,TValue}.cs.meta
│ ├── ArrayListPool{T}.cs
│ ├── ArrayListPool{T}.cs.meta
│ ├── DictionaryPool{TKey,TValue}.cs
│ ├── DictionaryPool{TKey,TValue}.cs.meta
│ ├── HashSetPool{T}.cs
│ ├── HashSetPool{T}.cs.meta
│ ├── ListPool{T}.cs
│ ├── ListPool{T}.cs.meta
│ ├── QueuePool{T}.cs
│ ├── QueuePool{T}.cs.meta
│ ├── StackPool{T}.cs
│ └── StackPool{T}.cs.meta
├── Pool{T}.cs
└── Pool{T}.cs.meta
├── System.Delegates.meta
├── System.Delegates
├── Action.meta
├── Action
│ ├── IAction.cs
│ ├── IAction.cs.meta
│ ├── IActionIn.cs
│ ├── IActionIn.cs.meta
│ ├── IActionRef.cs
│ └── IActionRef.cs.meta
├── Func.meta
├── Func
│ ├── IFunc.cs
│ ├── IFunc.cs.meta
│ ├── IFuncIn.cs
│ ├── IFuncIn.cs.meta
│ ├── IFuncRef.cs
│ └── IFuncRef.cs.meta
├── Predicate.meta
└── Predicate
│ ├── IPredicate.cs
│ ├── IPredicate.cs.meta
│ ├── IPredicateIn.cs
│ ├── IPredicateIn.cs.meta
│ ├── IPredicateRef.cs
│ └── IPredicateRef.cs.meta
├── System.Fluent.meta
├── System.Fluent
├── Extensions.meta
└── Extensions
│ ├── ObjectExtensions.FluentDelegates.cs
│ └── ObjectExtensions.FluentDelegates.cs.meta
├── System.Grid.ArrayBased.meta
├── System.Grid.ArrayBased
├── ArrayGrid{T}.GridIndexedValues.cs
├── ArrayGrid{T}.GridIndexedValues.cs.meta
├── ArrayGrid{T}.GridIndexedValuesIn.cs
├── ArrayGrid{T}.GridIndexedValuesIn.cs.meta
├── ArrayGrid{T}.GridValues.cs
├── ArrayGrid{T}.GridValues.cs.meta
├── ArrayGrid{T}.cs
├── ArrayGrid{T}.cs.meta
├── ReadArrayGrid{T}.cs
└── ReadArrayGrid{T}.cs.meta
├── System.Grid.meta
├── System.Grid
├── ClampedGridPartitioner.cs
├── ClampedGridPartitioner.cs.meta
├── ClampedGridSize.cs
├── ClampedGridSize.cs.meta
├── GridDirection.cs
├── GridDirection.cs.meta
├── GridIndex.cs
├── GridIndex.cs.meta
├── GridIndexRange.Enumerator.cs
├── GridIndexRange.Enumerator.cs.meta
├── GridIndexRange.cs
├── GridIndexRange.cs.meta
├── GridPartitioner.cs
├── GridPartitioner.cs.meta
├── GridRange.Enumerator.cs
├── GridRange.Enumerator.cs.meta
├── GridRange.cs
├── GridRange.cs.meta
├── GridSize.cs
├── GridSize.cs.meta
├── GridValue{T}.cs
├── GridValue{T}.cs.meta
├── Grid{T}.GridIndexedValues.cs
├── Grid{T}.GridIndexedValues.cs.meta
├── Grid{T}.GridValues.cs
├── Grid{T}.GridValues.cs.meta
├── Grid{T}.cs
├── Grid{T}.cs.meta
├── IGridIndexedValueEnumerator{T}.cs
├── IGridIndexedValueEnumerator{T}.cs.meta
├── IGridIndexedValues{T}.cs
├── IGridIndexedValues{T}.cs.meta
├── IGridValueEnumerator{T}.cs
├── IGridValueEnumerator{T}.cs.meta
├── IGridValues{T}.cs
├── IGridValues{T}.cs.meta
├── IGrid{T}.cs
├── IGrid{T}.cs.meta
├── IReadOnlyGrid{T}.cs
├── IReadOnlyGrid{T}.cs.meta
├── ReadGrid{T}.cs
├── ReadGrid{T}.cs.meta
├── SGridIndex.cs
├── SGridIndex.cs.meta
├── SGridIndexRange.Enumerator.cs
├── SGridIndexRange.Enumerator.cs.meta
├── SGridIndexRange.cs
├── SGridIndexRange.cs.meta
├── SGridRange.Enumerator.cs
├── SGridRange.Enumerator.cs.meta
├── SGridRange.cs
└── SGridRange.cs.meta
├── System.Helpers.meta
├── System.Helpers
├── HashHelper.cs
├── HashHelper.cs.meta
├── TypeCache.cs
├── TypeCache.cs.meta
├── UnmanagedTypeExtensions.cs
└── UnmanagedTypeExtensions.cs.meta
├── System.IO.meta
├── System.IO
├── FileSystem.cs
└── FileSystem.cs.meta
├── System.Runtime.Serialization.Formatters.Text.meta
├── System.Runtime.Serialization.Formatters.Text
├── ITextFormatter.cs
├── ITextFormatter.cs.meta
├── ITextFormatter{T}.cs
└── ITextFormatter{T}.cs.meta
├── System.Runtime.Serialization.meta
├── System.Runtime.Serialization
├── SerializationInfoExtensions.cs
└── SerializationInfoExtensions.cs.meta
├── System.Table.meta
├── System.Table
├── IEntry.cs
├── IEntry.cs.meta
├── IGetId.cs
├── IGetId.cs.meta
├── ITable.cs
├── ITable.cs.meta
├── ReadEntry.cs
├── ReadEntry.cs.meta
├── ReadTable.cs
├── ReadTable.cs.meta
├── Table.cs
└── Table.cs.meta
├── System.ValueDelegates.meta
├── System.ValueDelegates
├── Action.meta
├── Action
│ ├── ValueAction.Action.cs
│ ├── ValueAction.Action.cs.meta
│ ├── ValueAction.ActionIn.cs
│ ├── ValueAction.ActionIn.cs.meta
│ ├── ValueAction.ActionRef.cs
│ ├── ValueAction.ActionRef.cs.meta
│ ├── ValueAction.cs
│ ├── ValueAction.cs.meta
│ ├── ValueActionIn.cs
│ ├── ValueActionIn.cs.meta
│ ├── ValueActionRef.cs
│ └── ValueActionRef.cs.meta
├── Delegate.meta
├── Delegate
│ ├── ValueDelegate.Action.cs
│ ├── ValueDelegate.Action.cs.meta
│ ├── ValueDelegate.ActionArgIn.cs
│ ├── ValueDelegate.ActionArgIn.cs.meta
│ ├── ValueDelegate.Func.cs
│ ├── ValueDelegate.Func.cs.meta
│ ├── ValueDelegate.FuncArgIn.cs
│ ├── ValueDelegate.FuncArgIn.cs.meta
│ ├── ValueDelegate.Predicate.cs
│ ├── ValueDelegate.Predicate.cs.meta
│ ├── ValueDelegate.PredicateArgIn.cs
│ └── ValueDelegate.PredicateArgIn.cs.meta
├── Func.meta
├── Func
│ ├── ValueFunc.Func.cs
│ ├── ValueFunc.Func.cs.meta
│ ├── ValueFunc.FuncIn.cs
│ ├── ValueFunc.FuncIn.cs.meta
│ ├── ValueFunc.FuncRef.cs
│ ├── ValueFunc.FuncRef.cs.meta
│ ├── ValueFunc.cs
│ ├── ValueFunc.cs.meta
│ ├── ValueFuncIn.cs
│ ├── ValueFuncIn.cs.meta
│ ├── ValueFuncRef.cs
│ └── ValueFuncRef.cs.meta
├── Predicate.meta
└── Predicate
│ ├── ValuePredicate.Predicate.cs
│ ├── ValuePredicate.Predicate.cs.meta
│ ├── ValuePredicate.PredicateIn.cs
│ ├── ValuePredicate.PredicateIn.cs.meta
│ ├── ValuePredicate.PredicateRef.cs
│ ├── ValuePredicate.PredicateRef.cs.meta
│ ├── ValuePredicate.cs
│ ├── ValuePredicate.cs.meta
│ ├── ValuePredicateIn.cs
│ ├── ValuePredicateIn.cs.meta
│ ├── ValuePredicateRef.cs
│ └── ValuePredicateRef.cs.meta
├── System.meta
├── System
├── Converter.cs
├── Converter.cs.meta
├── Delegates.meta
├── Delegates
│ ├── ReadStructAction.cs
│ ├── ReadStructAction.cs.meta
│ ├── ReadStructFunc.cs
│ ├── ReadStructFunc.cs.meta
│ ├── ReadStructPredicate.cs
│ ├── ReadStructPredicate.cs.meta
│ ├── RefAction.cs
│ ├── RefAction.cs.meta
│ ├── RefFunc.cs
│ ├── RefFunc.cs.meta
│ ├── RefPredicate.cs
│ └── RefPredicate.cs.meta
├── Enum.meta
├── Enum
│ ├── EnumIndex.cs
│ ├── EnumIndex.cs.meta
│ ├── EnumLength.cs
│ ├── EnumLength.cs.meta
│ ├── Enum{T}.cs
│ └── Enum{T}.cs.meta
├── Indices.meta
├── Indices
│ ├── Index2.cs
│ ├── Index2.cs.meta
│ ├── Index3.cs
│ ├── Index3.cs.meta
│ ├── Index4.cs
│ ├── Index4.cs.meta
│ ├── Index5.cs
│ └── Index5.cs.meta
├── Interfaces.meta
├── Interfaces
│ ├── IComparableIn{T}.cs
│ ├── IComparableIn{T}.cs.meta
│ ├── IComparableReadOnlyStruct{T}.cs
│ ├── IComparableReadOnlyStruct{T}.cs.meta
│ ├── IEquatableIn{T}.cs
│ ├── IEquatableIn{T}.cs.meta
│ ├── IEquatableReadOnlyStruct{T}.cs
│ └── IEquatableReadOnlyStruct{T}.cs.meta
├── Lengths.meta
├── Lengths
│ ├── Length2.cs
│ ├── Length2.cs.meta
│ ├── Length3.cs
│ ├── Length3.cs.meta
│ ├── Length4.cs
│ ├── Length4.cs.meta
│ ├── Length5.cs
│ └── Length5.cs.meta
├── PseudoProbability.meta
├── PseudoProbability
│ ├── PseudoProbability.IMath.cs
│ ├── PseudoProbability.IMath.cs.meta
│ ├── PseudoProbability.IRandom.cs
│ ├── PseudoProbability.IRandom.cs.meta
│ ├── PseudoProbability.PRD.cs
│ ├── PseudoProbability.PRD.cs.meta
│ ├── PseudoProbability.cs
│ └── PseudoProbability.cs.meta
├── Randomizer.meta
├── Randomizer
│ ├── EnumRandomizer{T}.cs
│ └── EnumRandomizer{T}.cs.meta
├── Range.meta
├── Range
│ ├── ByteRange.cs
│ ├── ByteRange.cs.meta
│ ├── CharRange.cs
│ ├── CharRange.cs.meta
│ ├── EnumByteRange{T}.cs
│ ├── EnumByteRange{T}.cs.meta
│ ├── EnumIntRange{T}.cs
│ ├── EnumIntRange{T}.cs.meta
│ ├── EnumLongRange{T}.cs
│ ├── EnumLongRange{T}.cs.meta
│ ├── EnumRange{T}.cs
│ ├── EnumRange{T}.cs.meta
│ ├── EnumSByteRange{T}.cs
│ ├── EnumSByteRange{T}.cs.meta
│ ├── EnumShortRange{T}.cs
│ ├── EnumShortRange{T}.cs.meta
│ ├── EnumUIntRange{T}.cs
│ ├── EnumUIntRange{T}.cs.meta
│ ├── EnumULongRange{T}.cs
│ ├── EnumULongRange{T}.cs.meta
│ ├── EnumUShortRange{T}.cs
│ ├── EnumUShortRange{T}.cs.meta
│ ├── IRangeEnumerator{T}.cs
│ ├── IRangeEnumerator{T}.cs.meta
│ ├── IRange{TValue,TEnumerator}.cs
│ ├── IRange{TValue,TEnumerator}.cs.meta
│ ├── IRange{T}.cs
│ ├── IRange{T}.cs.meta
│ ├── IntRange.cs
│ ├── IntRange.cs.meta
│ ├── LongRange.cs
│ ├── LongRange.cs.meta
│ ├── ReadRange{TValue,TEnumerator}.cs
│ ├── ReadRange{TValue,TEnumerator}.cs.meta
│ ├── ReadRange{T}.cs
│ ├── ReadRange{T}.cs.meta
│ ├── SByteRange.cs
│ ├── SByteRange.cs.meta
│ ├── ShortRange.cs
│ ├── ShortRange.cs.meta
│ ├── UIntRange.cs
│ ├── UIntRange.cs.meta
│ ├── ULongRange.cs
│ ├── ULongRange.cs.meta
│ ├── UShortRange.cs
│ └── UShortRange.cs.meta
├── ReadArray1.meta
├── ReadArray1
│ ├── ReadArray1TExtensions.cs
│ ├── ReadArray1TExtensions.cs.meta
│ ├── ReadArray1{T}.cs
│ └── ReadArray1{T}.cs.meta
├── Singletons.meta
├── Singletons
│ ├── Singleton.cs
│ ├── Singleton.cs.meta
│ ├── Singleton{T}.cs
│ └── Singleton{T}.cs.meta
├── ThrowHelper.cs
└── ThrowHelper.cs.meta
├── Unity.Collections.meta
├── Unity.Collections
├── Segments.meta
└── Segments
│ ├── Extensions.meta
│ ├── Extensions
│ ├── NativeSegmentExtensions.cs
│ └── NativeSegmentExtensions.cs.meta
│ ├── NativeArray.meta
│ ├── NativeArray
│ ├── NativeArraySegment.cs
│ ├── NativeArraySegment.cs.meta
│ ├── NativeArraySource.cs
│ ├── NativeArraySource.cs.meta
│ ├── ReadNativeArray{T}.cs
│ └── ReadNativeArray{T}.cs.meta
│ ├── NativeSlice.meta
│ └── NativeSlice
│ ├── NativeSliceSegment.cs
│ ├── NativeSliceSegment.cs.meta
│ ├── NativeSliceSource.cs
│ ├── NativeSliceSource.cs.meta
│ ├── ReadNativeSlice{T}.cs
│ └── ReadNativeSlice{T}.cs.meta
├── Unity.Supplements.asmdef
├── Unity.Supplements.asmdef.meta
├── UnityEngine.meta
├── UnityEngine
├── Extensions.meta
├── Extensions
│ ├── BoundsExtensions.cs
│ ├── BoundsExtensions.cs.meta
│ ├── ColorExtensions.cs
│ ├── ColorExtensions.cs.meta
│ ├── MatrixExtensions.cs
│ ├── MatrixExtensions.cs.meta
│ ├── QuaternionExtensions.cs
│ ├── QuaternionExtensions.cs.meta
│ ├── RangeExtensions.cs
│ ├── RangeExtensions.cs.meta
│ ├── RayExtensions.cs
│ ├── RayExtensions.cs.meta
│ ├── RectExtensions.cs
│ ├── RectExtensions.cs.meta
│ ├── ResolutionExtensions.cs
│ ├── ResolutionExtensions.cs.meta
│ ├── VectorExtensions.cs
│ └── VectorExtensions.cs.meta
├── GridVector.cs
├── GridVector.cs.meta
├── HSBColor.cs
├── HSBColor.cs.meta
├── LEBColor.cs
├── LEBColor.cs.meta
├── Offset.cs
├── Offset.cs.meta
├── OffsetInt.cs
├── OffsetInt.cs.meta
├── SGridVector.cs
├── SGridVector.cs.meta
├── ScreenResolution.Predefined.cs
├── ScreenResolution.Predefined.cs.meta
├── ScreenResolution.cs
├── ScreenResolution.cs.meta
├── SerializableDictionary.cs
├── SerializableDictionary.cs.meta
├── SingleLayer.cs
├── SingleLayer.cs.meta
├── SingletonBehaviour.cs
├── SingletonBehaviour.cs.meta
├── Size.cs
├── Size.cs.meta
├── SizeInt.cs
├── SizeInt.cs.meta
├── SortingLayerId.cs
└── SortingLayerId.cs.meta
├── package.json
└── package.json.meta
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 | [Bb]uild/
5 | [Bb]uilds/
6 | [Ll]ogs/
7 |
8 | # Never ignore Asset meta data
9 | ![Aa]ssets/**/*.meta
10 |
11 | # Uncomment this line if you wish to ignore the asset store tools plugin
12 | # [Aa]ssets/AssetStoreTools*
13 |
14 | # Visual Studio cache directory
15 | .vs/
16 | .vscode/
17 |
18 | # Gradle cache directory
19 | .gradle/
20 |
21 | # Autogenerated VS/MD/Consulo solution and project files
22 | ExportedObj/
23 | .consulo/
24 | *.csproj
25 | *.unityproj
26 | *.sln
27 | *.suo
28 | *.tmp
29 | *.user
30 | *.userprefs
31 | *.pidb
32 | *.booproj
33 | *.svd
34 | *.pdb
35 | *.mdb
36 | *.opendb
37 | *.VC.db
38 | .leu
39 |
40 | # Unity3D generated meta files
41 | *.pidb.meta
42 | *.pdb.meta
43 | *.mdb.meta
44 |
45 | # Unity3D generated file on crash reports
46 | sysinfo.txt
47 |
48 | # Builds
49 | *.apk
50 | *.unitypackage
51 |
--------------------------------------------------------------------------------
/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e368c0f8f88a2bf49b4f8afa1a132245
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Editor/Unity.Supplements.Editor.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Unity.Supplements.Editor",
3 | "references": [
4 | "Unity.Supplements"
5 | ],
6 | "optionalUnityReferences": [],
7 | "includePlatforms": [
8 | "Editor"
9 | ],
10 | "excludePlatforms": [],
11 | "allowUnsafeCode": false,
12 | "overrideReferences": false,
13 | "precompiledReferences": [],
14 | "autoReferenced": true,
15 | "defineConstraints": [],
16 | "versionDefines": []
17 | }
--------------------------------------------------------------------------------
/Editor/Unity.Supplements.Editor.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4a533b520148a1649bf27a4e237e5fab
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Editor/UnityEngine.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8ad0b2e44dc0df647bdb53baf145265b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Editor/UnityEngine/GridVectorDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 429a587138c599a4fa8a4db56d63a36a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Editor/UnityEngine/SGridVectorDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b226adcfdcf34bb4581a230efa77691a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Editor/UnityEngine/SingleLayerDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 166a8687fa0e2ad47b5e8c59e0c0c4c0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Editor/UnityEngine/SortingLayerIdDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7eb6939f24b975e44994a2862f61b8ad
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Global.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8b4beb4240956234f95bc0572816db6b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Global/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cd7b73bc75e58a44284d065975c5745a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Global/Extensions/Array1Extensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d55b9ff7dbf9e2243b59bd80a384557b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Global/Extensions/NumberExtensions.cs:
--------------------------------------------------------------------------------
1 | public static class NumberExtensions
2 | {
3 | public static double Percent(this double value)
4 | => value * 0.01;
5 |
6 | public static double Percent(this long value)
7 | => value * 0.01;
8 |
9 | public static double Percent(this ulong value)
10 | => value * 0.01;
11 |
12 | public static float Percent(this float value)
13 | => value * 0.01f;
14 |
15 | public static float Percent(this int value)
16 | => value * 0.01f;
17 |
18 | public static float Percent(this uint value)
19 | => value * 0.01f;
20 |
21 | public static float Percent(this short value)
22 | => value * 0.01f;
23 |
24 | public static float Percent(this ushort value)
25 | => value * 0.01f;
26 |
27 | public static float Percent(this byte value)
28 | => value * 0.01f;
29 |
30 | public static float Percent(this sbyte value)
31 | => value * 0.01f;
32 | }
--------------------------------------------------------------------------------
/Global/Extensions/NumberExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3654f4c788c84b040ac3d4af6d945c4a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Global/Extensions/StringExtensions.cs:
--------------------------------------------------------------------------------
1 | public static class StringExtensions
2 | {
3 | ///
4 | /// Return other string if this string is null or empty.
5 | ///
6 | ///
7 | ///
8 | ///
9 | public static string Or(this string self, string other)
10 | => string.IsNullOrEmpty(self) ? other : self;
11 |
12 | public static bool ValidateIndex(this string self, int index)
13 | => self != null && index >= 0 && index < self.Length;
14 | }
--------------------------------------------------------------------------------
/Global/Extensions/StringExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a6b2a5a6e7890a43a5788641da66729
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Laicasaane
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/LICENSE.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b8f110e3a52ad544ab4396644f34ba6c
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 959f260a4fdaee74b97be62a282242ae
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 03700a68660c9fb49970ff8bb2ec85b9
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ArrayDictionary{TKey,TValue}.Collection.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 97d643186452dbb438acafc52b09e87f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ArrayDictionary{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 022fccb2a3d2ffd4084635752827cf2d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ArrayList{T}.Collection.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0ea8d198bdd21904ebd9ab36d3b9d046
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ArrayList{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 04c083202f5e2594e8eec99ebbf3c245
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3fcc23eeaa2ccd249bd7c92485d45661
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/Extensions/ArrayDictionaryTKeyTValueExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 44f7b5d6648e89447a9f216e415d8cff
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/Extensions/ArrayListTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ec57a883ccb221d478ae0f27f1bd5dca
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/Extensions/ReadArrayDictionaryTKeyTValueExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 976ada368eb0f8c468db8b65dd0276e3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/Extensions/ReadArrayListTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f1e03f9536b77244794e41d89c295e30
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ReadArrayDictionary{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 23ec39ce69c8ffc488a77db91273bc17
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.ArrayBased/ReadArrayList{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7028052141208e9429f8375fc677370c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2211b70233fc708458aabb01bf233ac0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/EnumValues.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public abstract class EnumValues where T : unmanaged, Enum
4 | {
5 | public static ReadArray1 Values => Enum.Values;
6 |
7 | ///
8 | /// Total count of the underlying values
9 | ///
10 | public static int UnderlyingValueCount { get; }
11 |
12 | static EnumValues()
13 | {
14 | var index = 0;
15 |
16 | foreach (var e in Values)
17 | {
18 | var val = (int)(object)e;
19 |
20 | if (index < val)
21 | index = val;
22 | }
23 |
24 | UnderlyingValueCount = index + 1;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/EnumValues.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 567df8e2c6db196468ef107cac4fcddb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/EqualityComparerIn{T}.Internal.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2fd592f28da445a4ab06fc40ff3a557b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/EqualityComparerIn{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public abstract partial class EqualityComparerIn : IEqualityComparerIn
4 | {
5 | public abstract bool Equals(in T x, in T y);
6 |
7 | public abstract bool Equals(T x, T y);
8 |
9 | public abstract int GetHashCode(in T obj);
10 |
11 | public abstract int GetHashCode(T obj);
12 |
13 | public static EqualityComparerIn Default { get; } = CreateComparer();
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/System.Collections.Generic/EqualityComparerIn{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 33cf259fb1f52b94593ae1af99afba3c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9e217acd7ed621848859b6824ce5a9da
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/CollectionTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f9c35f84ca91cfb4dbd3c5c2b93607e8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/DictionaryTKeyTValueExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f16614f579b5d0341adcdfb7bea18f4c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/HashSetTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ebf85d00c3d00de4987d509c51ed1c94
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/IEnumerableTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e23d683ad5b51e449b97986aa6f3a31d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/IEnumeratorTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5d2805135b6d4154db3da49b7764d400
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/KeyValuePairTKeyTValueExtensions.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public static class KeyValuePairTKeyTValueExtensions
4 | {
5 | public static void Deconstruct(this KeyValuePair kv, out TKey key, out TValue value)
6 | {
7 | key = kv.Key;
8 | value = kv.Value;
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/KeyValuePairTKeyTValueExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2b2fcc8ae4b8f1d45a1ac4e366d67624
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/ListTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ad6f01ecab43ed544ad67c45373b4508
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/QueueTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bd76b42b887a3dc47a69a3768aef6e5c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Extensions/StackTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1f12f4b37751a354abe60c293c37401c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/IComparerIn{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface IComparerIn : IComparer
4 | {
5 | int Compare(in T x, in T y);
6 | }
7 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/IComparerIn{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 616c9a36e046bf44d970cf4f30831dfd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/IEqualityComparerIn{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface IEqualityComparerIn : IEqualityComparer
4 | {
5 | bool Equals(in T x, in T y);
6 |
7 | int GetHashCode(in T obj);
8 | }
9 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/IEqualityComparerIn{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ba291bda9088c46419f5f4733d3bcf6c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/IReadOnlyStructComparer{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface IReadOnlyStructComparer : IComparerIn where T : struct
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/IReadOnlyStructComparer{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 182bf3518acf6484fa4af6d37ac81fa9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/IReadOnlyStructEqualityComparer{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface IReadOnlyStructEqualityComparer : IEqualityComparerIn where T : struct
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/IReadOnlyStructEqualityComparer{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 75c9f1e98f3cbef4594feec8ffd30484
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d2163f0c575ff0a49bb1bcb5bfa2919e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer/Randomizer.Cache{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public static partial class Randomizer
4 | {
5 | public interface ICache
6 | {
7 | List Input { get; }
8 |
9 | List Output { get; }
10 |
11 | void Clear();
12 | }
13 |
14 | private sealed class DefaultCache : ICache
15 | {
16 | public List Input { get; } = new List();
17 |
18 | public List Output { get; } = new List();
19 |
20 | public void Clear()
21 | {
22 | this.Input.Clear();
23 | this.Output.Clear();
24 | }
25 |
26 | public static DefaultCache Default { get; } = new DefaultCache();
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer/Randomizer.Cache{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 708376100c0b015489e3830ef7849eca
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer/Randomizer.IRandom.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public static partial class Randomizer
4 | {
5 | public interface IRandom
6 | {
7 | ///
8 | /// Return a random float number between min [inclusive] and max [exclusive]
9 | ///
10 | ///
11 | ///
12 | ///
13 | int Range(int min, int max);
14 | }
15 |
16 | private readonly struct DefaultRandom : IRandom
17 | {
18 | public int Range(int min, int max)
19 | => _rand.Next(min, max);
20 |
21 | private static readonly Random _rand = new Random();
22 |
23 | public static DefaultRandom Default { get; } = new DefaultRandom();
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer/Randomizer.IRandom.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 64a67de25d21ca04ca959736ae3d5fba
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Randomizer/Randomizer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8b225b479412434439162721aef7289a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 96d753d01aff25649a358b5c39288ebe
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0961fcecac2d42a4abc9b13eb6f97b11
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/Extensions/ReadCollectionTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7bf1c34a7ce5f044dad08fb17d762ca3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/Extensions/ReadDictionaryTKeyTValueExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8920059f39ea8a8409f34e270fc6f78e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/Extensions/ReadHashSetTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0186875027036da4d97a5602e254e8dd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/Extensions/ReadListTExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0ddfdfde4ad7fb94286dee29f5e3fdac
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/ReadCollection{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5ebc1dd142f83674ba725591d37b2632
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/ReadDictionary{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6c161299c4d00254b9098b531fb3ad19
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/ReadHashSet{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 12b0fb44f9329864f937e674673fd7f7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/ReadCollections/ReadList{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ad3dff9e5db5eb749b37aebd7193fddc
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 435cfd05aa99a4f45a1a00a58dc7af0e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Array1Segment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c43a26d9755e47c4cab8cabb42520514
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: be671ab777556f84289c80e4ceb20c11
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/Segment1Extensions.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public static class Segment1Extensions
4 | {
5 | public static Segment1 AsSegment1(this T item)
6 | => item;
7 |
8 | public static bool ValidateIndex(in this Segment1 self, int index)
9 | => index >= 0 && index < self.Count;
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/Segment1Extensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 987fbee1cc7e9544784b4d9f37d4a45b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/SegmentExtensions.AsSegment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3030f4944332b854b87c4bc973e77e6f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/SegmentExtensions.Slice.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 460a01012bff08a49be82e1b34648971
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/SegmentExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 483cdb26fe0e0c64da44bda9fe3e6f4b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Extensions/StringSegmentExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a8765900354255949997d80d501ad82f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 559fc6535566cd040b84b6a4abb843c7
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegment.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface ISegment : IReadOnlyList
4 | {
5 | ISegment Slice(int index);
6 |
7 | ISegment Slice(int index, int count);
8 |
9 | ISegment Skip(int count);
10 |
11 | ISegment Take(int count);
12 |
13 | ISegment TakeLast(int count);
14 |
15 | ISegment SkipLast(int count);
16 | }
17 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5a158ccabe55aa14bb25ad4ad221f714
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegmentReader.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface ISegmentReader
4 | {
5 | T Source { get; }
6 |
7 | int Position { get; }
8 |
9 | T Read(int count);
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegmentReader.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2da71848b088a4f45bb8664bc966621c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegmentSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public interface ISegmentSource : IEquatable>
4 | {
5 | int Count { get; }
6 |
7 | T this[int index] { get; }
8 |
9 | int GetHashCode();
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Interfaces/ISegmentSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eb86e1592c86cd34b8cbb9d1ca0353cd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/ListSegment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b84ac6d9efe9dea44ba7e04c4e5ea81c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2e0b063105730c1479b91b313ae7bfc1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Segment.Enumerator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 050553ef5fdc03a4aad3bccc7855be95
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Segment.List.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c48890cd17d7bb74c8135789a5f380b6
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Segment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6b766069c4b459d4899f70346a32b2a8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 30997127c59bd76439e6d1b7da2b379d
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/Array1Source.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct Segment
4 | {
5 | private readonly struct Array1Source : ISegmentSource, IEquatable, IEquatableReadOnlyStruct
6 | {
7 | private readonly ReadArray1 source;
8 |
9 | public int Count
10 | => this.source.Length;
11 |
12 | public T this[int index]
13 | => this.source[index];
14 |
15 | public Array1Source(in ReadArray1 source)
16 | {
17 | this.source = source;
18 | }
19 |
20 | public override int GetHashCode()
21 | => this.source.GetHashCode();
22 |
23 | public override bool Equals(object obj)
24 | => obj is Array1Source other && Equals(in other);
25 |
26 | public bool Equals(Array1Source other)
27 | => this.source.Equals(in other.source);
28 |
29 | public bool Equals(in Array1Source other)
30 | => this.source.Equals(in other.source);
31 |
32 | public bool Equals(ISegmentSource obj)
33 | => obj is Array1Source other && Equals(in other);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/Array1Source.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 69e688d1f796f59439531489d0c70928
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/CharSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct Segment
4 | {
5 | public readonly struct CharSource : ISegmentSource, IEquatable, IEquatableReadOnlyStruct
6 | {
7 | private readonly string source;
8 |
9 | public int Count
10 | => this.source.Length;
11 |
12 | public char this[int index]
13 | => this.source[index];
14 |
15 | public CharSource(string source)
16 | {
17 | this.source = source;
18 | }
19 |
20 | public override int GetHashCode()
21 | => this.source == null ? base.GetHashCode() : this.source.GetHashCode();
22 |
23 | public override bool Equals(object obj)
24 | => obj is CharSource other && Equals(in other);
25 |
26 | public bool Equals(in CharSource other)
27 | => string.Equals(this.source, other.source);
28 |
29 | public bool Equals(CharSource other)
30 | => string.Equals(this.source, other.source);
31 |
32 | public bool Equals(ISegmentSource obj)
33 | => obj is CharSource other && Equals(in other);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/CharSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 68ed087a6148410439f67a34882a04be
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/IListSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct Segment
4 | {
5 | private readonly struct IListSource : ISegmentSource, IEquatable, IEquatableReadOnlyStruct
6 | {
7 | private readonly IList source;
8 |
9 | public int Count
10 | => this.source.Count;
11 |
12 | public T this[int index]
13 | => this.source[index];
14 |
15 | public IListSource(IList source)
16 | {
17 | this.source = source;
18 | }
19 |
20 | public override int GetHashCode()
21 | => this.source == null ? base.GetHashCode() : this.source.GetHashCode();
22 |
23 | public override bool Equals(object obj)
24 | => obj is IListSource other && Equals(in other);
25 |
26 | public bool Equals(in IListSource other)
27 | => this.source == other.source;
28 |
29 | public bool Equals(IListSource other)
30 | => this.source == other.source;
31 |
32 | public bool Equals(ISegmentSource obj)
33 | => obj is IListSource other && Equals(in other);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/IListSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ee3746a743644764aab660e196ab1a1a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/IReadOnlyListSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct Segment
4 | {
5 | private readonly struct IReadOnlyListSource : ISegmentSource,
6 | IEquatable, IEquatableReadOnlyStruct
7 | {
8 | private readonly IReadOnlyList source;
9 |
10 | public int Count
11 | => this.source.Count;
12 |
13 | public T this[int index]
14 | => this.source[index];
15 |
16 | public IReadOnlyListSource(IReadOnlyList source)
17 | {
18 | this.source = source;
19 | }
20 |
21 | public override int GetHashCode()
22 | => this.source == null ? base.GetHashCode() : this.source.GetHashCode();
23 |
24 | public override bool Equals(object obj)
25 | => obj is IReadOnlyListSource other && Equals(in other);
26 |
27 | public bool Equals(IReadOnlyListSource other)
28 | => this.source == other.source;
29 |
30 | public bool Equals(in IReadOnlyListSource other)
31 | => this.source == other.source;
32 |
33 | public bool Equals(ISegmentSource obj)
34 | => obj is IReadOnlyListSource other && Equals(in other);
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/IReadOnlyListSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e0e23e99daba58d4498b162284d3fb09
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/ListSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct Segment
4 | {
5 | private readonly struct ListSource : ISegmentSource, IEquatable, IEquatableReadOnlyStruct
6 | {
7 | private readonly ReadList source;
8 |
9 | public int Count
10 | => this.source.Count;
11 |
12 | public T this[int index]
13 | => this.source[index];
14 |
15 | public ListSource(in ReadList source)
16 | {
17 | this.source = source;
18 | }
19 |
20 | public override int GetHashCode()
21 | => this.source.GetHashCode();
22 |
23 | public override bool Equals(object obj)
24 | => obj is ListSource other && Equals(in other);
25 |
26 | public bool Equals(ListSource other)
27 | => this.source.Equals(in other.source);
28 |
29 | public bool Equals(in ListSource other)
30 | => this.source.Equals(in other.source);
31 |
32 | public bool Equals(ISegmentSource obj)
33 | => obj is ListSource other && Equals(in other);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment/Sources/ListSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cac47b3cb967d654f813cee7ae0a204e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/Segment1.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 74750f185a0ef7644affb981f5dbd721
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/SegmentReader.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5762252ad87e870488f6b43a238c7103
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/StringSegment.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7cc60dda6ed277f4fac6554e46e33486
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/StringSegment/Sources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ef98fe927d1f23240bb8f146c647921e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/StringSegment/Sources/CharSource.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly partial struct StringSegment
4 | {
5 | private readonly struct CharSource : ISegmentSource, IEquatable, IEquatableReadOnlyStruct
6 | {
7 | private readonly string source;
8 |
9 | public int Count
10 | => this.source.Length;
11 |
12 | public char this[int index]
13 | => this.source[index];
14 |
15 | public CharSource(string source)
16 | {
17 | this.source = source;
18 | }
19 |
20 | public override int GetHashCode()
21 | => this.source.GetHashCode();
22 |
23 | public override bool Equals(object obj)
24 | => obj is CharSource other && Equals(in other);
25 |
26 | public bool Equals(CharSource other)
27 | => string.Equals(this.source, other.source);
28 |
29 | public bool Equals(in CharSource other)
30 | => string.Equals(this.source, other.source);
31 |
32 | public bool Equals(ISegmentSource obj)
33 | => obj is CharSource other && Equals(in other);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/StringSegment/Sources/CharSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b1aba81035a2b944fa552b0deb059c21
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Segments/StringSegment/StringSegment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eba64790b048ea44ea81fa3084074b1f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Values.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f9d45d1fefea27c47b836f4872d44b11
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Values/Values.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Generic
2 | {
3 | public readonly struct Values
4 | {
5 | public static Values Range(params T[] values)
6 | => new Values(values);
7 | }
8 |
9 | public static class ValuesExtensions
10 | {
11 | public static Values Range(this Values _, params T[] values)
12 | => new Values(values);
13 | }
14 | }
--------------------------------------------------------------------------------
/System.Collections.Generic/Values/Values.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 83c71f505fa4abf44920563507af45b9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Generic/Values/Values{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 71a56ba44c413f04cafd2f8faff31944
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bdb214bd8eff3eb4799b7647942fd59f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/ConcurrentPool.DefaultProvider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d8777ed36f03da9419e0aa3c847466d9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/ConcurrentPool.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Pooling.Concurrent
2 | {
3 | public static partial class ConcurrentPool
4 | {
5 | public static IConcurrentPoolProvider Provider
6 | => _provider ?? _defaultProvider;
7 |
8 | private static readonly DefaultProvider _defaultProvider;
9 | private static IConcurrentPoolProvider _provider;
10 |
11 | static ConcurrentPool()
12 | {
13 | _provider = _defaultProvider = new DefaultProvider();
14 | }
15 |
16 | public static void Set(IConcurrentPoolProvider provider)
17 | => _provider = provider ?? _defaultProvider;
18 |
19 | public static void Set() where T : IConcurrentPoolProvider, new()
20 | => _provider = new T();
21 |
22 | public static T Get() where T : IConcurrentPoolProviderDecorator, new()
23 | {
24 | var decorator = new T();
25 | decorator.Set(Provider);
26 |
27 | return decorator;
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/ConcurrentPool.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eff35bd9c513c87429933947fa2573e2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/ConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c00710794fbf9494f84eae051eb7fc7a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/DefaultConcurrentProviderDecorator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a0ef58e38a219df47b67cade540f0ad8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/IConcurrentPoolProvider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2070ebe96346f60458691b5689894755
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/IConcurrentPoolProviderDecorator.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Pooling.Concurrent
2 | {
3 | public interface IConcurrentPoolProviderDecorator : IConcurrentPoolProvider
4 | {
5 | IConcurrentPoolProvider Provider { get; }
6 |
7 | void Set(IConcurrentPoolProvider provider);
8 |
9 | T Get() where T : IConcurrentPoolProviderDecorator, new();
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/IConcurrentPoolProviderDecorator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a60713dc55b75aa46b266b9183995d38
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 41da0e382f736f64a83665e8a7af68ce
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/Array1ConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 36a1cf8f41f1a6a4dbdb2ce3aced68e2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ArrayDictionaryConcurrentPool{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7f0f199ed59fa9145b7192021bc6b73f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ArrayListConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 650dfcd8bd66e834faecce1c3306dcba
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentBagPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Concurrent;
2 | using System.Collections.Generic;
3 |
4 | namespace System.Collections.Pooling.Concurrent
5 | {
6 | public static class ConcurrentBagPool
7 | {
8 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
9 |
10 | public static ConcurrentBag Get()
11 | => _pool.Get();
12 |
13 | public static void Return(ConcurrentBag item)
14 | {
15 | if (item == null)
16 | return;
17 |
18 | while (item.TryTake(out _))
19 | {
20 | }
21 |
22 | _pool.Return(item);
23 | }
24 |
25 | public static void Return(params ConcurrentBag[] items)
26 | {
27 | if (items == null)
28 | return;
29 |
30 | foreach (var item in items)
31 | {
32 | Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | Return(item);
44 | }
45 | }
46 |
47 | public static void Clear()
48 | => _pool.Clear();
49 | }
50 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentBagPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e9e88e829865fe7438845250bcf60277
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentDictionaryPool{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 935a6047670cbf547aa02704dab05b59
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentQueuePool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Concurrent;
2 | using System.Collections.Generic;
3 |
4 | namespace System.Collections.Pooling.Concurrent
5 | {
6 | public static class ConcurrentQueuePool
7 | {
8 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
9 |
10 | public static ConcurrentQueue Get()
11 | => _pool.Get();
12 |
13 | public static void Return(ConcurrentQueue item)
14 | {
15 | if (item == null)
16 | return;
17 |
18 | while (item.TryDequeue(out _))
19 | {
20 | }
21 |
22 | _pool.Return(item);
23 | }
24 |
25 | public static void Return(params ConcurrentQueue[] items)
26 | {
27 | if (items == null)
28 | return;
29 |
30 | foreach (var item in items)
31 | {
32 | Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | Return(item);
44 | }
45 | }
46 |
47 | public static void Clear()
48 | => _pool.Clear();
49 | }
50 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentQueuePool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 216cd9a949d06914097dafcb394038fe
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ConcurrentStackPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1a9b1ca1389d7fb4a968def7bf7f2aad
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/DictionaryConcurrentPool{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2c28ecc97dd3a674c9b2d41413108756
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/HashSetConcurrentPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling.Concurrent
4 | {
5 | public static class HashSetConcurrentPool
6 | {
7 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
8 |
9 | public static HashSet Get()
10 | => _pool.Get();
11 |
12 | public static void Return(HashSet item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params HashSet[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/HashSetConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: af30056faa1186a4ba3e362118aed40c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ListConcurrentPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling.Concurrent
4 | {
5 | public static class ListConcurrentPool
6 | {
7 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
8 |
9 | public static List Get()
10 | => _pool.Get();
11 |
12 | public static void Return(List item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params List[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/ListConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e89b0bc8acb3ad24b84c31717a3b9f04
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/QueueConcurrentPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling.Concurrent
4 | {
5 | public static class QueueConcurrentPool
6 | {
7 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
8 |
9 | public static Queue Get()
10 | => _pool.Get();
11 |
12 | public static void Return(Queue item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params Queue[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/QueueConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b81bdfef77d5f64458a15ebd46fdc7d0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/StackConcurrentPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling.Concurrent
4 | {
5 | public static class StackConcurrentPool
6 | {
7 | private static readonly ConcurrentPool> _pool = new ConcurrentPool>();
8 |
9 | public static Stack Get()
10 | => _pool.Get();
11 |
12 | public static void Return(Stack item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params Stack[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling.Concurrent/Pools/StackConcurrentPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 685478956052e214ab28005b981cd179
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3fe0812b87a225c4bb9f777d32303006
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/DefaultProviderDecorator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 598d1db762357b742bf2b1b16033979f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/IPoolProvider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6d728e029dd303944bced17dcf49b2bf
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/IPoolProviderDecorator.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Pooling
2 | {
3 | public interface IPoolProviderDecorator : IPoolProvider
4 | {
5 | IPoolProvider Provider { get; }
6 |
7 | void Set(IPoolProvider provider);
8 |
9 | T Get() where T : IPoolProviderDecorator, new();
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/IPoolProviderDecorator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1dff0d219cbc9794b8b7754a6eb35414
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/IPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public interface IGetOnlyPool
6 | {
7 | T Get();
8 | }
9 |
10 | public interface IReturnOnlyPool
11 | {
12 | void Return(T item);
13 |
14 | void Return(params T[] items);
15 |
16 | void Return(IEnumerable items);
17 | }
18 |
19 | public interface IPool : IReturnOnlyPool, IGetOnlyPool
20 | {
21 | }
22 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/IPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e3e0d634550a1c94ab81efc7937e5696
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pool.DefaultProvider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 23be9674701ad9942b032af8a4f364eb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pool.cs:
--------------------------------------------------------------------------------
1 | namespace System.Collections.Pooling
2 | {
3 | public static partial class Pool
4 | {
5 | public static IPoolProvider Provider
6 | => _provider ?? _defaultProvider;
7 |
8 | private static readonly DefaultProvider _defaultProvider;
9 | private static IPoolProvider _provider;
10 |
11 | static Pool()
12 | {
13 | _provider = _defaultProvider = new DefaultProvider();
14 | }
15 |
16 | public static void Set(IPoolProvider provider)
17 | => _provider = provider ?? _defaultProvider;
18 |
19 | public static void Set() where T : IPoolProvider, new()
20 | => _provider = new T();
21 |
22 | public static T Get() where T : IPoolProviderDecorator, new()
23 | {
24 | var decorator = new T();
25 | decorator.Set(Provider);
26 |
27 | return decorator;
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pool.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b530775283b9d4b4d84a2820b34b2c1e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e64130ea6e45b6243a798d281d2c2910
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/Array1Pool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 975ec3ed46ce68c459a0c04e68b133c5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/ArrayDictionaryPool{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b2a266fa30d328499f8faf59d2a4534
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/ArrayListPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e59754e2d89eaaa4ea52c62fac0c3176
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/DictionaryPool{TKey,TValue}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 36516e0542649694fbf56a9ebdd3084a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/HashSetPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public static class HashSetPool
6 | {
7 | private static readonly Pool> _pool = new Pool>();
8 |
9 | public static HashSet Get()
10 | => _pool.Get();
11 |
12 | public static void Return(HashSet item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params HashSet[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/HashSetPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 08d4fa462656a8e489748eca3683bbf5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/ListPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public static class ListPool
6 | {
7 | private static readonly Pool> _pool = new Pool>();
8 |
9 | public static List Get()
10 | => _pool.Get();
11 |
12 | public static void Return(List item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params List[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/ListPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b110493f09724e045b08abc80b811bc8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/QueuePool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public static class QueuePool
6 | {
7 | private static readonly Pool> _pool = new Pool>();
8 |
9 | public static Queue Get()
10 | => _pool.Get();
11 |
12 | public static void Return(Queue item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params Queue[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/QueuePool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eba2245a351673a428599d3e8cc5b78a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/StackPool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public static class StackPool
6 | {
7 | private static readonly Pool> _pool = new Pool>();
8 |
9 | public static Stack Get()
10 | => _pool.Get();
11 |
12 | public static void Return(Stack item)
13 | {
14 | if (item == null)
15 | return;
16 |
17 | item.Clear();
18 | _pool.Return(item);
19 | }
20 |
21 | public static void Return(params Stack[] items)
22 | {
23 | if (items == null)
24 | return;
25 |
26 | foreach (var item in items)
27 | {
28 | if (item == null)
29 | continue;
30 |
31 | item.Clear();
32 | _pool.Return(item);
33 | }
34 | }
35 |
36 | public static void Return(IEnumerable> items)
37 | {
38 | if (items == null)
39 | return;
40 |
41 | foreach (var item in items)
42 | {
43 | if (item == null)
44 | continue;
45 |
46 | item.Clear();
47 | _pool.Return(item);
48 | }
49 | }
50 |
51 | public static void Clear()
52 | => _pool.Clear();
53 | }
54 | }
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pools/StackPool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6c8dc112bf81d9f439af4a92ec7f202c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pool{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Collections.Pooling
4 | {
5 | public class Pool : IPool where T : class, new()
6 | {
7 | private readonly Queue pool = new Queue();
8 |
9 | public void Prepool(int count)
10 | {
11 | for (var i = 0; i < count; i++)
12 | {
13 | this.pool.Enqueue(new T());
14 | }
15 | }
16 |
17 | public T Get()
18 | => this.pool.Count > 0 ? this.pool.Dequeue() : new T();
19 |
20 | public void Return(T item)
21 | {
22 | if (item == null || this.pool.Contains(item))
23 | return;
24 |
25 | this.pool.Enqueue(item);
26 | }
27 |
28 | public void Return(params T[] items)
29 | {
30 | if (items == null)
31 | return;
32 |
33 | foreach (var item in items)
34 | {
35 | Return(item);
36 | }
37 | }
38 |
39 | public void Return(IEnumerable items)
40 | {
41 | if (items == null)
42 | return;
43 |
44 | foreach (var item in items)
45 | {
46 | Return(item);
47 | }
48 | }
49 |
50 | public void Clear()
51 | => this.pool.Clear();
52 |
53 | public static Pool Default { get; } = new Pool();
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/System.Collections.Pooling/Pool{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6a7c05aec8255374a89fbabd83869656
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5651d574e5f12b54eb8a6dde536bb31c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Delegates/Action.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2cf5f037e1a9e5a4e9a8286491f01353
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Delegates/Action/IAction.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 17e2ba6ca0c2fcc48bb41a6031d494d2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Action/IActionIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b23239b3cf0f9f140b98633e2237e869
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Action/IActionRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 312250403abcff94181c885c170f79e8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Func.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6ac995327843bba4a984275216448bd3
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Delegates/Func/IFunc.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fca880f8e389dbc43abf138b0509284a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Func/IFuncIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4504cd8b2e4a170469d712f384c3eb08
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Func/IFuncRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1d821470df82b4640948a3a786218277
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Predicate.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 98753f9e9b10470408874a9ad0f29c90
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Delegates/Predicate/IPredicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b88b05d4060e2be40bbddb9270dc00ca
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Predicate/IPredicateIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7f7f4182774d25d4abcb7b80674bf099
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Delegates/Predicate/IPredicateRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a4ab3fe637823a4fbcbb2eb5f64b3b6
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Fluent.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f479a7f8335014a4db7e84ba70cccdba
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Fluent/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e3c975ddbe867d54489a47e37528bbf1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Fluent/Extensions/ObjectExtensions.FluentDelegates.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ffe5a9f557d996842a7eff37e613bbea
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 96d7957dd25752f49b41aa69a73f7cca
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased/ArrayGrid{T}.GridIndexedValues.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58834326cbe7c714b8cb06697a8401f2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased/ArrayGrid{T}.GridIndexedValuesIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3be36d5f0c2a50649aef2dedf967f0f0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased/ArrayGrid{T}.GridValues.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 458ff2651d4385e4abc3edcc5c1840d1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased/ArrayGrid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ca4147e78b3de154f8572ca16b7abf94
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.ArrayBased/ReadArrayGrid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 92140f32a9c2c394681b046121cb38b0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8f042db9812c369478611c4c7bc1cdf2
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Grid/ClampedGridPartitioner.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dc9fd321ef948534bbc6341f2d70fec1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/ClampedGridSize.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 90215953d95db544190c4be3a2eeabb5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridDirection.cs:
--------------------------------------------------------------------------------
1 | namespace System.Grid
2 | {
3 | public enum GridDirection
4 | {
5 | Column = 0,
6 | Row = 1,
7 | }
8 | }
--------------------------------------------------------------------------------
/System.Grid/GridDirection.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 91c0ce058fd36534785b9de0d5ad9799
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridIndex.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8a0121ef83732b04cb5d7ae17ed4602a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridIndexRange.Enumerator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f186f0bc8b008d54bb913a48e5926795
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridIndexRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5f40debf86b6483448e0e8180e13e6f5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridPartitioner.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e7cbc071f371fcc4083e3592fd13beeb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridRange.Enumerator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7e99b9b4704c98e4ebcd8d6787f671a1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6d5e0ce04db18ba4fa38f117f876e36b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridSize.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 13d18a97692e0ed42a7266b25d09eb02
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/GridValue{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dabbc9bd054b3a1418e5445e15d26e14
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/Grid{T}.GridIndexedValues.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3882fe7de5055bf4eb5ceedde761b916
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/Grid{T}.GridValues.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 55f1fd1b4fbac234cbea694f471127f2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/Grid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 467f6dbc33b9f75438f4d335683ba964
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IGridIndexedValueEnumerator{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Grid
4 | {
5 | public interface IGridIndexedValueEnumerator : IEnumerator>
6 | {
7 | bool ContainsCurrent();
8 | }
9 | }
--------------------------------------------------------------------------------
/System.Grid/IGridIndexedValueEnumerator{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1d2a2c38e7d6ac84a8301e29d84842a5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IGridIndexedValues{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Grid
4 | {
5 | public interface IGridIndexedValues : IEnumerable>
6 | {
7 | new IGridIndexedValueEnumerator GetEnumerator();
8 | }
9 | }
--------------------------------------------------------------------------------
/System.Grid/IGridIndexedValues{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8ba8cb40ed397a34b97455d9207c1d6a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IGridValueEnumerator{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Grid
4 | {
5 | public interface IGridValueEnumerator : IEnumerator
6 | {
7 | bool ContainsCurrent();
8 | }
9 | }
--------------------------------------------------------------------------------
/System.Grid/IGridValueEnumerator{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3374fadf5f04fee43977e7fb7cd4217f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IGridValues{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Grid
4 | {
5 | public interface IGridValues : IEnumerable
6 | {
7 | new IGridValueEnumerator GetEnumerator();
8 | }
9 | }
--------------------------------------------------------------------------------
/System.Grid/IGridValues{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b1d52430b30bf0b428752a20edfaa7fc
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IGrid{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System.Grid
4 | {
5 | public interface IGrid : IReadOnlyGrid
6 | {
7 | void Initialize(in GridSize size, IEnumerable> data);
8 |
9 | void Initialize(in GridSize size, IEnumerable> data);
10 |
11 | void Initialize(in GridSize size, IEnumerator> data);
12 |
13 | void Initialize(in GridSize size, IEnumerator> data);
14 |
15 | void Initialize(IGrid source);
16 |
17 | void Set(in GridIndex index, T value);
18 |
19 | void Set(in GridIndex index, in T value);
20 |
21 | bool TrySet(in GridIndex index, T value);
22 |
23 | bool TrySet(in GridIndex index, in T value);
24 |
25 | void Clear();
26 | }
27 | }
--------------------------------------------------------------------------------
/System.Grid/IGrid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0c7b5488b3d92c14a82b1aaf0d76e84c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/IReadOnlyGrid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 94e42b401a1fc124c9ae5042c673f0a3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/ReadGrid{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 722747f78af423149976822188fc798c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/SGridIndex.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e60ed31a790754844a739355d8462e0d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/SGridIndexRange.Enumerator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fd42a4c77c322e94e83183a395bd90a5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/SGridIndexRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f36812955855d084b86ece3f952cbb43
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/SGridRange.Enumerator.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eb20631823e2ecb4281550897214fc21
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Grid/SGridRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 36757532e352f5d4bb43ca57e05c9207
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Helpers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0f4bce107e527954bb001192678d2665
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Helpers/HashHelper.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2f485786ff795b24c96f9427c880f74b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Helpers/TypeCache.cs:
--------------------------------------------------------------------------------
1 | // Source: https://github.com/sebas77/Svelto.Common/blob/master/DataStructures/TypeCache.cs
2 |
3 | namespace System.Helpers
4 | {
5 | public class TypeCache
6 | {
7 | public static readonly Type Type = typeof(T);
8 |
9 | public static readonly bool IsUnmanaged = Type.IsUnmanaged();
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Helpers/TypeCache.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5771ff3356543aa4783c1c53c8e9a7e4
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Helpers/UnmanagedTypeExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 46a69396a3b7a7f439c73548dcb9ead4
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.IO.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eb6dbce48ea1dd9459ecbb975f41bff6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.IO/FileSystem.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8fcd5d15847b72d4ea1ae992b1509606
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Runtime.Serialization.Formatters.Text.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: df47c9083334bb74ca0e23acd811c7fb
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Runtime.Serialization.Formatters.Text/ITextFormatter.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 |
3 | namespace System.Runtime.Serialization.Formatters.Text
4 | {
5 | public interface ITextFormatter
6 | {
7 | void Serialize(TextWriter writer, T @object);
8 |
9 | T Deserialize(TextReader reader);
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Runtime.Serialization.Formatters.Text/ITextFormatter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 803f4215731f6d549894a0e6df40eaa9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Runtime.Serialization.Formatters.Text/ITextFormatter{T}.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 |
3 | namespace System.Runtime.Serialization.Formatters.Text
4 | {
5 | public interface ITextFormatter
6 | {
7 | void Serialize(TextWriter writer, T @object);
8 |
9 | T Deserialize(TextReader reader);
10 | }
11 | }
--------------------------------------------------------------------------------
/System.Runtime.Serialization.Formatters.Text/ITextFormatter{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 92276a9f9c1052b4b815fa6f7fdf4c5a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Runtime.Serialization.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 470d23b1019c7964885a9054ec30194c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Runtime.Serialization/SerializationInfoExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a561e15694b404b439a8de13a9491a92
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5e531f33e9548234b9524c3d829a35fa
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.Table/IEntry.cs:
--------------------------------------------------------------------------------
1 | namespace System.Table
2 | {
3 | public interface IEntry
4 | {
5 | int Id { get; }
6 |
7 | void SetId(int value);
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/System.Table/IEntry.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 43f46e3a81caedd48a8550ed7ba490bc
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table/IGetId.cs:
--------------------------------------------------------------------------------
1 | namespace System.Table
2 | {
3 | public interface IGetId where T : IEntry
4 | {
5 | int GetId(T entry);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/System.Table/IGetId.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0badf971898d00d44a63fe9cd17f8fbb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table/ITable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 02458e7aaa6a2e94a9f5fe7c810a4b99
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table/ReadEntry.cs:
--------------------------------------------------------------------------------
1 | namespace System.Table
2 | {
3 | public readonly struct ReadEntry where T : IEntry
4 | {
5 | public readonly int Id;
6 | public readonly T Data;
7 |
8 | public ReadEntry(int id, T data)
9 | {
10 | this.Id = id;
11 | this.Data = data;
12 | }
13 |
14 | public void Deconstruct(out int id, out T data)
15 | {
16 | id = this.Id;
17 | data = this.Data;
18 | }
19 |
20 | public static implicit operator T(in ReadEntry entry)
21 | => entry.Data;
22 |
23 | public static implicit operator ReadEntry(in (int, T) entry)
24 | => new ReadEntry(entry.Item1, entry.Item2);
25 | }
26 | }
--------------------------------------------------------------------------------
/System.Table/ReadEntry.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 30060f935f66ac14dac760df9330c7d5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table/ReadTable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c89d51d2a175a03459be947b36eef247
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.Table/Table.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 36e1a91ac10176746a6f6b318e3f6f30
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4f42a62ae5f716a469e4b5cfeac89556
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5382905d8c16dab47a771f1e8daa14b0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueAction.Action.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: edcd55ab94c334d4a8859097af4c5c26
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueAction.ActionIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8fff9d8570007054c9d2ffb2438faa37
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueAction.ActionRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 856c8c12c5aab794382c18e5f239afd1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueAction.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValueAction : IAction
6 | where TAction : struct, IAction
7 | {
8 | private readonly TAction action;
9 | private readonly TClosure closure;
10 |
11 | public ValueAction(TClosure closure)
12 | {
13 | this.action = new TAction();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueAction(TAction action, TClosure closure)
18 | {
19 | this.action = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueAction(in TAction action, TClosure closure)
24 | {
25 | this.action = action;
26 | this.closure = closure;
27 | }
28 |
29 | public void Invoke()
30 | => this.action.Invoke(this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueAction.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 35dabc43dc7ea044dbee50ab89cd3dac
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueActionIn.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValueActionIn : IAction
6 | where TAction : struct, IActionIn
7 | {
8 | private readonly TAction action;
9 | private readonly TClosure closure;
10 |
11 | public ValueActionIn(in TClosure closure)
12 | {
13 | this.action = new TAction();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueActionIn(TAction action, in TClosure closure)
18 | {
19 | this.action = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueActionIn(in TAction action, in TClosure closure)
24 | {
25 | this.action = action;
26 | this.closure = closure;
27 | }
28 |
29 | public void Invoke()
30 | => this.action.Invoke(in this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueActionIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 21d7363da2ce7014a8ffbba87483cfc2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueActionRef.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public struct ValueActionRef : IAction
6 | where TAction : struct, IActionRef
7 | {
8 | private readonly TAction action;
9 | private TClosure closure;
10 |
11 | public ValueActionRef(ref TClosure closure)
12 | {
13 | this.action = new TAction();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueActionRef(TAction action, ref TClosure closure)
18 | {
19 | this.action = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueActionRef(in TAction action, ref TClosure closure)
24 | {
25 | this.action = action;
26 | this.closure = closure;
27 | }
28 |
29 | public void Invoke()
30 | => this.action.Invoke(ref this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Action/ValueActionRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b505c2f867f36be4bbd70db9bfb5cd44
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 33c6d8249b21d494fba2ee1c26578a14
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.Action.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b0de928705f94d3458b53ca39e9e2f4d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.ActionArgIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 86a81c6471183ff46a5e89bc8f6f3070
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.Func.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7f0554b75c71c4f4688b06476a3d14a8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.FuncArgIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ee0eea985fca8949bb77615e546e41e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.Predicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: baec84147ceaacd4bacd5e3227adba5e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Delegate/ValueDelegate.PredicateArgIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 94e7e034c4259154083fe9b000a6b281
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f7c6eb7eac0796142b5191a889e03cc1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFunc.Func.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d01bd7d8a8d7c29448975d47b37bf1a0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFunc.FuncIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b309cc9219203b34dbee40447b2c0828
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFunc.FuncRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b9d36877f6f1df747b003f8fa1572477
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFunc.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValueFunc : IFunc
6 | where TFunc : struct, IFunc
7 | {
8 | private readonly TFunc func;
9 | private readonly TClosure closure;
10 |
11 | public ValueFunc(TClosure closure)
12 | {
13 | this.func = new TFunc();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueFunc(TFunc action, TClosure closure)
18 | {
19 | this.func = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueFunc(in TFunc action, TClosure closure)
24 | {
25 | this.func = action;
26 | this.closure = closure;
27 | }
28 |
29 | public ValueFunc(TFunc action, in TClosure closure)
30 | {
31 | this.func = action;
32 | this.closure = closure;
33 | }
34 |
35 | public TResult Invoke()
36 | => this.func.Invoke(this.closure);
37 | }
38 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFunc.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b2d4b0f025e8d5448b40bfc7e2f68c8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFuncIn.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValueFuncIn : IFunc
6 | where TFunc : struct, IFuncIn
7 | {
8 | private readonly TFunc func;
9 | private readonly TClosure closure;
10 |
11 | public ValueFuncIn(in TClosure closure)
12 | {
13 | this.func = new TFunc();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueFuncIn(TFunc action, in TClosure closure)
18 | {
19 | this.func = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueFuncIn(in TFunc action, in TClosure closure)
24 | {
25 | this.func = action;
26 | this.closure = closure;
27 | }
28 |
29 | public TResult Invoke()
30 | => this.func.Invoke(in this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFuncIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 750e11a9d60de3243952832674a61a00
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFuncRef.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public struct ValueFuncRef : IFunc
6 | where TFunc : struct, IFuncRef
7 | {
8 | private readonly TFunc func;
9 | private TClosure closure;
10 |
11 | public ValueFuncRef(ref TClosure closure)
12 | {
13 | this.func = new TFunc();
14 | this.closure = closure;
15 | }
16 |
17 | public ValueFuncRef(TFunc action, ref TClosure closure)
18 | {
19 | this.func = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValueFuncRef(in TFunc action, ref TClosure closure)
24 | {
25 | this.func = action;
26 | this.closure = closure;
27 | }
28 |
29 | public TResult Invoke()
30 | => this.func.Invoke(ref this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Func/ValueFuncRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b77a17f6f7015db46a11652a563e31d6
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4404c67d3a23aaf4e9dc4a06a0240b38
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicate.Predicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6730e39a40994de4cbc272f4f99006e3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicate.PredicateIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 00612a3df5153524ebd0746d66a12042
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicate.PredicateRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 075ef8f851692e345be94c58a055fd53
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicate.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValuePredicate : IPredicate
6 | where TPredicate : struct, IPredicate
7 | {
8 | private readonly TPredicate predicate;
9 | private readonly TClosure closure;
10 |
11 | public ValuePredicate(TClosure closure)
12 | {
13 | this.predicate = new TPredicate();
14 | this.closure = closure;
15 | }
16 |
17 | public ValuePredicate(TPredicate action, TClosure closure)
18 | {
19 | this.predicate = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValuePredicate(TPredicate action, in TClosure closure)
24 | {
25 | this.predicate = action;
26 | this.closure = closure;
27 | }
28 |
29 | public ValuePredicate(in TPredicate action, TClosure closure)
30 | {
31 | this.predicate = action;
32 | this.closure = closure;
33 | }
34 |
35 | public bool Invoke()
36 | => this.predicate.Invoke(this.closure);
37 | }
38 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 30fdaff8a49d6f941a1aa2cac64ee97d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicateIn.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public readonly struct ValuePredicateIn : IPredicate
6 | where TPredicate : struct, IPredicateIn
7 | {
8 | private readonly TPredicate predicate;
9 | private readonly TClosure closure;
10 |
11 | public ValuePredicateIn(in TClosure closure)
12 | {
13 | this.predicate = new TPredicate();
14 | this.closure = closure;
15 | }
16 |
17 | public ValuePredicateIn(TPredicate action, in TClosure closure)
18 | {
19 | this.predicate = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValuePredicateIn(in TPredicate action, in TClosure closure)
24 | {
25 | this.predicate = action;
26 | this.closure = closure;
27 | }
28 |
29 | public bool Invoke()
30 | => this.predicate.Invoke(in this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicateIn.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d865ac6af1739404cb78a69c658e73d5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicateRef.cs:
--------------------------------------------------------------------------------
1 | using System.Delegates;
2 |
3 | namespace System.ValueDelegates
4 | {
5 | public struct ValuePredicateRef : IPredicate
6 | where TPredicate : struct, IPredicateRef
7 | {
8 | private readonly TPredicate predicate;
9 | private TClosure closure;
10 |
11 | public ValuePredicateRef(ref TClosure closure)
12 | {
13 | this.predicate = new TPredicate();
14 | this.closure = closure;
15 | }
16 |
17 | public ValuePredicateRef(TPredicate action, ref TClosure closure)
18 | {
19 | this.predicate = action;
20 | this.closure = closure;
21 | }
22 |
23 | public ValuePredicateRef(in TPredicate action, ref TClosure closure)
24 | {
25 | this.predicate = action;
26 | this.closure = closure;
27 | }
28 |
29 | public bool Invoke()
30 | => this.predicate.Invoke(ref this.closure);
31 | }
32 | }
--------------------------------------------------------------------------------
/System.ValueDelegates/Predicate/ValuePredicateRef.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b317a57e26c0764984f150d288c26c5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bdb13daf8ab77e6429ce01d2fdf17a46
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Converter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d25399f72d2c23f418ccff051cf7c783
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b447957c45bc6b46a6764c07d73ba1e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Delegates/ReadStructAction.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate void ReadStructAction(in T value)
4 | where T : struct;
5 |
6 | public delegate void ReadStructAction(in T1 value1, in T2 value2)
7 | where T1 : struct
8 | where T2 : struct;
9 |
10 | public delegate void ReadStructAction(in T1 value1, in T2 value2, in T3 value3)
11 | where T1 : struct
12 | where T2 : struct
13 | where T3 : struct;
14 |
15 | public delegate void ReadStructAction(in T1 value1, in T2 value2, in T3 value3, in T4 value4)
16 | where T1 : struct
17 | where T2 : struct
18 | where T3 : struct
19 | where T4 : struct;
20 | }
--------------------------------------------------------------------------------
/System/Delegates/ReadStructAction.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0c2517c131cd34245b28b76437ea846e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates/ReadStructFunc.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate TResult ReadStructFunc(in T value)
4 | where T : struct;
5 |
6 | public delegate TResult ReadStructFunc(in T1 value1, in T2 value2)
7 | where T1 : struct
8 | where T2 : struct;
9 |
10 | public delegate TResult ReadStructFunc(in T1 value1, in T2 value2, in T3 value3)
11 | where T1 : struct
12 | where T2 : struct
13 | where T3 : struct;
14 |
15 | public delegate TResult ReadStructFunc(in T1 value1, in T2 value2, in T3 value3, in T4 value4)
16 | where T1 : struct
17 | where T2 : struct
18 | where T3 : struct
19 | where T4 : struct;
20 | }
--------------------------------------------------------------------------------
/System/Delegates/ReadStructFunc.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 50729307db7fe664581a57845c8903e2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates/ReadStructPredicate.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate bool ReadStructPredicate(in T value)
4 | where T : struct;
5 |
6 | public delegate bool ReadStructPredicate(in T1 value1, in T2 value2)
7 | where T1 : struct
8 | where T2 : struct;
9 |
10 | public delegate bool ReadStructPredicate(in T1 value1, in T2 value2, in T3 value3)
11 | where T1 : struct
12 | where T2 : struct
13 | where T3 : struct;
14 |
15 | public delegate bool ReadStructPredicate(in T1 value1, in T2 value2, in T3 value3, in T4 value4)
16 | where T1 : struct
17 | where T2 : struct
18 | where T3 : struct
19 | where T4 : struct;
20 | }
--------------------------------------------------------------------------------
/System/Delegates/ReadStructPredicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0c8e8c9f842ac164eb9552c4a924a2c3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates/RefAction.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate void RefAction(ref T value);
4 |
5 | public delegate void RefAction(ref T1 value1, ref T2 value2);
6 |
7 | public delegate void RefAction(ref T1 value1, ref T2 value2, ref T3 value3);
8 |
9 | public delegate void RefAction(ref T1 value1, ref T2 value2, ref T3 value3, ref T4 value4);
10 | }
--------------------------------------------------------------------------------
/System/Delegates/RefAction.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b188e5fba3ceab45ba005ef1c6214ae
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates/RefFunc.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate TResult RefFunc(ref T value);
4 |
5 | public delegate TResult RefFunc(ref T1 value1, ref T2 value2);
6 |
7 | public delegate TResult RefFunc(ref T1 value1, ref T2 value2, ref T3 value3);
8 |
9 | public delegate TResult RefFunc(ref T1 value1, ref T2 value2, ref T3 value3, ref T4 value4);
10 | }
--------------------------------------------------------------------------------
/System/Delegates/RefFunc.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b6dfa197154858b4196819d31107ff4e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Delegates/RefPredicate.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public delegate bool RefPredicate(ref T value);
4 |
5 | public delegate bool RefPredicate(ref T1 value1, ref T2 value2);
6 |
7 | public delegate bool RefPredicate(ref T1 value1, ref T2 value2, ref T3 value3);
8 |
9 | public delegate bool RefPredicate(ref T1 value1, ref T2 value2, ref T3 value3, ref T4 value4);
10 | }
--------------------------------------------------------------------------------
/System/Delegates/RefPredicate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d633ad8ee7259214696678b3495425a4
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Enum.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2f85338edc6dac649bd32286dd51c89f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Enum/EnumIndex.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e6fa2ad90c97b8d478f17e2e7e6a6166
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Enum/EnumLength.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f96a4b1b1448c7446bf14c184be138b6
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Enum/Enum{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7c5711dc10c71a54ea3f221023b47174
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Indices.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 012d82d3add18f744be9ce3cd4a0060f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Indices/Index2.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e393a9fe4777bfa44a8ff4e0d76fc919
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Indices/Index3.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5ad1b17d9af962944960dd8e74c5ab5d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Indices/Index4.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d518f1f196b74334fa64c103f10dee26
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Indices/Index5.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ff3cd26656933c548a22c85d604dd8e2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Interfaces.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ac10ddd7d0629c542b29d312a6b0b895
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Interfaces/IComparableIn{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public interface IComparableIn : IComparable
4 | {
5 | int CompareTo(in T other);
6 | }
7 | }
--------------------------------------------------------------------------------
/System/Interfaces/IComparableIn{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c550f9cfb1b0017488bddd8241d70ad3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Interfaces/IComparableReadOnlyStruct{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public interface IComparableReadOnlyStruct : IComparableIn where T : struct
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/System/Interfaces/IComparableReadOnlyStruct{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a1b77377d1ca94646b9b1c3ab89cc574
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Interfaces/IEquatableIn{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public interface IEquatableIn : IEquatable
4 | {
5 | bool Equals(in T other);
6 | }
7 | }
--------------------------------------------------------------------------------
/System/Interfaces/IEquatableIn{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5415a26058f4e7d44925e4b5e5d05103
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Interfaces/IEquatableReadOnlyStruct{T}.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public interface IEquatableReadOnlyStruct : IEquatableIn where T : struct
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/System/Interfaces/IEquatableReadOnlyStruct{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 10bb3575ba5fc59478f5bba403af686f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Lengths.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: aad81ea61ffa39241ac95f34a2905344
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Lengths/Length2.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5dda36b2405cd594e8540c6e4a9f1c37
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Lengths/Length3.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0ef330eabd281ce4e9bd502e2576e0d8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Lengths/Length4.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b7c205090dde7ff40a9628ea3d14bbf7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Lengths/Length5.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e47020c8aeed03e45956dc2d695da384
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/PseudoProbability.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 909abb493923ac44c8d048365799bf4e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/PseudoProbability/PseudoProbability.IMath.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f3f9ad1ad1d50fa4aa4f63c282198cae
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/PseudoProbability/PseudoProbability.IRandom.cs:
--------------------------------------------------------------------------------
1 | namespace System
2 | {
3 | public partial class PseudoProbability
4 | {
5 | public interface IRandom
6 | {
7 | ///
8 | /// Returns a random number between 0.0 [inclusive] and 1.0 [inclusive]
9 | ///
10 | float Value { get; }
11 |
12 | ///
13 | /// Return a random float number between min [inclusive] and max [inclusive]
14 | ///
15 | ///
16 | ///
17 | ///
18 | float Range(float min, float max);
19 | }
20 |
21 | private readonly struct PRandom : IRandom
22 | {
23 | public float Value => (float)_rand.NextDouble();
24 |
25 | public float Range(float min, float max)
26 | => (float)(_rand.NextDouble() * (max - min) + min);
27 |
28 | private static readonly Random _rand = new Random();
29 |
30 | public static PRandom Default { get; } = new PRandom();
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/System/PseudoProbability/PseudoProbability.IRandom.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 41c7a4ca95162ee48adad87f39727933
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/PseudoProbability/PseudoProbability.PRD.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e917cf59e345894499e5e9fc7721199d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/PseudoProbability/PseudoProbability.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c4577ba4c39b67b4bab966ad88288d3c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Randomizer.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ba1b196a61bab5a42a5dbf752d7c8ce6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Randomizer/EnumRandomizer{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b9f99b1a38f9ab4792b4bdaf6592092
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ffc7ae2162ff87d4d8ad4cb93fd2e003
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/System/Range/ByteRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 009c19d2b0f55434cb12e3c2ed4f71ac
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/CharRange.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 69415df23b2812c4cb17bf3d990a3ca3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumByteRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 77b416d17fcdbb74da968edc13d75b19
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumIntRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 457dc5ebb102ea74894c762b64942310
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumLongRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0c69cfa9b4b772f448ee3d0fc7bdaff9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6e2832dfc7761e04183b362b989a1a62
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumSByteRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d6f4a09ec04649648a71a1e58017bd9e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumShortRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e29172680b568d94ea089c2d723d7e80
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumUIntRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 57b71d6c596f22a419267a4af728dcdd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumULongRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f91648b48b856d549ae65423e9fa2bc2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/EnumUShortRange{T}.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 175b9b7351183ec47a8ca26f206beb01
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/System/Range/IRangeEnumerator{T}.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace System
4 | {
5 | public interface IRangeEnumerator where T : struct
6 | {
7 | IEnumerator