// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/trail_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 RecRoom.Protobuf { /// Holder for reflection information generated from rec_room/persistence/trail_data.proto public static partial class TrailDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/trail_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TrailDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiVyZWNfcm9vbS9wZXJzaXN0ZW5jZS90cmFpbF9kYXRhLnByb3RvEghyZWNf", "cm9vbSLGAQoJVHJhaWxEYXRhEg8KB2VuYWJsZWQYASABKAgSFgoOZmFkZUlu", "RHVyYXRpb24YAiABKAISFwoPZmFkZU91dER1cmF0aW9uGAMgASgCEhAKCGxp", "ZmV0aW1lGAQgASgCEg8KB29wYWNpdHkYBSABKAISEAoIbWF0ZXJpYWwYBiAB", "KAUSEgoKd2lkdGhDdXJ2ZRgHIAEoBRIQCghncmFkaWVudBgIIAEoBRIcChRh", "bGlnblRvQ2FtZXJhRW5hYmxlZBgJIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1", "ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TrailData), global::RecRoom.Protobuf.TrailData.Parser, new[]{ "Enabled", "FadeInDuration", "FadeOutDuration", "Lifetime", "Opacity", "Material", "WidthCurve", "Gradient", "AlignToCameraEnabled" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TrailData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TrailData()); 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::RecRoom.Protobuf.TrailDataReflection.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 TrailData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TrailData(TrailData other) : this() { enabled_ = other.enabled_; fadeInDuration_ = other.fadeInDuration_; fadeOutDuration_ = other.fadeOutDuration_; lifetime_ = other.lifetime_; opacity_ = other.opacity_; material_ = other.material_; widthCurve_ = other.widthCurve_; gradient_ = other.gradient_; alignToCameraEnabled_ = other.alignToCameraEnabled_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TrailData Clone() { return new TrailData(this); } /// Field number for the "enabled" field. public const int EnabledFieldNumber = 1; private bool enabled_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Enabled { get { return enabled_; } set { enabled_ = value; } } /// Field number for the "fadeInDuration" field. public const int FadeInDurationFieldNumber = 2; private float fadeInDuration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FadeInDuration { get { return fadeInDuration_; } set { fadeInDuration_ = value; } } /// Field number for the "fadeOutDuration" field. public const int FadeOutDurationFieldNumber = 3; private float fadeOutDuration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FadeOutDuration { get { return fadeOutDuration_; } set { fadeOutDuration_ = value; } } /// Field number for the "lifetime" field. public const int LifetimeFieldNumber = 4; private float lifetime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Lifetime { get { return lifetime_; } set { lifetime_ = value; } } /// Field number for the "opacity" field. public const int OpacityFieldNumber = 5; private float opacity_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Opacity { get { return opacity_; } set { opacity_ = value; } } /// Field number for the "material" field. public const int MaterialFieldNumber = 6; private int material_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Material { get { return material_; } set { material_ = value; } } /// Field number for the "widthCurve" field. public const int WidthCurveFieldNumber = 7; private int widthCurve_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int WidthCurve { get { return widthCurve_; } set { widthCurve_ = value; } } /// Field number for the "gradient" field. public const int GradientFieldNumber = 8; private int gradient_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Gradient { get { return gradient_; } set { gradient_ = value; } } /// Field number for the "alignToCameraEnabled" field. public const int AlignToCameraEnabledFieldNumber = 9; private bool alignToCameraEnabled_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AlignToCameraEnabled { get { return alignToCameraEnabled_; } set { alignToCameraEnabled_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TrailData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TrailData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Enabled != other.Enabled) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FadeInDuration, other.FadeInDuration)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FadeOutDuration, other.FadeOutDuration)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Lifetime, other.Lifetime)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; if (Material != other.Material) return false; if (WidthCurve != other.WidthCurve) return false; if (Gradient != other.Gradient) return false; if (AlignToCameraEnabled != other.AlignToCameraEnabled) 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 (Enabled != false) hash ^= Enabled.GetHashCode(); if (FadeInDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FadeInDuration); if (FadeOutDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FadeOutDuration); if (Lifetime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Lifetime); if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); if (Material != 0) hash ^= Material.GetHashCode(); if (WidthCurve != 0) hash ^= WidthCurve.GetHashCode(); if (Gradient != 0) hash ^= Gradient.GetHashCode(); if (AlignToCameraEnabled != false) hash ^= AlignToCameraEnabled.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 (Enabled != false) { output.WriteRawTag(8); output.WriteBool(Enabled); } if (FadeInDuration != 0F) { output.WriteRawTag(21); output.WriteFloat(FadeInDuration); } if (FadeOutDuration != 0F) { output.WriteRawTag(29); output.WriteFloat(FadeOutDuration); } if (Lifetime != 0F) { output.WriteRawTag(37); output.WriteFloat(Lifetime); } if (Opacity != 0F) { output.WriteRawTag(45); output.WriteFloat(Opacity); } if (Material != 0) { output.WriteRawTag(48); output.WriteInt32(Material); } if (WidthCurve != 0) { output.WriteRawTag(56); output.WriteInt32(WidthCurve); } if (Gradient != 0) { output.WriteRawTag(64); output.WriteInt32(Gradient); } if (AlignToCameraEnabled != false) { output.WriteRawTag(72); output.WriteBool(AlignToCameraEnabled); } 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 (Enabled != false) { output.WriteRawTag(8); output.WriteBool(Enabled); } if (FadeInDuration != 0F) { output.WriteRawTag(21); output.WriteFloat(FadeInDuration); } if (FadeOutDuration != 0F) { output.WriteRawTag(29); output.WriteFloat(FadeOutDuration); } if (Lifetime != 0F) { output.WriteRawTag(37); output.WriteFloat(Lifetime); } if (Opacity != 0F) { output.WriteRawTag(45); output.WriteFloat(Opacity); } if (Material != 0) { output.WriteRawTag(48); output.WriteInt32(Material); } if (WidthCurve != 0) { output.WriteRawTag(56); output.WriteInt32(WidthCurve); } if (Gradient != 0) { output.WriteRawTag(64); output.WriteInt32(Gradient); } if (AlignToCameraEnabled != false) { output.WriteRawTag(72); output.WriteBool(AlignToCameraEnabled); } 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 (Enabled != false) { size += 1 + 1; } if (FadeInDuration != 0F) { size += 1 + 4; } if (FadeOutDuration != 0F) { size += 1 + 4; } if (Lifetime != 0F) { size += 1 + 4; } if (Opacity != 0F) { size += 1 + 4; } if (Material != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Material); } if (WidthCurve != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(WidthCurve); } if (Gradient != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Gradient); } if (AlignToCameraEnabled != 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(TrailData other) { if (other == null) { return; } if (other.Enabled != false) { Enabled = other.Enabled; } if (other.FadeInDuration != 0F) { FadeInDuration = other.FadeInDuration; } if (other.FadeOutDuration != 0F) { FadeOutDuration = other.FadeOutDuration; } if (other.Lifetime != 0F) { Lifetime = other.Lifetime; } if (other.Opacity != 0F) { Opacity = other.Opacity; } if (other.Material != 0) { Material = other.Material; } if (other.WidthCurve != 0) { WidthCurve = other.WidthCurve; } if (other.Gradient != 0) { Gradient = other.Gradient; } if (other.AlignToCameraEnabled != false) { AlignToCameraEnabled = other.AlignToCameraEnabled; } _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: { Enabled = input.ReadBool(); break; } case 21: { FadeInDuration = input.ReadFloat(); break; } case 29: { FadeOutDuration = input.ReadFloat(); break; } case 37: { Lifetime = input.ReadFloat(); break; } case 45: { Opacity = input.ReadFloat(); break; } case 48: { Material = input.ReadInt32(); break; } case 56: { WidthCurve = input.ReadInt32(); break; } case 64: { Gradient = input.ReadInt32(); break; } case 72: { AlignToCameraEnabled = 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: { Enabled = input.ReadBool(); break; } case 21: { FadeInDuration = input.ReadFloat(); break; } case 29: { FadeOutDuration = input.ReadFloat(); break; } case 37: { Lifetime = input.ReadFloat(); break; } case 45: { Opacity = input.ReadFloat(); break; } case 48: { Material = input.ReadInt32(); break; } case 56: { WidthCurve = input.ReadInt32(); break; } case 64: { Gradient = input.ReadInt32(); break; } case 72: { AlignToCameraEnabled = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code