HealthManager_msg_g.h 889 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef __HEALTHMANAGER_MSG_G_H
  2. #define __HEALTHMANAGER_MSG_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace HealthManager {
  7. #define eMsg_TradeManage 0
  8. #define eMsg_TerminalManager 1
  9. #define eMsg_AuthStatus 2
  10. #define eMsgSig_TradeManage 1347045541
  11. #define eMsgSig_TerminalManager 1453185458
  12. #define eMsgSig_AuthStatus -1654977732
  13. struct TradeManage
  14. {
  15. int op;
  16. CSimpleStringA time;
  17. void Serialize(SpBuffer &Buf)
  18. {
  19. auto & buf = Buf & op & time;
  20. }
  21. };
  22. ///////////////////////////
  23. struct TerminalManager
  24. {
  25. int op;
  26. void Serialize(SpBuffer &Buf)
  27. {
  28. auto & buf = Buf & op;
  29. }
  30. };
  31. ///////////////////////////
  32. struct AuthStatus
  33. {
  34. int result;
  35. CSimpleStringA msg;
  36. void Serialize(SpBuffer &Buf)
  37. {
  38. auto & buf = Buf & result & msg;
  39. }
  40. };
  41. ///////////////////////////
  42. } // namespace HealthManager
  43. #endif // __HEALTHMANAGER_MSG_G_H