WorldUpdate.h 366 B

12345678910111213141516171819
  1. #pragma once
  2. #include <ReferenceCounter.h>
  3. #include <Reader.h>
  4. #include "StaticRegistry.h"
  5. class WorldUpdateType : public Framework::ReferenceCounter
  6. {
  7. private:
  8. int id;
  9. protected:
  10. WorldUpdateType(int id);
  11. virtual void applyUpdate(Framework::StreamReader* zReader) = 0;
  12. public:
  13. void applyUpdateAndCheck(Framework::StreamReader* zReader);
  14. };