//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/play_audio_at_position_data.proto
//
#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 CircuitsV2.Protobuf {
/// Holder for reflection information generated from circuits_v2/play_audio_at_position_data.proto
public static partial class PlayAudioAtPositionDataReflection {
#region Descriptor
/// File descriptor for circuits_v2/play_audio_at_position_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PlayAudioAtPositionDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci1jaXJjdWl0c192Mi9wbGF5X2F1ZGlvX2F0X3Bvc2l0aW9uX2RhdGEucHJv",
"dG8SC2NpcmN1aXRzX3YyIpABChdQbGF5QXVkaW9BdFBvc2l0aW9uRGF0YRIO",
"CgZzeW5jZWQYASABKAgSHAoUbWF4X3JvbGxvZmZfZGlzdGFuY2UYAiABKAIS",
"FQoNcm9sbG9mZl9jdXJ2ZRgDIAEoBRIVCg1hdWRpb19jaGFubmVsGAQgASgF",
"EhkKEWF1ZGlvX3N1Yl9jaGFubmVsGAUgASgJQhaqAhNDaXJjdWl0c1YyLlBy",
"b3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.PlayAudioAtPositionData), global::CircuitsV2.Protobuf.PlayAudioAtPositionData.Parser, new[]{ "Synced", "MaxRolloffDistance", "RolloffCurve", "AudioChannel", "AudioSubChannel" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayAudioAtPositionData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayAudioAtPositionData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::CircuitsV2.Protobuf.PlayAudioAtPositionDataReflection.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 PlayAudioAtPositionData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayAudioAtPositionData(PlayAudioAtPositionData other) : this() {
synced_ = other.synced_;
maxRolloffDistance_ = other.maxRolloffDistance_;
rolloffCurve_ = other.rolloffCurve_;
audioChannel_ = other.audioChannel_;
audioSubChannel_ = other.audioSubChannel_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayAudioAtPositionData Clone() {
return new PlayAudioAtPositionData(this);
}
/// Field number for the "synced" field.
public const int SyncedFieldNumber = 1;
private bool synced_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Synced {
get { return synced_; }
set {
synced_ = value;
}
}
/// Field number for the "max_rolloff_distance" field.
public const int MaxRolloffDistanceFieldNumber = 2;
private float maxRolloffDistance_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float MaxRolloffDistance {
get { return maxRolloffDistance_; }
set {
maxRolloffDistance_ = value;
}
}
/// Field number for the "rolloff_curve" field.
public const int RolloffCurveFieldNumber = 3;
private int rolloffCurve_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RolloffCurve {
get { return rolloffCurve_; }
set {
rolloffCurve_ = value;
}
}
/// Field number for the "audio_channel" field.
public const int AudioChannelFieldNumber = 4;
private int audioChannel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AudioChannel {
get { return audioChannel_; }
set {
audioChannel_ = value;
}
}
/// Field number for the "audio_sub_channel" field.
public const int AudioSubChannelFieldNumber = 5;
private string audioSubChannel_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string AudioSubChannel {
get { return audioSubChannel_; }
set {
audioSubChannel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayAudioAtPositionData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayAudioAtPositionData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Synced != other.Synced) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxRolloffDistance, other.MaxRolloffDistance)) return false;
if (RolloffCurve != other.RolloffCurve) return false;
if (AudioChannel != other.AudioChannel) return false;
if (AudioSubChannel != other.AudioSubChannel) 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 (Synced != false) hash ^= Synced.GetHashCode();
if (MaxRolloffDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxRolloffDistance);
if (RolloffCurve != 0) hash ^= RolloffCurve.GetHashCode();
if (AudioChannel != 0) hash ^= AudioChannel.GetHashCode();
if (AudioSubChannel.Length != 0) hash ^= AudioSubChannel.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 (Synced != false) {
output.WriteRawTag(8);
output.WriteBool(Synced);
}
if (MaxRolloffDistance != 0F) {
output.WriteRawTag(21);
output.WriteFloat(MaxRolloffDistance);
}
if (RolloffCurve != 0) {
output.WriteRawTag(24);
output.WriteInt32(RolloffCurve);
}
if (AudioChannel != 0) {
output.WriteRawTag(32);
output.WriteInt32(AudioChannel);
}
if (AudioSubChannel.Length != 0) {
output.WriteRawTag(42);
output.WriteString(AudioSubChannel);
}
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 (Synced != false) {
output.WriteRawTag(8);
output.WriteBool(Synced);
}
if (MaxRolloffDistance != 0F) {
output.WriteRawTag(21);
output.WriteFloat(MaxRolloffDistance);
}
if (RolloffCurve != 0) {
output.WriteRawTag(24);
output.WriteInt32(RolloffCurve);
}
if (AudioChannel != 0) {
output.WriteRawTag(32);
output.WriteInt32(AudioChannel);
}
if (AudioSubChannel.Length != 0) {
output.WriteRawTag(42);
output.WriteString(AudioSubChannel);
}
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 (Synced != false) {
size += 1 + 1;
}
if (MaxRolloffDistance != 0F) {
size += 1 + 4;
}
if (RolloffCurve != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RolloffCurve);
}
if (AudioChannel != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AudioChannel);
}
if (AudioSubChannel.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(AudioSubChannel);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayAudioAtPositionData other) {
if (other == null) {
return;
}
if (other.Synced != false) {
Synced = other.Synced;
}
if (other.MaxRolloffDistance != 0F) {
MaxRolloffDistance = other.MaxRolloffDistance;
}
if (other.RolloffCurve != 0) {
RolloffCurve = other.RolloffCurve;
}
if (other.AudioChannel != 0) {
AudioChannel = other.AudioChannel;
}
if (other.AudioSubChannel.Length != 0) {
AudioSubChannel = other.AudioSubChannel;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Synced = input.ReadBool();
break;
}
case 21: {
MaxRolloffDistance = input.ReadFloat();
break;
}
case 24: {
RolloffCurve = input.ReadInt32();
break;
}
case 32: {
AudioChannel = input.ReadInt32();
break;
}
case 42: {
AudioSubChannel = input.ReadString();
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Synced = input.ReadBool();
break;
}
case 21: {
MaxRolloffDistance = input.ReadFloat();
break;
}
case 24: {
RolloffCurve = input.ReadInt32();
break;
}
case 32: {
AudioChannel = input.ReadInt32();
break;
}
case 42: {
AudioSubChannel = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code