InitiativeTransfer_msg_g.h 928 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 eMsgSig_NotifyEnterFlow 1397875158
  11. #define eMsgSig_ACMFlowInvoke 2025290751
  12. #define eMsgSig_AgentFlowResult 87091676
  13. struct NotifyEnterFlow
  14. {
  15. CSimpleStringW context;
  16. void Serialize(SpBuffer &Buf)
  17. {
  18. Buf & context;
  19. }
  20. };
  21. ///////////////////////////
  22. struct ACMFlowInvoke
  23. {
  24. CSimpleStringW req_context;
  25. void Serialize(SpBuffer &Buf)
  26. {
  27. Buf & req_context;
  28. }
  29. };
  30. ///////////////////////////
  31. struct AgentFlowResult
  32. {
  33. int error;
  34. CSimpleStringW ans_context;
  35. void Serialize(SpBuffer &Buf)
  36. {
  37. Buf & error & ans_context;
  38. }
  39. };
  40. ///////////////////////////
  41. } // namespace InitiativeTransfer
  42. #endif // __INITIATIVETRANSFER_MSG_G_H