2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:47:42 +00:00

Update CSimplePool offsets

This commit is contained in:
2017-01-21 20:32:53 -08:00
parent e9222c7aba
commit 34e3a7f383
4 changed files with 24 additions and 23 deletions

View File

@@ -14,10 +14,11 @@ class CObjectReference;
class CSimplePool : public IObjectStore
{
protected:
//std::list<std::pair<SObjectTag, CObjectReference*>> x4_resources;
std::unordered_map<SObjectTag, CObjectReference*> x4_resources;
IFactory& x30_factory;
CVParamTransfer x34_paramXfer;
u8 x4_;
u8 x5_;
std::unordered_map<SObjectTag, CObjectReference*> x8_resources;
IFactory& x18_factory;
CVParamTransfer x1c_paramXfer;
public:
CSimplePool(IFactory& factory);
CToken GetObj(const SObjectTag&, const CVParamTransfer&);
@@ -26,7 +27,7 @@ public:
CToken GetObj(const char*, const CVParamTransfer&);
bool HasObject(const SObjectTag&) const;
bool ObjectIsLive(const SObjectTag&) const;
IFactory& GetFactory() const {return x30_factory;}
IFactory& GetFactory() const {return x18_factory;}
void Flush();
void ObjectUnreferenced(const SObjectTag&);
};