581 lines
20 KiB
C#
581 lines
20 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/persisted_audio_player_data.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 RecRoom.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from rec_room/persistence/persisted_audio_player_data.proto</summary>
|
|
public static partial class PersistedAudioPlayerDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/persisted_audio_player_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PersistedAudioPlayerDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjZyZWNfcm9vbS9wZXJzaXN0ZW5jZS9wZXJzaXN0ZWRfYXVkaW9fcGxheWVy",
|
|
"X2RhdGEucHJvdG8SCHJlY19yb29tIvoBChhQZXJzaXN0ZWRBdWRpb1BsYXll",
|
|
"ckRhdGESDAoEbG9vcBgBIAEoCBIZChF1c2Vfc3BhdGlhbF9hdWRpbxgCIAEo",
|
|
"CBIfChdpbnRlcnJ1cHRfY3VycmVudF9zb3VuZBgDIAEoCBIPCgdjaGFubmVs",
|
|
"GAUgASgFEg0KBXNwZWVkGAYgASgCEg4KBnZvbHVtZRgHIAEoAhITCgttYXhf",
|
|
"cm9sbG9mZhgIIAEoAhIVCg1yb2xsb2ZmX2N1cnZlGAkgASgFEhcKD2RvcHBs",
|
|
"ZXJfZW5hYmxlZBgKIAEoCBIfChdERVBSRUNBVEVEX3BsYXlfZm9yX2FsbBgE",
|
|
"IAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.PersistedAudioPlayerData), global::RecRoom.Protobuf.PersistedAudioPlayerData.Parser, new[]{ "Loop", "UseSpatialAudio", "InterruptCurrentSound", "Channel", "Speed", "Volume", "MaxRolloff", "RolloffCurve", "DopplerEnabled", "DEPRECATEDPlayForAll" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PersistedAudioPlayerData : pb::IMessage<PersistedAudioPlayerData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PersistedAudioPlayerData> _parser = new pb::MessageParser<PersistedAudioPlayerData>(() => new PersistedAudioPlayerData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PersistedAudioPlayerData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RecRoom.Protobuf.PersistedAudioPlayerDataReflection.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 PersistedAudioPlayerData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PersistedAudioPlayerData(PersistedAudioPlayerData other) : this() {
|
|
loop_ = other.loop_;
|
|
useSpatialAudio_ = other.useSpatialAudio_;
|
|
interruptCurrentSound_ = other.interruptCurrentSound_;
|
|
channel_ = other.channel_;
|
|
speed_ = other.speed_;
|
|
volume_ = other.volume_;
|
|
maxRolloff_ = other.maxRolloff_;
|
|
rolloffCurve_ = other.rolloffCurve_;
|
|
dopplerEnabled_ = other.dopplerEnabled_;
|
|
dEPRECATEDPlayForAll_ = other.dEPRECATEDPlayForAll_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PersistedAudioPlayerData Clone() {
|
|
return new PersistedAudioPlayerData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "loop" field.</summary>
|
|
public const int LoopFieldNumber = 1;
|
|
private bool loop_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Loop {
|
|
get { return loop_; }
|
|
set {
|
|
loop_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "use_spatial_audio" field.</summary>
|
|
public const int UseSpatialAudioFieldNumber = 2;
|
|
private bool useSpatialAudio_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool UseSpatialAudio {
|
|
get { return useSpatialAudio_; }
|
|
set {
|
|
useSpatialAudio_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "interrupt_current_sound" field.</summary>
|
|
public const int InterruptCurrentSoundFieldNumber = 3;
|
|
private bool interruptCurrentSound_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool InterruptCurrentSound {
|
|
get { return interruptCurrentSound_; }
|
|
set {
|
|
interruptCurrentSound_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "channel" field.</summary>
|
|
public const int ChannelFieldNumber = 5;
|
|
private int channel_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Channel {
|
|
get { return channel_; }
|
|
set {
|
|
channel_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "speed" field.</summary>
|
|
public const int SpeedFieldNumber = 6;
|
|
private float speed_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float Speed {
|
|
get { return speed_; }
|
|
set {
|
|
speed_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "volume" field.</summary>
|
|
public const int VolumeFieldNumber = 7;
|
|
private float volume_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float Volume {
|
|
get { return volume_; }
|
|
set {
|
|
volume_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "max_rolloff" field.</summary>
|
|
public const int MaxRolloffFieldNumber = 8;
|
|
private float maxRolloff_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float MaxRolloff {
|
|
get { return maxRolloff_; }
|
|
set {
|
|
maxRolloff_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rolloff_curve" field.</summary>
|
|
public const int RolloffCurveFieldNumber = 9;
|
|
private int rolloffCurve_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int RolloffCurve {
|
|
get { return rolloffCurve_; }
|
|
set {
|
|
rolloffCurve_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "doppler_enabled" field.</summary>
|
|
public const int DopplerEnabledFieldNumber = 10;
|
|
private bool dopplerEnabled_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DopplerEnabled {
|
|
get { return dopplerEnabled_; }
|
|
set {
|
|
dopplerEnabled_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_play_for_all" field.</summary>
|
|
public const int DEPRECATEDPlayForAllFieldNumber = 4;
|
|
private bool dEPRECATEDPlayForAll_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DEPRECATEDPlayForAll {
|
|
get { return dEPRECATEDPlayForAll_; }
|
|
set {
|
|
dEPRECATEDPlayForAll_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PersistedAudioPlayerData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PersistedAudioPlayerData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Loop != other.Loop) return false;
|
|
if (UseSpatialAudio != other.UseSpatialAudio) return false;
|
|
if (InterruptCurrentSound != other.InterruptCurrentSound) return false;
|
|
if (Channel != other.Channel) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Speed, other.Speed)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxRolloff, other.MaxRolloff)) return false;
|
|
if (RolloffCurve != other.RolloffCurve) return false;
|
|
if (DopplerEnabled != other.DopplerEnabled) return false;
|
|
if (DEPRECATEDPlayForAll != other.DEPRECATEDPlayForAll) 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 (Loop != false) hash ^= Loop.GetHashCode();
|
|
if (UseSpatialAudio != false) hash ^= UseSpatialAudio.GetHashCode();
|
|
if (InterruptCurrentSound != false) hash ^= InterruptCurrentSound.GetHashCode();
|
|
if (Channel != 0) hash ^= Channel.GetHashCode();
|
|
if (Speed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed);
|
|
if (Volume != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume);
|
|
if (MaxRolloff != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxRolloff);
|
|
if (RolloffCurve != 0) hash ^= RolloffCurve.GetHashCode();
|
|
if (DopplerEnabled != false) hash ^= DopplerEnabled.GetHashCode();
|
|
if (DEPRECATEDPlayForAll != false) hash ^= DEPRECATEDPlayForAll.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 (Loop != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(Loop);
|
|
}
|
|
if (UseSpatialAudio != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(UseSpatialAudio);
|
|
}
|
|
if (InterruptCurrentSound != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(InterruptCurrentSound);
|
|
}
|
|
if (DEPRECATEDPlayForAll != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(DEPRECATEDPlayForAll);
|
|
}
|
|
if (Channel != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Channel);
|
|
}
|
|
if (Speed != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(Speed);
|
|
}
|
|
if (Volume != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(Volume);
|
|
}
|
|
if (MaxRolloff != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(MaxRolloff);
|
|
}
|
|
if (RolloffCurve != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(RolloffCurve);
|
|
}
|
|
if (DopplerEnabled != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(DopplerEnabled);
|
|
}
|
|
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 (Loop != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(Loop);
|
|
}
|
|
if (UseSpatialAudio != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(UseSpatialAudio);
|
|
}
|
|
if (InterruptCurrentSound != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(InterruptCurrentSound);
|
|
}
|
|
if (DEPRECATEDPlayForAll != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(DEPRECATEDPlayForAll);
|
|
}
|
|
if (Channel != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Channel);
|
|
}
|
|
if (Speed != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(Speed);
|
|
}
|
|
if (Volume != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(Volume);
|
|
}
|
|
if (MaxRolloff != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(MaxRolloff);
|
|
}
|
|
if (RolloffCurve != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(RolloffCurve);
|
|
}
|
|
if (DopplerEnabled != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(DopplerEnabled);
|
|
}
|
|
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 (Loop != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (UseSpatialAudio != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (InterruptCurrentSound != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Channel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channel);
|
|
}
|
|
if (Speed != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Volume != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (MaxRolloff != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (RolloffCurve != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RolloffCurve);
|
|
}
|
|
if (DopplerEnabled != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DEPRECATEDPlayForAll != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PersistedAudioPlayerData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Loop != false) {
|
|
Loop = other.Loop;
|
|
}
|
|
if (other.UseSpatialAudio != false) {
|
|
UseSpatialAudio = other.UseSpatialAudio;
|
|
}
|
|
if (other.InterruptCurrentSound != false) {
|
|
InterruptCurrentSound = other.InterruptCurrentSound;
|
|
}
|
|
if (other.Channel != 0) {
|
|
Channel = other.Channel;
|
|
}
|
|
if (other.Speed != 0F) {
|
|
Speed = other.Speed;
|
|
}
|
|
if (other.Volume != 0F) {
|
|
Volume = other.Volume;
|
|
}
|
|
if (other.MaxRolloff != 0F) {
|
|
MaxRolloff = other.MaxRolloff;
|
|
}
|
|
if (other.RolloffCurve != 0) {
|
|
RolloffCurve = other.RolloffCurve;
|
|
}
|
|
if (other.DopplerEnabled != false) {
|
|
DopplerEnabled = other.DopplerEnabled;
|
|
}
|
|
if (other.DEPRECATEDPlayForAll != false) {
|
|
DEPRECATEDPlayForAll = other.DEPRECATEDPlayForAll;
|
|
}
|
|
_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: {
|
|
Loop = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
UseSpatialAudio = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
InterruptCurrentSound = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DEPRECATEDPlayForAll = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Channel = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
Speed = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
Volume = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
MaxRolloff = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 72: {
|
|
RolloffCurve = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
DopplerEnabled = 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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Loop = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
UseSpatialAudio = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
InterruptCurrentSound = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DEPRECATEDPlayForAll = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Channel = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
Speed = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
Volume = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
MaxRolloff = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 72: {
|
|
RolloffCurve = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
DopplerEnabled = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|