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

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

    static SyncRogueCommonDialogueOptionFinishScNotifyReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjFTeW5jUm9ndWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5",
            "LnByb3RvGiNSb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uSW5mby5wcm90bxoh",
            "Um9ndWVDb21tb25EaWFsb2d1ZURhdGFJbmZvLnByb3RvIsoBCitTeW5jUm9n",
            "dWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5EjoKEnJlc3Vs",
            "dF9vcHRpb25faW5mbxgIIAEoCzIeLlJvZ3VlQ29tbW9uRGlhbG9ndWVPcHRp",
            "b25JbmZvEjMKDWRpYWxvZ3VlX2RhdGEYASABKAsyHC5Sb2d1ZUNvbW1vbkRp",
            "YWxvZ3VlRGF0YUluZm8SEQoJb3B0aW9uX2lkGAQgASgNEhcKD2V2ZW50X3Vu",
            "aXF1ZV9pZBgJIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
            "YgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify), global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify.Parser, new[]{ "ResultOptionInfo", "DialogueData", "OptionId", "EventUniqueId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SyncRogueCommonDialogueOptionFinishScNotify(SyncRogueCommonDialogueOptionFinishScNotify other) : this() {
      resultOptionInfo_ = other.resultOptionInfo_ != null ? other.resultOptionInfo_.Clone() : null;
      dialogueData_ = other.dialogueData_ != null ? other.dialogueData_.Clone() : null;
      optionId_ = other.optionId_;
      eventUniqueId_ = other.eventUniqueId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SyncRogueCommonDialogueOptionFinishScNotify other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(ResultOptionInfo, other.ResultOptionInfo)) return false;
      if (!object.Equals(DialogueData, other.DialogueData)) return false;
      if (OptionId != other.OptionId) return false;
      if (EventUniqueId != other.EventUniqueId) 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 (resultOptionInfo_ != null) hash ^= ResultOptionInfo.GetHashCode();
      if (dialogueData_ != null) hash ^= DialogueData.GetHashCode();
      if (OptionId != 0) hash ^= OptionId.GetHashCode();
      if (EventUniqueId != 0) hash ^= EventUniqueId.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 (dialogueData_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(DialogueData);
      }
      if (OptionId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(OptionId);
      }
      if (resultOptionInfo_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(ResultOptionInfo);
      }
      if (EventUniqueId != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(EventUniqueId);
      }
      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 (dialogueData_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(DialogueData);
      }
      if (OptionId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(OptionId);
      }
      if (resultOptionInfo_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(ResultOptionInfo);
      }
      if (EventUniqueId != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(EventUniqueId);
      }
      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 (resultOptionInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResultOptionInfo);
      }
      if (dialogueData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueData);
      }
      if (OptionId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId);
      }
      if (EventUniqueId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SyncRogueCommonDialogueOptionFinishScNotify other) {
      if (other == null) {
        return;
      }
      if (other.resultOptionInfo_ != null) {
        if (resultOptionInfo_ == null) {
          ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
        }
        ResultOptionInfo.MergeFrom(other.ResultOptionInfo);
      }
      if (other.dialogueData_ != null) {
        if (dialogueData_ == null) {
          DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
        }
        DialogueData.MergeFrom(other.DialogueData);
      }
      if (other.OptionId != 0) {
        OptionId = other.OptionId;
      }
      if (other.EventUniqueId != 0) {
        EventUniqueId = other.EventUniqueId;
      }
      _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 10: {
            if (dialogueData_ == null) {
              DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
            }
            input.ReadMessage(DialogueData);
            break;
          }
          case 32: {
            OptionId = input.ReadUInt32();
            break;
          }
          case 66: {
            if (resultOptionInfo_ == null) {
              ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
            }
            input.ReadMessage(ResultOptionInfo);
            break;
          }
          case 72: {
            EventUniqueId = input.ReadUInt32();
            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 10: {
            if (dialogueData_ == null) {
              DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
            }
            input.ReadMessage(DialogueData);
            break;
          }
          case 32: {
            OptionId = input.ReadUInt32();
            break;
          }
          case 66: {
            if (resultOptionInfo_ == null) {
              ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
            }
            input.ReadMessage(ResultOptionInfo);
            break;
          }
          case 72: {
            EventUniqueId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
