// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/fog_constant_node_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/fog_constant_node_data.proto public static partial class FogConstantNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/fog_constant_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static FogConstantNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CihjaXJjdWl0c192Mi9mb2dfY29uc3RhbnRfbm9kZV9kYXRhLnByb3RvEgtj", "aXJjdWl0c192MiJXChNGb2dDb25zdGFudE5vZGVEYXRhEhEKCWZvZ19jb2xv", "chgBIAEoBRIWCg5zdGFydF9kaXN0YW5jZRgCIAEoAhIVCg1mYWRlX2Rpc3Rh", "bmNlGAMgASgCQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.FogConstantNodeData), global::CircuitsV2.Protobuf.FogConstantNodeData.Parser, new[]{ "FogColor", "StartDistance", "FadeDistance" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class FogConstantNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FogConstantNodeData()); 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.FogConstantNodeDataReflection.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 FogConstantNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FogConstantNodeData(FogConstantNodeData other) : this() { fogColor_ = other.fogColor_; startDistance_ = other.startDistance_; fadeDistance_ = other.fadeDistance_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FogConstantNodeData Clone() { return new FogConstantNodeData(this); } /// Field number for the "fog_color" field. public const int FogColorFieldNumber = 1; private int fogColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FogColor { get { return fogColor_; } set { fogColor_ = value; } } /// Field number for the "start_distance" field. public const int StartDistanceFieldNumber = 2; private float startDistance_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float StartDistance { get { return startDistance_; } set { startDistance_ = value; } } /// Field number for the "fade_distance" field. public const int FadeDistanceFieldNumber = 3; private float fadeDistance_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FadeDistance { get { return fadeDistance_; } set { fadeDistance_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as FogConstantNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(FogConstantNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (FogColor != other.FogColor) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(StartDistance, other.StartDistance)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FadeDistance, other.FadeDistance)) 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 (FogColor != 0) hash ^= FogColor.GetHashCode(); if (StartDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartDistance); if (FadeDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FadeDistance); 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 (FogColor != 0) { output.WriteRawTag(8); output.WriteInt32(FogColor); } if (StartDistance != 0F) { output.WriteRawTag(21); output.WriteFloat(StartDistance); } if (FadeDistance != 0F) { output.WriteRawTag(29); output.WriteFloat(FadeDistance); } 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 (FogColor != 0) { output.WriteRawTag(8); output.WriteInt32(FogColor); } if (StartDistance != 0F) { output.WriteRawTag(21); output.WriteFloat(StartDistance); } if (FadeDistance != 0F) { output.WriteRawTag(29); output.WriteFloat(FadeDistance); } 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 (FogColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FogColor); } if (StartDistance != 0F) { size += 1 + 4; } if (FadeDistance != 0F) { size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(FogConstantNodeData other) { if (other == null) { return; } if (other.FogColor != 0) { FogColor = other.FogColor; } if (other.StartDistance != 0F) { StartDistance = other.StartDistance; } if (other.FadeDistance != 0F) { FadeDistance = other.FadeDistance; } _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: { FogColor = input.ReadInt32(); break; } case 21: { StartDistance = input.ReadFloat(); break; } case 29: { FadeDistance = input.ReadFloat(); 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: { FogColor = input.ReadInt32(); break; } case 21: { StartDistance = input.ReadFloat(); break; } case 29: { FadeDistance = input.ReadFloat(); break; } } } } #endif } #endregion } #endregion Designer generated code