mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
2.4.2 & zone times proper
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user