car_sim.h 246 B

123456789101112131415
  1. #pragma once
  2. #include "../common/notifier.h"
  3. class CEgoClient;
  4. class CCarSim
  5. {
  6. public:
  7. CCarSim(CEgoClient* car);
  8. void Start() ;
  9. void Stop();
  10. void OnPeerMessage(int16_t cmd, int16_t length, const void* data);
  11. private:
  12. CEgoClient* _car;
  13. };