//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// ***************************************************************************
// * 作者= justsogo
// * 创建时间= 2018-11-21
// * 用途= boss地宫协议
// ***************************************************************************

// Generated from: undergroundPlaceHandler.proto
// Note: requires additional types generated from: common.proto
namespace pomelo.area
{
  
  //---------------------------------------------------------------------------------------
  /// <summary>
  /// 请求boss地宫,boss刷新时间 public static final short MSG_GetBossRefrushTime = 467;
  /// </summary>
  
  [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimeRequest")]
  public partial class BossRefrushTimeRequest : global::ProtoBuf.IExtensible
  {
    public BossRefrushTimeRequest() {}
    
    
    private int _mapID;
    /// <summary>
    /// 请求的地图ID
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"mapID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int mapID
    {
      get { return _mapID; }
      set { _mapID = value; }
    }
    private global::ProtoBuf.IExtension extensionObject;
    global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
      { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  }
  
  
  //---------------------------------------------------------------------------------------
  [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTime")]
  public partial class BossRefrushTime : global::ProtoBuf.IExtensible
  {
    public BossRefrushTime() {}
    
    
    private int _bossID;
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"bossID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int bossID
    {
      get { return _bossID; }
      set { _bossID = value; }
    }
    
    private int _leftRefrushTime;
    /// <summary>
    /// 剩余刷新时间,秒
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"leftRefrushTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int leftRefrushTime
    {
      get { return _leftRefrushTime; }
      set { _leftRefrushTime = value; }
    }
    private global::ProtoBuf.IExtension extensionObject;
    global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
      { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  }
  
  
  //---------------------------------------------------------------------------------------
  [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimeResponse")]
  public partial class BossRefrushTimeResponse : global::ProtoBuf.IExtensible
  {
    public BossRefrushTimeResponse() {}
    
    
    private int _s2c_code;
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int s2c_code
    {
      get { return _s2c_code; }
      set { _s2c_code = value; }
    }
    
    private string _s2c_msg = "";
    [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
    [global::System.ComponentModel.DefaultValue("")]
    public string s2c_msg
    {
      get { return _s2c_msg; }
      set { _s2c_msg = value; }
    }
    
    private readonly global::System.Collections.Generic.List<pomelo.area.BossRefrushTime> _s2c_refrushList = new global::System.Collections.Generic.List<pomelo.area.BossRefrushTime>();
    [global::ProtoBuf.ProtoMember(3, Name=@"s2c_refrushList", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public global::System.Collections.Generic.List<pomelo.area.BossRefrushTime> s2c_refrushList
    {
      get { return _s2c_refrushList; }
    }
  
    private global::ProtoBuf.IExtension extensionObject;
    global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
      { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  }
  
  
  //---------------------------------------------------------------------------------------
  /// <summary>
  /// boss地宫boss刷新时间推送 public static final short MSG_BossRefrushTimePush = 1109;
  /// </summary>
  
  [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BossRefrushTimePush")]
  public partial class BossRefrushTimePush : global::ProtoBuf.IExtensible
  {
    public BossRefrushTimePush() {}
    
    
    private pomelo.area.BossRefrushTime _s2c_data;
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public pomelo.area.BossRefrushTime s2c_data
    {
      get { return _s2c_data; }
      set { _s2c_data = value; }
    }
    private global::ProtoBuf.IExtension extensionObject;
    global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
      { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  }
  
  
}