//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------


// Generated from: roleHandler.proto
// Note: requires additional types generated from: player.proto
namespace pomelo.connector
{
  
  //---------------------------------------------------------------------------------------
  [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CreatePlayerRequest")]
  public partial class CreatePlayerRequest : global::ProtoBuf.IExtensible
  {
    public CreatePlayerRequest() {}
    
    
    private int _c2s_pro;
    /// <summary>
    /// 角色职业
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_pro", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int c2s_pro
    {
      get { return _c2s_pro; }
      set { _c2s_pro = value; }
    }
    
    private string _c2s_name;
    /// <summary>
    /// 角色名
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public string c2s_name
    {
      get { return _c2s_name; }
      set { _c2s_name = value; }
    }
    
    private int _c2s_sex = default(int);
    /// <summary>
    /// 角色性别
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_sex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    [global::System.ComponentModel.DefaultValue(default(int))]
    public int c2s_sex
    {
      get { return _c2s_sex; }
      set { _c2s_sex = 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=@"CreatePlayerResponse")]
  public partial class CreatePlayerResponse : global::ProtoBuf.IExtensible
  {
    public CreatePlayerResponse() {}
    
    
    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 pomelo.player.PlayerBasic _s2c_player = null;
    [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_player", DataFormat = global::ProtoBuf.DataFormat.Default)]
    [global::System.ComponentModel.DefaultValue(null)]
    public pomelo.player.PlayerBasic s2c_player
    {
      get { return _s2c_player; }
      set { _s2c_player = value; }
    }
    
    private readonly global::System.Collections.Generic.List<pomelo.player.PlayerBasic> _s2c_players = new global::System.Collections.Generic.List<pomelo.player.PlayerBasic>();
    [global::ProtoBuf.ProtoMember(4, Name=@"s2c_players", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public global::System.Collections.Generic.List<pomelo.player.PlayerBasic> s2c_players
    {
      get { return _s2c_players; }
    }
  
    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=@"ChangePlayerNameRequest")]
  public partial class ChangePlayerNameRequest : global::ProtoBuf.IExtensible
  {
    public ChangePlayerNameRequest() {}
    
    
    private string _c2s_name;
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public string c2s_name
    {
      get { return _c2s_name; }
      set { _c2s_name = value; }
    }
    
    private int _pos;
    [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int pos
    {
      get { return _pos; }
      set { _pos = 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=@"ChangePlayerNameResponse")]
  public partial class ChangePlayerNameResponse : global::ProtoBuf.IExtensible
  {
    public ChangePlayerNameResponse() {}
    
    
    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 string _s2c_name = "";
    [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
    [global::System.ComponentModel.DefaultValue("")]
    public string s2c_name
    {
      get { return _s2c_name; }
      set { _s2c_name = 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=@"GetRandomNameRequest")]
  public partial class GetRandomNameRequest : global::ProtoBuf.IExtensible
  {
    public GetRandomNameRequest() {}
    
    
    private int _c2s_sex;
    /// <summary>
    /// 性别
    /// </summary>
    
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_sex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
    public int c2s_sex
    {
      get { return _c2s_sex; }
      set { _c2s_sex = 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=@"GetRandomNameResponse")]
  public partial class GetRandomNameResponse : global::ProtoBuf.IExtensible
  {
    public GetRandomNameResponse() {}
    
    
    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 string _s2c_name = "";
    [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
    [global::System.ComponentModel.DefaultValue("")]
    public string s2c_name
    {
      get { return _s2c_name; }
      set { _s2c_name = 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=@"DeletePlayerRequest")]
  public partial class DeletePlayerRequest : global::ProtoBuf.IExtensible
  {
    public DeletePlayerRequest() {}
    
    
    private string _c2s_playerId;
    [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
    public string c2s_playerId
    {
      get { return _c2s_playerId; }
      set { _c2s_playerId = 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=@"DeletePlayerResponse")]
  public partial class DeletePlayerResponse : global::ProtoBuf.IExtensible
  {
    public DeletePlayerResponse() {}
    
    
    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 global::ProtoBuf.IExtension extensionObject;
    global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
      { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  }
  
  
}