EntityRemovedUpdate.h 371 B

12345678910111213141516171819
  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(
  11. int entityId, int dimensionId, Framework::Vec3<float> pos);
  12. ~EntityRemovedUpdate();
  13. void onUpdate(Dimension* zDimension) override;
  14. };