123456789101112131415161718192021222324252627 |
- #pragma once
- #include "WorldUpdate.h"
- class EntityRemovedUpdate : public WorldUpdate
- {
- private:
- int entityId;
- protected:
- void write(Framework::StreamWriter* zWriter) override;
- public:
- EntityRemovedUpdate(int entityId, int dimensionId, Framework::Vec3<int> pos);
- ~EntityRemovedUpdate();
- void onUpdate(Dimension* zDimension) override;
- };
- class EntityRemovedUpdateType : WorldUpdateType
- {
- REGISTRABLE(EntityRemovedUpdateType)
- protected:
- EntityRemovedUpdateType();
- };
- REGISTER(EntityRemovedUpdateType, WorldUpdateType)
|