CounterConnector_msg_g.h 959 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef __COUNTERCONNECTOR_MSG_G_H
  2. #define __COUNTERCONNECTOR_MSG_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace CounterConnector {
  7. #define eMsg_PhoneState 0
  8. #define eMsg_CallTransferInfo 1
  9. #define eMsg_AgentVideoType 2
  10. #define eMsgSig_PhoneState -731514138
  11. #define eMsgSig_CallTransferInfo 1065141005
  12. #define eMsgSig_AgentVideoType 622887136
  13. struct PhoneState
  14. {
  15. int state;
  16. CSimpleStringA status;
  17. CSimpleStringW errinfo;
  18. void Serialize(SpBuffer &Buf)
  19. {
  20. auto & buf = Buf & state & status & errinfo;
  21. }
  22. };
  23. ///////////////////////////
  24. struct CallTransferInfo
  25. {
  26. CSimpleStringA CallNum;
  27. void Serialize(SpBuffer &Buf)
  28. {
  29. auto & buf = Buf & CallNum;
  30. }
  31. };
  32. ///////////////////////////
  33. struct AgentVideoType
  34. {
  35. int VideoType;
  36. void Serialize(SpBuffer &Buf)
  37. {
  38. auto & buf = Buf & VideoType;
  39. }
  40. };
  41. ///////////////////////////
  42. } // namespace CounterConnector
  43. #endif // __COUNTERCONNECTOR_MSG_G_H