// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: TrainPartyData.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 TrainPartyData.proto</summary>
  public static partial class TrainPartyDataReflection {

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

    static TrainPartyDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChRUcmFpblBhcnR5RGF0YS5wcm90bxodVHJhaW5QYXJ0eVBhc3Nlbmdlcklu",
            "Zm8ucHJvdG8aEUNETkdORE5MTkFKLnByb3RvGhRUcmFpblBhcnR5SW5mby5w",
            "cm90byLmAQoOVHJhaW5QYXJ0eURhdGESIQoLQ0VGTUJBRkNOUEsYDCABKAsy",
            "DC5DRE5HTkROTE5BShIwCg5wYXNzZW5nZXJfaW5mbxgDIAEoCzIYLlRyYWlu",
            "UGFydHlQYXNzZW5nZXJJbmZvEhMKC0FJQU5PRktOTEhHGA0gASgNEhMKC0JI",
            "Q1BEQkJGTkVGGA4gASgIEhEKCXJlY29yZF9pZBgFIAEoDRIpChB0cmFpbl9w",
            "YXJ0eV9pbmZvGAIgASgLMg8uVHJhaW5QYXJ0eUluZm8SFwoPdW5sb2NrX2Fy",
            "ZWFfbnVtGAcgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
            "BnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CDNGNDNLNAJReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyData), global::EggLink.DanhengServer.Proto.TrainPartyData.Parser, new[]{ "CEFMBAFCNPK", "PassengerInfo", "AIANOFKNLHG", "BHCPDBBFNEF", "RecordId", "TrainPartyInfo", "UnlockAreaNum" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class TrainPartyData : pb::IMessage<TrainPartyData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TrainPartyData> _parser = new pb::MessageParser<TrainPartyData>(() => new TrainPartyData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TrainPartyData> 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.TrainPartyDataReflection.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 TrainPartyData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TrainPartyData(TrainPartyData other) : this() {
      cEFMBAFCNPK_ = other.cEFMBAFCNPK_ != null ? other.cEFMBAFCNPK_.Clone() : null;
      passengerInfo_ = other.passengerInfo_ != null ? other.passengerInfo_.Clone() : null;
      aIANOFKNLHG_ = other.aIANOFKNLHG_;
      bHCPDBBFNEF_ = other.bHCPDBBFNEF_;
      recordId_ = other.recordId_;
      trainPartyInfo_ = other.trainPartyInfo_ != null ? other.trainPartyInfo_.Clone() : null;
      unlockAreaNum_ = other.unlockAreaNum_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TrainPartyData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(CEFMBAFCNPK, other.CEFMBAFCNPK)) return false;
      if (!object.Equals(PassengerInfo, other.PassengerInfo)) return false;
      if (AIANOFKNLHG != other.AIANOFKNLHG) return false;
      if (BHCPDBBFNEF != other.BHCPDBBFNEF) return false;
      if (RecordId != other.RecordId) return false;
      if (!object.Equals(TrainPartyInfo, other.TrainPartyInfo)) return false;
      if (UnlockAreaNum != other.UnlockAreaNum) 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 (cEFMBAFCNPK_ != null) hash ^= CEFMBAFCNPK.GetHashCode();
      if (passengerInfo_ != null) hash ^= PassengerInfo.GetHashCode();
      if (AIANOFKNLHG != 0) hash ^= AIANOFKNLHG.GetHashCode();
      if (BHCPDBBFNEF != false) hash ^= BHCPDBBFNEF.GetHashCode();
      if (RecordId != 0) hash ^= RecordId.GetHashCode();
      if (trainPartyInfo_ != null) hash ^= TrainPartyInfo.GetHashCode();
      if (UnlockAreaNum != 0) hash ^= UnlockAreaNum.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 (trainPartyInfo_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(TrainPartyInfo);
      }
      if (passengerInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(PassengerInfo);
      }
      if (RecordId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(RecordId);
      }
      if (UnlockAreaNum != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(UnlockAreaNum);
      }
      if (cEFMBAFCNPK_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(CEFMBAFCNPK);
      }
      if (AIANOFKNLHG != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(AIANOFKNLHG);
      }
      if (BHCPDBBFNEF != false) {
        output.WriteRawTag(112);
        output.WriteBool(BHCPDBBFNEF);
      }
      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 (trainPartyInfo_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(TrainPartyInfo);
      }
      if (passengerInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(PassengerInfo);
      }
      if (RecordId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(RecordId);
      }
      if (UnlockAreaNum != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(UnlockAreaNum);
      }
      if (cEFMBAFCNPK_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(CEFMBAFCNPK);
      }
      if (AIANOFKNLHG != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(AIANOFKNLHG);
      }
      if (BHCPDBBFNEF != false) {
        output.WriteRawTag(112);
        output.WriteBool(BHCPDBBFNEF);
      }
      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 (cEFMBAFCNPK_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CEFMBAFCNPK);
      }
      if (passengerInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassengerInfo);
      }
      if (AIANOFKNLHG != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AIANOFKNLHG);
      }
      if (BHCPDBBFNEF != false) {
        size += 1 + 1;
      }
      if (RecordId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
      }
      if (trainPartyInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyInfo);
      }
      if (UnlockAreaNum != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockAreaNum);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TrainPartyData other) {
      if (other == null) {
        return;
      }
      if (other.cEFMBAFCNPK_ != null) {
        if (cEFMBAFCNPK_ == null) {
          CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ();
        }
        CEFMBAFCNPK.MergeFrom(other.CEFMBAFCNPK);
      }
      if (other.passengerInfo_ != null) {
        if (passengerInfo_ == null) {
          PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
        }
        PassengerInfo.MergeFrom(other.PassengerInfo);
      }
      if (other.AIANOFKNLHG != 0) {
        AIANOFKNLHG = other.AIANOFKNLHG;
      }
      if (other.BHCPDBBFNEF != false) {
        BHCPDBBFNEF = other.BHCPDBBFNEF;
      }
      if (other.RecordId != 0) {
        RecordId = other.RecordId;
      }
      if (other.trainPartyInfo_ != null) {
        if (trainPartyInfo_ == null) {
          TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
        }
        TrainPartyInfo.MergeFrom(other.TrainPartyInfo);
      }
      if (other.UnlockAreaNum != 0) {
        UnlockAreaNum = other.UnlockAreaNum;
      }
      _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 18: {
            if (trainPartyInfo_ == null) {
              TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
            }
            input.ReadMessage(TrainPartyInfo);
            break;
          }
          case 26: {
            if (passengerInfo_ == null) {
              PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
            }
            input.ReadMessage(PassengerInfo);
            break;
          }
          case 40: {
            RecordId = input.ReadUInt32();
            break;
          }
          case 56: {
            UnlockAreaNum = input.ReadUInt32();
            break;
          }
          case 98: {
            if (cEFMBAFCNPK_ == null) {
              CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ();
            }
            input.ReadMessage(CEFMBAFCNPK);
            break;
          }
          case 104: {
            AIANOFKNLHG = input.ReadUInt32();
            break;
          }
          case 112: {
            BHCPDBBFNEF = input.ReadBool();
            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 18: {
            if (trainPartyInfo_ == null) {
              TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
            }
            input.ReadMessage(TrainPartyInfo);
            break;
          }
          case 26: {
            if (passengerInfo_ == null) {
              PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
            }
            input.ReadMessage(PassengerInfo);
            break;
          }
          case 40: {
            RecordId = input.ReadUInt32();
            break;
          }
          case 56: {
            UnlockAreaNum = input.ReadUInt32();
            break;
          }
          case 98: {
            if (cEFMBAFCNPK_ == null) {
              CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ();
            }
            input.ReadMessage(CEFMBAFCNPK);
            break;
          }
          case 104: {
            AIANOFKNLHG = input.ReadUInt32();
            break;
          }
          case 112: {
            BHCPDBBFNEF = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
