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

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

    static RogueAdventureRoomGameplayWolfGunTargetReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ci1Sb2d1ZUFkdmVudHVyZVJvb21HYW1lcGxheVdvbGZHdW5UYXJnZXQucHJv",
            "dG8aIlJvZ3VlQWR2ZW50dXJlUm9vbVRhcmdldE5vbmUucHJvdG8aJVJvZ3Vl",
            "QWR2ZW50dXJlUm9vbVRhcmdldE1pcmFjbGUucHJvdG8aIlJvZ3VlQWR2ZW50",
            "dXJlUm9vbVRhcmdldENvaW4ucHJvdG8aJVJvZ3VlQWR2ZW50dXJlUm9vbVRh",
            "cmdldFJ1YW5tZWkucHJvdG8ioAIKJ1JvZ3VlQWR2ZW50dXJlUm9vbUdhbWVw",
            "bGF5V29sZkd1blRhcmdldBIzCgpUYXJnZXROb25lGA8gASgLMh0uUm9ndWVB",
            "ZHZlbnR1cmVSb29tVGFyZ2V0Tm9uZUgAEjMKClRhcmdldENvaW4YBiABKAsy",
            "HS5Sb2d1ZUFkdmVudHVyZVJvb21UYXJnZXRDb2luSAASOQoNVGFyZ2V0TWly",
            "YWNsZRgHIAEoCzIgLlJvZ3VlQWR2ZW50dXJlUm9vbVRhcmdldE1pcmFjbGVI",
            "ABI5Cg1UYXJnZXRSdWFubWVpGAwgASgLMiAuUm9ndWVBZHZlbnR1cmVSb29t",
            "VGFyZ2V0UnVhbm1laUgAQhUKE1RhcmdldEltcGxPbmVvZkNhc2VCHqoCG0Vn",
            "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNoneReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracleReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoinReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmeiReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunTarget), global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunTarget.Parser, new[]{ "TargetNone", "TargetCoin", "TargetMiracle", "TargetRuanmei" }, new[]{ "TargetImplOneofCase" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RogueAdventureRoomGameplayWolfGunTarget(RogueAdventureRoomGameplayWolfGunTarget other) : this() {
      switch (other.TargetImplOneofCaseCase) {
        case TargetImplOneofCaseOneofCase.TargetNone:
          TargetNone = other.TargetNone.Clone();
          break;
        case TargetImplOneofCaseOneofCase.TargetCoin:
          TargetCoin = other.TargetCoin.Clone();
          break;
        case TargetImplOneofCaseOneofCase.TargetMiracle:
          TargetMiracle = other.TargetMiracle.Clone();
          break;
        case TargetImplOneofCaseOneofCase.TargetRuanmei:
          TargetRuanmei = other.TargetRuanmei.Clone();
          break;
      }

      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "TargetNone" field.</summary>
    public const int TargetNoneFieldNumber = 15;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone TargetNone {
      get { return targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone ? (global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone) targetImplOneofCase_ : null; }
      set {
        targetImplOneofCase_ = value;
        targetImplOneofCaseCase_ = value == null ? TargetImplOneofCaseOneofCase.None : TargetImplOneofCaseOneofCase.TargetNone;
      }
    }

    /// <summary>Field number for the "TargetCoin" field.</summary>
    public const int TargetCoinFieldNumber = 6;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin TargetCoin {
      get { return targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin ? (global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin) targetImplOneofCase_ : null; }
      set {
        targetImplOneofCase_ = value;
        targetImplOneofCaseCase_ = value == null ? TargetImplOneofCaseOneofCase.None : TargetImplOneofCaseOneofCase.TargetCoin;
      }
    }

    /// <summary>Field number for the "TargetMiracle" field.</summary>
    public const int TargetMiracleFieldNumber = 7;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle TargetMiracle {
      get { return targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle ? (global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle) targetImplOneofCase_ : null; }
      set {
        targetImplOneofCase_ = value;
        targetImplOneofCaseCase_ = value == null ? TargetImplOneofCaseOneofCase.None : TargetImplOneofCaseOneofCase.TargetMiracle;
      }
    }

    /// <summary>Field number for the "TargetRuanmei" field.</summary>
    public const int TargetRuanmeiFieldNumber = 12;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei TargetRuanmei {
      get { return targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei ? (global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei) targetImplOneofCase_ : null; }
      set {
        targetImplOneofCase_ = value;
        targetImplOneofCaseCase_ = value == null ? TargetImplOneofCaseOneofCase.None : TargetImplOneofCaseOneofCase.TargetRuanmei;
      }
    }

    private object targetImplOneofCase_;
    /// <summary>Enum of possible cases for the "TargetImplOneofCase" oneof.</summary>
    public enum TargetImplOneofCaseOneofCase {
      None = 0,
      TargetNone = 15,
      TargetCoin = 6,
      TargetMiracle = 7,
      TargetRuanmei = 12,
    }
    private TargetImplOneofCaseOneofCase targetImplOneofCaseCase_ = TargetImplOneofCaseOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TargetImplOneofCaseOneofCase TargetImplOneofCaseCase {
      get { return targetImplOneofCaseCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearTargetImplOneofCase() {
      targetImplOneofCaseCase_ = TargetImplOneofCaseOneofCase.None;
      targetImplOneofCase_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RogueAdventureRoomGameplayWolfGunTarget other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(TargetNone, other.TargetNone)) return false;
      if (!object.Equals(TargetCoin, other.TargetCoin)) return false;
      if (!object.Equals(TargetMiracle, other.TargetMiracle)) return false;
      if (!object.Equals(TargetRuanmei, other.TargetRuanmei)) return false;
      if (TargetImplOneofCaseCase != other.TargetImplOneofCaseCase) 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 (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) hash ^= TargetNone.GetHashCode();
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) hash ^= TargetCoin.GetHashCode();
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) hash ^= TargetMiracle.GetHashCode();
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) hash ^= TargetRuanmei.GetHashCode();
      hash ^= (int) targetImplOneofCaseCase_;
      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 (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) {
        output.WriteRawTag(50);
        output.WriteMessage(TargetCoin);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) {
        output.WriteRawTag(58);
        output.WriteMessage(TargetMiracle);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) {
        output.WriteRawTag(98);
        output.WriteMessage(TargetRuanmei);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) {
        output.WriteRawTag(122);
        output.WriteMessage(TargetNone);
      }
      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 (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) {
        output.WriteRawTag(50);
        output.WriteMessage(TargetCoin);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) {
        output.WriteRawTag(58);
        output.WriteMessage(TargetMiracle);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) {
        output.WriteRawTag(98);
        output.WriteMessage(TargetRuanmei);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) {
        output.WriteRawTag(122);
        output.WriteMessage(TargetNone);
      }
      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 (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetNone);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetCoin);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetMiracle);
      }
      if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetRuanmei);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RogueAdventureRoomGameplayWolfGunTarget other) {
      if (other == null) {
        return;
      }
      switch (other.TargetImplOneofCaseCase) {
        case TargetImplOneofCaseOneofCase.TargetNone:
          if (TargetNone == null) {
            TargetNone = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone();
          }
          TargetNone.MergeFrom(other.TargetNone);
          break;
        case TargetImplOneofCaseOneofCase.TargetCoin:
          if (TargetCoin == null) {
            TargetCoin = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin();
          }
          TargetCoin.MergeFrom(other.TargetCoin);
          break;
        case TargetImplOneofCaseOneofCase.TargetMiracle:
          if (TargetMiracle == null) {
            TargetMiracle = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle();
          }
          TargetMiracle.MergeFrom(other.TargetMiracle);
          break;
        case TargetImplOneofCaseOneofCase.TargetRuanmei:
          if (TargetRuanmei == null) {
            TargetRuanmei = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei();
          }
          TargetRuanmei.MergeFrom(other.TargetRuanmei);
          break;
      }

      _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 50: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) {
              subBuilder.MergeFrom(TargetCoin);
            }
            input.ReadMessage(subBuilder);
            TargetCoin = subBuilder;
            break;
          }
          case 58: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) {
              subBuilder.MergeFrom(TargetMiracle);
            }
            input.ReadMessage(subBuilder);
            TargetMiracle = subBuilder;
            break;
          }
          case 98: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) {
              subBuilder.MergeFrom(TargetRuanmei);
            }
            input.ReadMessage(subBuilder);
            TargetRuanmei = subBuilder;
            break;
          }
          case 122: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) {
              subBuilder.MergeFrom(TargetNone);
            }
            input.ReadMessage(subBuilder);
            TargetNone = subBuilder;
            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 50: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetCoin();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetCoin) {
              subBuilder.MergeFrom(TargetCoin);
            }
            input.ReadMessage(subBuilder);
            TargetCoin = subBuilder;
            break;
          }
          case 58: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetMiracle();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetMiracle) {
              subBuilder.MergeFrom(TargetMiracle);
            }
            input.ReadMessage(subBuilder);
            TargetMiracle = subBuilder;
            break;
          }
          case 98: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetRuanmei();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetRuanmei) {
              subBuilder.MergeFrom(TargetRuanmei);
            }
            input.ReadMessage(subBuilder);
            TargetRuanmei = subBuilder;
            break;
          }
          case 122: {
            global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone subBuilder = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomTargetNone();
            if (targetImplOneofCaseCase_ == TargetImplOneofCaseOneofCase.TargetNone) {
              subBuilder.MergeFrom(TargetNone);
            }
            input.ReadMessage(subBuilder);
            TargetNone = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
