InitiativeTransfer_msg_g.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #ifndef __INITIATIVETRANSFER_MSG_G_H
  2. #define __INITIATIVETRANSFER_MSG_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace InitiativeTransfer {
  7. #define eMsg_NotifyEnterFlow 0
  8. #define eMsg_ACMFlowInvoke 1
  9. #define eMsg_AgentFlowResult 2
  10. #define eMsg_ChanState 3
  11. #define eMsgSig_NotifyEnterFlow 1397875158
  12. #define eMsgSig_ACMFlowInvoke 2025290751
  13. #define eMsgSig_AgentFlowResult 87091676
  14. #define eMsgSig_ChanState -701373428
  15. struct NotifyEnterFlow
  16. {
  17. CSimpleStringW context;
  18. void Serialize(SpBuffer &Buf)
  19. {
  20. auto & buf = Buf & context;
  21. }
  22. };
  23. ///////////////////////////
  24. struct ACMFlowInvoke
  25. {
  26. CSimpleStringW req_context;
  27. void Serialize(SpBuffer &Buf)
  28. {
  29. auto & buf = Buf & req_context;
  30. }
  31. };
  32. ///////////////////////////
  33. struct AgentFlowResult
  34. {
  35. int error;
  36. CSimpleStringW ans_context;
  37. void Serialize(SpBuffer &Buf)
  38. {
  39. auto & buf = Buf & error & ans_context;
  40. }
  41. };
  42. ///////////////////////////
  43. struct ChanState
  44. {
  45. int state;
  46. CSimpleStringA status;
  47. void Serialize(SpBuffer &Buf)
  48. {
  49. auto & buf = Buf & state & status;
  50. }
  51. };
  52. ///////////////////////////
  53. } // namespace InitiativeTransfer
  54. #endif // __INITIATIVETRANSFER_MSG_G_H