WorldUpdate.h 378 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Reader.h>
  3. #include <ReferenceCounter.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. };