2.4.2 & zone times proper

This commit is contained in:
Milxnor
2023-03-21 15:20:11 -04:00
parent 6d14b42a4f
commit 97ab80fef0
36 changed files with 1237 additions and 270 deletions

View File

@@ -39,6 +39,17 @@ public:
typedef TSet<ElementType/*, KeyFuncs, SetAllocator */> ElementSetType;
ElementSetType Pairs;
FORCEINLINE ValueType& Find(const KeyType& Key)
{
for (int j = 0; j < this->Pairs.Elements.Num(); j++)
{
ElementType& Pair = this->Pairs.Elements.operator[](j).ElementData.Value;
if (Key == Pair.Key())
return Pair.Value();
}
}
};
template <typename KeyType, typename ValueType> //, typename SetAllocator, typename KeyFuncs>