public void Clear() { m_Count = 0; MatchIdToIndex.Clear(); ValidIndices.Clear(); FreedIndices.Clear(); FilteredAcquiringIndices.Clear(); AcquiringIndices.Clear(); PotentialMatchAcquiringIndices.Clear(); DefiniteMatchAcquireIndices.Clear(); UpdatingIndices.Clear(); Array.Clear(QueryMatchIds, 0, QueryMatchIds.Length); Array.Clear(QueryArgs, 0, QueryArgs.Length); Array.Clear(Exclusivities, 0, Exclusivities.Length); Array.Clear(UpdateMatchInterval, 0, UpdateMatchInterval.Length); Array.Clear(TimeOuts, 0, TimeOuts.Length); Array.Clear(ReAcquireOnLoss, 0, ReAcquireOnLoss.Length); Array.Clear(Conditions, 0, Conditions.Length); Array.Clear(TraitRequirements, 0, TraitRequirements.Length); Array.Clear(CachedTraits, 0, CachedTraits.Length); Array.Clear(ConditionRatings, 0, ConditionRatings.Length); Array.Clear(ConditionMatchSets, 0, ConditionMatchSets.Length); Array.Clear(ReducedConditionRatings, 0, ReducedConditionRatings.Length); Array.Clear(BestMatchDataIds, 0, BestMatchDataIds.Length); Array.Clear(QueryResults, 0, QueryResults.Length); Array.Clear(AcquireHandlers, 0, AcquireHandlers.Length); Array.Clear(UpdateHandlers, 0, UpdateHandlers.Length); Array.Clear(LossHandlers, 0, LossHandlers.Length); Array.Clear(TimeoutHandlers, 0, TimeoutHandlers.Length); }
public void Clear() { m_Count = 0; MatchIdToIndex.Clear(); ValidIndices.Clear(); FreedIndices.Clear(); FilteredAcquiringIndices.Clear(); AcquiringIndices.Clear(); DefiniteMatchAcquireIndices.Clear(); UpdatingIndices.Clear(); Array.Clear(QueryMatchIds, 0, QueryMatchIds.Length); Array.Clear(Exclusivities, 0, Exclusivities.Length); Array.Clear(Required, 0, Required.Length); Array.Clear(Conditions, 0, Conditions.Length); Array.Clear(TraitRequirements, 0, TraitRequirements.Length); Array.Clear(CachedTraits, 0, CachedTraits.Length); Array.Clear(ConditionRatings, 0, ConditionRatings.Length); Array.Clear(ConditionMatchSets, 0, ConditionMatchSets.Length); Array.Clear(ReducedConditionRatings, 0, ReducedConditionRatings.Length); Array.Clear(BestMatchDataIds, 0, BestMatchDataIds.Length); Array.Clear(QueryResults, 0, QueryResults.Length); Array.Clear(ObjectReferences, 0, ObjectReferences.Length); Array.Clear(RelationMemberships, 0, RelationMemberships.Length); }
public void Clear() { m_Count = 0; MatchIdToIndex.Clear(); ValidIndices.Clear(); FreedIndices.Clear(); FilteredAcquiringIndices.Clear(); AcquiringIndices.Clear(); DefiniteMatchAcquireIndices.Clear(); UpdatingIndices.Clear(); Array.Clear(QueryMatchIds, 0, QueryMatchIds.Length); Array.Clear(SetQueryArgs, 0, SetQueryArgs.Length); Array.Clear(QueryResults, 0, QueryResults.Length); foreach (var hashSet in UsedByMatch) { if (hashSet != null) { Pools.DataIdHashSets.Recycle(hashSet); } } Array.Clear(UsedByMatch, 0, UsedByMatch.Length); Array.Clear(CachedTraits, 0, CachedTraits.Length); Array.Clear(Relations, 0, Relations.Length); Array.Clear(RelationRatings, 0, RelationRatings.Length); Array.Clear(SearchData, 0, SearchData.Length); Array.Clear(SetMatchData, 0, SetMatchData.Length); Array.Clear(RatingConfigurations, 0, RatingConfigurations.Length); Array.Clear(RelationIndexPairs, 0, RelationIndexPairs.Length); Array.Clear(LocalRelationIndexPairs, 0, LocalRelationIndexPairs.Length); Array.Clear(ReAcquireOnLoss, 0, ReAcquireOnLoss.Length); Array.Clear(Priorities, 0, Priorities.Length); Array.Clear(UpdateMatchInterval, 0, UpdateMatchInterval.Length); Array.Clear(LastUpdateCheckTime, 0, LastUpdateCheckTime.Length); Array.Clear(OrderWeights, 0, OrderWeights.Length); Array.Clear(TimeOuts, 0, UpdateMatchInterval.Length); Array.Clear(AcquireHandlers, 0, AcquireHandlers.Length); Array.Clear(UpdateHandlers, 0, UpdateHandlers.Length); Array.Clear(LossHandlers, 0, LossHandlers.Length); Array.Clear(TimeoutHandlers, 0, TimeoutHandlers.Length); }