// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GetBasicInfoScRsp.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {

  /// <summary>Holder for reflection information generated from GetBasicInfoScRsp.proto</summary>
  public static partial class GetBasicInfoScRspReflection {

    #region Descriptor
    /// <summary>File descriptor for GetBasicInfoScRsp.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static GetBasicInfoScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdHZXRCYXNpY0luZm9TY1JzcC5wcm90bxoXUGxheWVyU2V0dGluZ0luZm8u",
            "cHJvdG8ikAIKEUdldEJhc2ljSW5mb1NjUnNwEh8KF1dlZWtDb2Nvb25GaW5p",
            "c2hlZENvdW50GAsgASgNEg4KBkdlbmRlchgDIAEoDRItChFQbGF5ZXJTZXR0",
            "aW5nSW5mbxgOIAEoCzISLlBsYXllclNldHRpbmdJbmZvEhMKC0lzR2VuZGVy",
            "U2V0GAEgASgIEg4KBkN1ckRheRgGIAEoDRIXCg9OZXh0UmVjb3ZlclRpbWUY",
            "ByABKAMSGwoTTGFzdFNldE5pY2tuYW1lVGltZRgPIAEoAxIVCg1FeGNoYW5n",
            "ZVRpbWVzGA0gASgNEg8KB1JldGNvZGUYBSABKA0SGAoQR2FtZXBsYXlCaXJ0",
            "aGRheRgEIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
            "cm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlayerSettingInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp), global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp.Parser, new[]{ "WeekCocoonFinishedCount", "Gender", "PlayerSettingInfo", "IsGenderSet", "CurDay", "NextRecoverTime", "LastSetNicknameTime", "ExchangeTimes", "Retcode", "GameplayBirthday" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class GetBasicInfoScRsp : pb::IMessage<GetBasicInfoScRsp>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GetBasicInfoScRsp> _parser = new pb::MessageParser<GetBasicInfoScRsp>(() => new GetBasicInfoScRsp());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GetBasicInfoScRsp> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::EggLink.DanhengServer.Proto.GetBasicInfoScRspReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetBasicInfoScRsp() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetBasicInfoScRsp(GetBasicInfoScRsp other) : this() {
      weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
      gender_ = other.gender_;
      playerSettingInfo_ = other.playerSettingInfo_ != null ? other.playerSettingInfo_.Clone() : null;
      isGenderSet_ = other.isGenderSet_;
      curDay_ = other.curDay_;
      nextRecoverTime_ = other.nextRecoverTime_;
      lastSetNicknameTime_ = other.lastSetNicknameTime_;
      exchangeTimes_ = other.exchangeTimes_;
      retcode_ = other.retcode_;
      gameplayBirthday_ = other.gameplayBirthday_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetBasicInfoScRsp Clone() {
      return new GetBasicInfoScRsp(this);
    }

    /// <summary>Field number for the "WeekCocoonFinishedCount" field.</summary>
    public const int WeekCocoonFinishedCountFieldNumber = 11;
    private uint weekCocoonFinishedCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint WeekCocoonFinishedCount {
      get { return weekCocoonFinishedCount_; }
      set {
        weekCocoonFinishedCount_ = value;
      }
    }

    /// <summary>Field number for the "Gender" field.</summary>
    public const int GenderFieldNumber = 3;
    private uint gender_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Gender {
      get { return gender_; }
      set {
        gender_ = value;
      }
    }

    /// <summary>Field number for the "PlayerSettingInfo" field.</summary>
    public const int PlayerSettingInfoFieldNumber = 14;
    private global::EggLink.DanhengServer.Proto.PlayerSettingInfo playerSettingInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.PlayerSettingInfo PlayerSettingInfo {
      get { return playerSettingInfo_; }
      set {
        playerSettingInfo_ = value;
      }
    }

    /// <summary>Field number for the "IsGenderSet" field.</summary>
    public const int IsGenderSetFieldNumber = 1;
    private bool isGenderSet_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsGenderSet {
      get { return isGenderSet_; }
      set {
        isGenderSet_ = value;
      }
    }

    /// <summary>Field number for the "CurDay" field.</summary>
    public const int CurDayFieldNumber = 6;
    private uint curDay_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CurDay {
      get { return curDay_; }
      set {
        curDay_ = value;
      }
    }

    /// <summary>Field number for the "NextRecoverTime" field.</summary>
    public const int NextRecoverTimeFieldNumber = 7;
    private long nextRecoverTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long NextRecoverTime {
      get { return nextRecoverTime_; }
      set {
        nextRecoverTime_ = value;
      }
    }

    /// <summary>Field number for the "LastSetNicknameTime" field.</summary>
    public const int LastSetNicknameTimeFieldNumber = 15;
    private long lastSetNicknameTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long LastSetNicknameTime {
      get { return lastSetNicknameTime_; }
      set {
        lastSetNicknameTime_ = value;
      }
    }

    /// <summary>Field number for the "ExchangeTimes" field.</summary>
    public const int ExchangeTimesFieldNumber = 13;
    private uint exchangeTimes_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ExchangeTimes {
      get { return exchangeTimes_; }
      set {
        exchangeTimes_ = value;
      }
    }

    /// <summary>Field number for the "Retcode" field.</summary>
    public const int RetcodeFieldNumber = 5;
    private uint retcode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Retcode {
      get { return retcode_; }
      set {
        retcode_ = value;
      }
    }

    /// <summary>Field number for the "GameplayBirthday" field.</summary>
    public const int GameplayBirthdayFieldNumber = 4;
    private uint gameplayBirthday_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GameplayBirthday {
      get { return gameplayBirthday_; }
      set {
        gameplayBirthday_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as GetBasicInfoScRsp);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetBasicInfoScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
      if (Gender != other.Gender) return false;
      if (!object.Equals(PlayerSettingInfo, other.PlayerSettingInfo)) return false;
      if (IsGenderSet != other.IsGenderSet) return false;
      if (CurDay != other.CurDay) return false;
      if (NextRecoverTime != other.NextRecoverTime) return false;
      if (LastSetNicknameTime != other.LastSetNicknameTime) return false;
      if (ExchangeTimes != other.ExchangeTimes) return false;
      if (Retcode != other.Retcode) return false;
      if (GameplayBirthday != other.GameplayBirthday) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
      if (Gender != 0) hash ^= Gender.GetHashCode();
      if (playerSettingInfo_ != null) hash ^= PlayerSettingInfo.GetHashCode();
      if (IsGenderSet != false) hash ^= IsGenderSet.GetHashCode();
      if (CurDay != 0) hash ^= CurDay.GetHashCode();
      if (NextRecoverTime != 0L) hash ^= NextRecoverTime.GetHashCode();
      if (LastSetNicknameTime != 0L) hash ^= LastSetNicknameTime.GetHashCode();
      if (ExchangeTimes != 0) hash ^= ExchangeTimes.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      if (GameplayBirthday != 0) hash ^= GameplayBirthday.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (IsGenderSet != false) {
        output.WriteRawTag(8);
        output.WriteBool(IsGenderSet);
      }
      if (Gender != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Gender);
      }
      if (GameplayBirthday != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(GameplayBirthday);
      }
      if (Retcode != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(Retcode);
      }
      if (CurDay != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(CurDay);
      }
      if (NextRecoverTime != 0L) {
        output.WriteRawTag(56);
        output.WriteInt64(NextRecoverTime);
      }
      if (WeekCocoonFinishedCount != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(WeekCocoonFinishedCount);
      }
      if (ExchangeTimes != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(ExchangeTimes);
      }
      if (playerSettingInfo_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(PlayerSettingInfo);
      }
      if (LastSetNicknameTime != 0L) {
        output.WriteRawTag(120);
        output.WriteInt64(LastSetNicknameTime);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (IsGenderSet != false) {
        output.WriteRawTag(8);
        output.WriteBool(IsGenderSet);
      }
      if (Gender != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Gender);
      }
      if (GameplayBirthday != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(GameplayBirthday);
      }
      if (Retcode != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(Retcode);
      }
      if (CurDay != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(CurDay);
      }
      if (NextRecoverTime != 0L) {
        output.WriteRawTag(56);
        output.WriteInt64(NextRecoverTime);
      }
      if (WeekCocoonFinishedCount != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(WeekCocoonFinishedCount);
      }
      if (ExchangeTimes != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(ExchangeTimes);
      }
      if (playerSettingInfo_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(PlayerSettingInfo);
      }
      if (LastSetNicknameTime != 0L) {
        output.WriteRawTag(120);
        output.WriteInt64(LastSetNicknameTime);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (WeekCocoonFinishedCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
      }
      if (Gender != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gender);
      }
      if (playerSettingInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerSettingInfo);
      }
      if (IsGenderSet != false) {
        size += 1 + 1;
      }
      if (CurDay != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurDay);
      }
      if (NextRecoverTime != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(NextRecoverTime);
      }
      if (LastSetNicknameTime != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastSetNicknameTime);
      }
      if (ExchangeTimes != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExchangeTimes);
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (GameplayBirthday != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameplayBirthday);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetBasicInfoScRsp other) {
      if (other == null) {
        return;
      }
      if (other.WeekCocoonFinishedCount != 0) {
        WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
      }
      if (other.Gender != 0) {
        Gender = other.Gender;
      }
      if (other.playerSettingInfo_ != null) {
        if (playerSettingInfo_ == null) {
          PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
        }
        PlayerSettingInfo.MergeFrom(other.PlayerSettingInfo);
      }
      if (other.IsGenderSet != false) {
        IsGenderSet = other.IsGenderSet;
      }
      if (other.CurDay != 0) {
        CurDay = other.CurDay;
      }
      if (other.NextRecoverTime != 0L) {
        NextRecoverTime = other.NextRecoverTime;
      }
      if (other.LastSetNicknameTime != 0L) {
        LastSetNicknameTime = other.LastSetNicknameTime;
      }
      if (other.ExchangeTimes != 0) {
        ExchangeTimes = other.ExchangeTimes;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      if (other.GameplayBirthday != 0) {
        GameplayBirthday = other.GameplayBirthday;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            IsGenderSet = input.ReadBool();
            break;
          }
          case 24: {
            Gender = input.ReadUInt32();
            break;
          }
          case 32: {
            GameplayBirthday = input.ReadUInt32();
            break;
          }
          case 40: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 48: {
            CurDay = input.ReadUInt32();
            break;
          }
          case 56: {
            NextRecoverTime = input.ReadInt64();
            break;
          }
          case 88: {
            WeekCocoonFinishedCount = input.ReadUInt32();
            break;
          }
          case 104: {
            ExchangeTimes = input.ReadUInt32();
            break;
          }
          case 114: {
            if (playerSettingInfo_ == null) {
              PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
            }
            input.ReadMessage(PlayerSettingInfo);
            break;
          }
          case 120: {
            LastSetNicknameTime = input.ReadInt64();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            IsGenderSet = input.ReadBool();
            break;
          }
          case 24: {
            Gender = input.ReadUInt32();
            break;
          }
          case 32: {
            GameplayBirthday = input.ReadUInt32();
            break;
          }
          case 40: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 48: {
            CurDay = input.ReadUInt32();
            break;
          }
          case 56: {
            NextRecoverTime = input.ReadInt64();
            break;
          }
          case 88: {
            WeekCocoonFinishedCount = input.ReadUInt32();
            break;
          }
          case 104: {
            ExchangeTimes = input.ReadUInt32();
            break;
          }
          case 114: {
            if (playerSettingInfo_ == null) {
              PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo();
            }
            input.ReadMessage(PlayerSettingInfo);
            break;
          }
          case 120: {
            LastSetNicknameTime = input.ReadInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
