2023-10-12 12:18:24 -04:00
|
|
|
#ifndef LEGOOBJECTFACTORY_H
|
|
|
|
#define LEGOOBJECTFACTORY_H
|
|
|
|
|
|
|
|
#include "mxobjectfactory.h"
|
|
|
|
|
|
|
|
#define FOR_LEGOOBJECTFACTORY_OBJECTS(X) \
|
|
|
|
X(InfocenterState)
|
|
|
|
|
|
|
|
// VTABLE 0x100d4768
|
|
|
|
class LegoObjectFactory : public MxObjectFactory
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LegoObjectFactory();
|
|
|
|
virtual MxCore *Create(const char *p_name) override; // vtable 0x14
|
2023-10-14 08:59:06 -04:00
|
|
|
virtual void Destroy(MxCore *p_object) override; // vtable 0x18
|
2023-10-12 12:18:24 -04:00
|
|
|
private:
|
|
|
|
#define X(V) MxAtomId m_id##V;
|
|
|
|
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
|
|
|
|
#undef X
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOOBJECTFACTORY_H
|