@Version.h 754 B

12345678910111213141516171819
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class Version // value randomized each time the data is changed indicating that client/server sync is needed
  4. {
  5. uint ver;
  6. bool operator==(C Version &v)C;
  7. bool operator!=(C Version &v)C;
  8. bool operator! ( )C;
  9. operator bool( )C;
  10. void randomize(); // avoid zero and previous value
  11. public:
  12. Version();
  13. };
  14. /******************************************************************************/
  15. /******************************************************************************/
  16. /******************************************************************************/