EntityRemovedUpdate.h 345 B

123456789101112131415161718
  1. #pragma once
  2. #include "WorldUpdate.h"
  3. class EntityRemovedUpdate : public WorldUpdate
  4. {
  5. private:
  6. int entityId;
  7. protected:
  8. void write(Framework::StreamWriter* zWriter) override;
  9. public:
  10. EntityRemovedUpdate(int entityId, int dimensionId, Framework::Vec3<int> pos);
  11. ~EntityRemovedUpdate();
  12. void onUpdate(Dimension* zDimension) override;
  13. };