MultiblockTree.h 578 B

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