_undergroundPlaceHandler.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. // * 作者= justsogo
  11. // * 创建时间= 2018-11-21
  12. // * 用途= boss地宫协议
  13. // ***************************************************************************
  14. // Generated from: undergroundPlaceHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 请求boss地宫,boss刷新时间 public static final short MSG_GetBossRefrushTime = 467;
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimeRequest")]
  23. public partial class BossRefrushTimeRequest : global::ProtoBuf.IExtensible
  24. {
  25. public BossRefrushTimeRequest() {}
  26. private int _mapID;
  27. /// <summary>
  28. /// 请求的地图ID
  29. /// </summary>
  30. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"mapID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  31. public int mapID
  32. {
  33. get { return _mapID; }
  34. set { _mapID = value; }
  35. }
  36. private global::ProtoBuf.IExtension extensionObject;
  37. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  38. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  39. }
  40. //---------------------------------------------------------------------------------------
  41. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTime")]
  42. public partial class BossRefrushTime : global::ProtoBuf.IExtensible
  43. {
  44. public BossRefrushTime() {}
  45. private int _bossID;
  46. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"bossID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  47. public int bossID
  48. {
  49. get { return _bossID; }
  50. set { _bossID = value; }
  51. }
  52. private int _leftRefrushTime;
  53. /// <summary>
  54. /// 剩余刷新时间,秒
  55. /// </summary>
  56. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"leftRefrushTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  57. public int leftRefrushTime
  58. {
  59. get { return _leftRefrushTime; }
  60. set { _leftRefrushTime = value; }
  61. }
  62. private global::ProtoBuf.IExtension extensionObject;
  63. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  64. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  65. }
  66. //---------------------------------------------------------------------------------------
  67. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimeResponse")]
  68. public partial class BossRefrushTimeResponse : global::ProtoBuf.IExtensible
  69. {
  70. public BossRefrushTimeResponse() {}
  71. private int _s2c_code;
  72. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  73. public int s2c_code
  74. {
  75. get { return _s2c_code; }
  76. set { _s2c_code = value; }
  77. }
  78. private string _s2c_msg = "";
  79. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  80. [global::System.ComponentModel.DefaultValue("")]
  81. public string s2c_msg
  82. {
  83. get { return _s2c_msg; }
  84. set { _s2c_msg = value; }
  85. }
  86. private readonly global::System.Collections.Generic.List<pomelo.area.BossRefrushTime> _s2c_refrushList = new global::System.Collections.Generic.List<pomelo.area.BossRefrushTime>();
  87. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_refrushList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  88. public global::System.Collections.Generic.List<pomelo.area.BossRefrushTime> s2c_refrushList
  89. {
  90. get { return _s2c_refrushList; }
  91. }
  92. private global::ProtoBuf.IExtension extensionObject;
  93. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  94. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  95. }
  96. //---------------------------------------------------------------------------------------
  97. /// <summary>
  98. /// boss地宫boss刷新时间推送 public static final short MSG_BossRefrushTimePush = 1109;
  99. /// </summary>
  100. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimePush")]
  101. public partial class BossRefrushTimePush : global::ProtoBuf.IExtensible
  102. {
  103. public BossRefrushTimePush() {}
  104. private pomelo.area.BossRefrushTime _s2c_data;
  105. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  106. public pomelo.area.BossRefrushTime s2c_data
  107. {
  108. get { return _s2c_data; }
  109. set { _s2c_data = value; }
  110. }
  111. private global::ProtoBuf.IExtension extensionObject;
  112. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  113. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  114. }
  115. }