MultiblockTree.h 653 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "MultiblockStructure.h"
  3. #include "StaticRegistry.h"
  4. class MultiblockTree : public MultiblockStructure
  5. {
  6. public:
  7. MultiblockTree(int dimensionId, __int64 structureId, Framework::Vec3<int> uniquePosition);
  8. virtual void onBlockRemoved(Block* zBlock) override;
  9. };
  10. class MultiblockTreeStructureType : public MultiblockStructureType
  11. {
  12. REGISTRABLE(MultiblockTreeStructureType)
  13. protected:
  14. MultiblockTreeStructureType();
  15. public:
  16. virtual MultiblockStructure* createStructure(int dimensionId, __int64 structureId, Framework::Vec3<int> uniquePosition) const override;
  17. };
  18. REGISTER(MultiblockTreeStructureType, MultiblockStructureType)