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