#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 pos); ~EntityRemovedUpdate(); void onUpdate(Dimension* zDimension) override; }; class EntityRemovedUpdateType : WorldUpdateType { REGISTRABLE(EntityRemovedUpdateType) protected: EntityRemovedUpdateType(); }; REGISTER(EntityRemovedUpdateType, WorldUpdateType)