_giftOnlineHandler.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // ***************************************************************************
  10. // * 作者: XXX
  11. // * 创建时间: 2015-08-27
  12. // * 用途: 在线奖励处理器
  13. // * 维护人员: XXX
  14. // ***************************************************************************
  15. // Generated from: giftOnlineHandler.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOnLineGiftRequest")]
  20. public partial class GetOnLineGiftRequest : global::ProtoBuf.IExtensible
  21. {
  22. public GetOnLineGiftRequest() {}
  23. private global::ProtoBuf.IExtension extensionObject;
  24. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  25. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  26. }
  27. //---------------------------------------------------------------------------------------
  28. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftOnLineStruct")]
  29. public partial class GiftOnLineStruct : global::ProtoBuf.IExtensible
  30. {
  31. public GiftOnLineStruct() {}
  32. private int _templateId;
  33. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  34. public int templateId
  35. {
  36. get { return _templateId; }
  37. set { _templateId = value; }
  38. }
  39. private int _count;
  40. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  41. public int count
  42. {
  43. get { return _count; }
  44. set { _count = value; }
  45. }
  46. private int _quality;
  47. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"quality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  48. public int quality
  49. {
  50. get { return _quality; }
  51. set { _quality = value; }
  52. }
  53. private int _picId;
  54. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"picId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  55. public int picId
  56. {
  57. get { return _picId; }
  58. set { _picId = value; }
  59. }
  60. private string _name;
  61. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  62. public string name
  63. {
  64. get { return _name; }
  65. set { _name = value; }
  66. }
  67. private global::ProtoBuf.IExtension extensionObject;
  68. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  69. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  70. }
  71. //---------------------------------------------------------------------------------------
  72. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftOnlineData")]
  73. public partial class GiftOnlineData : global::ProtoBuf.IExtensible
  74. {
  75. public GiftOnlineData() {}
  76. private int _s2c_time;
  77. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  78. public int s2c_time
  79. {
  80. get { return _s2c_time; }
  81. set { _s2c_time = value; }
  82. }
  83. private readonly global::System.Collections.Generic.List<pomelo.area.GiftOnLineStruct> _s2c_items = new global::System.Collections.Generic.List<pomelo.area.GiftOnLineStruct>();
  84. [global::ProtoBuf.ProtoMember(2, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  85. public global::System.Collections.Generic.List<pomelo.area.GiftOnLineStruct> s2c_items
  86. {
  87. get { return _s2c_items; }
  88. }
  89. private global::ProtoBuf.IExtension extensionObject;
  90. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  91. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  92. }
  93. //---------------------------------------------------------------------------------------
  94. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOnLineGiftResponse")]
  95. public partial class GetOnLineGiftResponse : global::ProtoBuf.IExtensible
  96. {
  97. public GetOnLineGiftResponse() {}
  98. private int _s2c_code;
  99. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  100. public int s2c_code
  101. {
  102. get { return _s2c_code; }
  103. set { _s2c_code = value; }
  104. }
  105. private string _s2c_msg = "";
  106. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  107. [global::System.ComponentModel.DefaultValue("")]
  108. public string s2c_msg
  109. {
  110. get { return _s2c_msg; }
  111. set { _s2c_msg = value; }
  112. }
  113. private pomelo.area.GiftOnlineData _s2c_data = null;
  114. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  115. [global::System.ComponentModel.DefaultValue(null)]
  116. public pomelo.area.GiftOnlineData s2c_data
  117. {
  118. get { return _s2c_data; }
  119. set { _s2c_data = value; }
  120. }
  121. private global::ProtoBuf.IExtension extensionObject;
  122. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  123. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  124. }
  125. }