// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/sun_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/sun_constant_node_data.proto public static partial class SunConstantNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/sun_constant_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SunConstantNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CihjaXJjdWl0c192Mi9zdW5fY29uc3RhbnRfbm9kZV9kYXRhLnByb3RvEgtj", "aXJjdWl0c192MiLzAQoTU3VuQ29uc3RhbnROb2RlRGF0YRIRCglzdW5fY29s", "b3IYASABKAUSFQoNc3VuX2ludGVuc2l0eRgCIAEoAhIXCg9zaGFkb3dfc3Ry", "ZW5ndGgYAyABKAISEQoJZGlzY19zaXplGAQgASgCEhIKCmdsb3dfY29sb3IY", "BSABKAUSEQoJZ2xvd19zaXplGAYgASgCEhUKDWdsb3dfc3RyZW5ndGgYByAB", "KAISFAoMZ2xvd19ob3Jpem9uGAggASgCEhwKFHJlZmxlY3Rpb25faW50ZW5z", "aXR5GAkgASgCEhQKDGNsaXBfaG9yaXpvbhgKIAEoCEIWqgITQ2lyY3VpdHNW", "Mi5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.SunConstantNodeData), global::CircuitsV2.Protobuf.SunConstantNodeData.Parser, new[]{ "SunColor", "SunIntensity", "ShadowStrength", "DiscSize", "GlowColor", "GlowSize", "GlowStrength", "GlowHorizon", "ReflectionIntensity", "ClipHorizon" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SunConstantNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SunConstantNodeData()); 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.SunConstantNodeDataReflection.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 SunConstantNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SunConstantNodeData(SunConstantNodeData other) : this() { sunColor_ = other.sunColor_; sunIntensity_ = other.sunIntensity_; shadowStrength_ = other.shadowStrength_; discSize_ = other.discSize_; glowColor_ = other.glowColor_; glowSize_ = other.glowSize_; glowStrength_ = other.glowStrength_; glowHorizon_ = other.glowHorizon_; reflectionIntensity_ = other.reflectionIntensity_; clipHorizon_ = other.clipHorizon_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SunConstantNodeData Clone() { return new SunConstantNodeData(this); } /// Field number for the "sun_color" field. public const int SunColorFieldNumber = 1; private int sunColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SunColor { get { return sunColor_; } set { sunColor_ = value; } } /// Field number for the "sun_intensity" field. public const int SunIntensityFieldNumber = 2; private float sunIntensity_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float SunIntensity { get { return sunIntensity_; } set { sunIntensity_ = value; } } /// Field number for the "shadow_strength" field. public const int ShadowStrengthFieldNumber = 3; private float shadowStrength_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ShadowStrength { get { return shadowStrength_; } set { shadowStrength_ = value; } } /// Field number for the "disc_size" field. public const int DiscSizeFieldNumber = 4; private float discSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float DiscSize { get { return discSize_; } set { discSize_ = value; } } /// Field number for the "glow_color" field. public const int GlowColorFieldNumber = 5; private int glowColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GlowColor { get { return glowColor_; } set { glowColor_ = value; } } /// Field number for the "glow_size" field. public const int GlowSizeFieldNumber = 6; private float glowSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float GlowSize { get { return glowSize_; } set { glowSize_ = value; } } /// Field number for the "glow_strength" field. public const int GlowStrengthFieldNumber = 7; private float glowStrength_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float GlowStrength { get { return glowStrength_; } set { glowStrength_ = value; } } /// Field number for the "glow_horizon" field. public const int GlowHorizonFieldNumber = 8; private float glowHorizon_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float GlowHorizon { get { return glowHorizon_; } set { glowHorizon_ = value; } } /// Field number for the "reflection_intensity" field. public const int ReflectionIntensityFieldNumber = 9; private float reflectionIntensity_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ReflectionIntensity { get { return reflectionIntensity_; } set { reflectionIntensity_ = value; } } /// Field number for the "clip_horizon" field. public const int ClipHorizonFieldNumber = 10; private bool clipHorizon_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ClipHorizon { get { return clipHorizon_; } set { clipHorizon_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SunConstantNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SunConstantNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SunColor != other.SunColor) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SunIntensity, other.SunIntensity)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowStrength, other.ShadowStrength)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DiscSize, other.DiscSize)) return false; if (GlowColor != other.GlowColor) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GlowSize, other.GlowSize)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GlowStrength, other.GlowStrength)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GlowHorizon, other.GlowHorizon)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ReflectionIntensity, other.ReflectionIntensity)) return false; if (ClipHorizon != other.ClipHorizon) 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 (SunColor != 0) hash ^= SunColor.GetHashCode(); if (SunIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SunIntensity); if (ShadowStrength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowStrength); if (DiscSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DiscSize); if (GlowColor != 0) hash ^= GlowColor.GetHashCode(); if (GlowSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GlowSize); if (GlowStrength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GlowStrength); if (GlowHorizon != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GlowHorizon); if (ReflectionIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ReflectionIntensity); if (ClipHorizon != false) hash ^= ClipHorizon.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 (SunColor != 0) { output.WriteRawTag(8); output.WriteInt32(SunColor); } if (SunIntensity != 0F) { output.WriteRawTag(21); output.WriteFloat(SunIntensity); } if (ShadowStrength != 0F) { output.WriteRawTag(29); output.WriteFloat(ShadowStrength); } if (DiscSize != 0F) { output.WriteRawTag(37); output.WriteFloat(DiscSize); } if (GlowColor != 0) { output.WriteRawTag(40); output.WriteInt32(GlowColor); } if (GlowSize != 0F) { output.WriteRawTag(53); output.WriteFloat(GlowSize); } if (GlowStrength != 0F) { output.WriteRawTag(61); output.WriteFloat(GlowStrength); } if (GlowHorizon != 0F) { output.WriteRawTag(69); output.WriteFloat(GlowHorizon); } if (ReflectionIntensity != 0F) { output.WriteRawTag(77); output.WriteFloat(ReflectionIntensity); } if (ClipHorizon != false) { output.WriteRawTag(80); output.WriteBool(ClipHorizon); } 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 (SunColor != 0) { output.WriteRawTag(8); output.WriteInt32(SunColor); } if (SunIntensity != 0F) { output.WriteRawTag(21); output.WriteFloat(SunIntensity); } if (ShadowStrength != 0F) { output.WriteRawTag(29); output.WriteFloat(ShadowStrength); } if (DiscSize != 0F) { output.WriteRawTag(37); output.WriteFloat(DiscSize); } if (GlowColor != 0) { output.WriteRawTag(40); output.WriteInt32(GlowColor); } if (GlowSize != 0F) { output.WriteRawTag(53); output.WriteFloat(GlowSize); } if (GlowStrength != 0F) { output.WriteRawTag(61); output.WriteFloat(GlowStrength); } if (GlowHorizon != 0F) { output.WriteRawTag(69); output.WriteFloat(GlowHorizon); } if (ReflectionIntensity != 0F) { output.WriteRawTag(77); output.WriteFloat(ReflectionIntensity); } if (ClipHorizon != false) { output.WriteRawTag(80); output.WriteBool(ClipHorizon); } 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 (SunColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SunColor); } if (SunIntensity != 0F) { size += 1 + 4; } if (ShadowStrength != 0F) { size += 1 + 4; } if (DiscSize != 0F) { size += 1 + 4; } if (GlowColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GlowColor); } if (GlowSize != 0F) { size += 1 + 4; } if (GlowStrength != 0F) { size += 1 + 4; } if (GlowHorizon != 0F) { size += 1 + 4; } if (ReflectionIntensity != 0F) { size += 1 + 4; } if (ClipHorizon != 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(SunConstantNodeData other) { if (other == null) { return; } if (other.SunColor != 0) { SunColor = other.SunColor; } if (other.SunIntensity != 0F) { SunIntensity = other.SunIntensity; } if (other.ShadowStrength != 0F) { ShadowStrength = other.ShadowStrength; } if (other.DiscSize != 0F) { DiscSize = other.DiscSize; } if (other.GlowColor != 0) { GlowColor = other.GlowColor; } if (other.GlowSize != 0F) { GlowSize = other.GlowSize; } if (other.GlowStrength != 0F) { GlowStrength = other.GlowStrength; } if (other.GlowHorizon != 0F) { GlowHorizon = other.GlowHorizon; } if (other.ReflectionIntensity != 0F) { ReflectionIntensity = other.ReflectionIntensity; } if (other.ClipHorizon != false) { ClipHorizon = other.ClipHorizon; } _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: { SunColor = input.ReadInt32(); break; } case 21: { SunIntensity = input.ReadFloat(); break; } case 29: { ShadowStrength = input.ReadFloat(); break; } case 37: { DiscSize = input.ReadFloat(); break; } case 40: { GlowColor = input.ReadInt32(); break; } case 53: { GlowSize = input.ReadFloat(); break; } case 61: { GlowStrength = input.ReadFloat(); break; } case 69: { GlowHorizon = input.ReadFloat(); break; } case 77: { ReflectionIntensity = input.ReadFloat(); break; } case 80: { ClipHorizon = 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: { SunColor = input.ReadInt32(); break; } case 21: { SunIntensity = input.ReadFloat(); break; } case 29: { ShadowStrength = input.ReadFloat(); break; } case 37: { DiscSize = input.ReadFloat(); break; } case 40: { GlowColor = input.ReadInt32(); break; } case 53: { GlowSize = input.ReadFloat(); break; } case 61: { GlowStrength = input.ReadFloat(); break; } case 69: { GlowHorizon = input.ReadFloat(); break; } case 77: { ReflectionIntensity = input.ReadFloat(); break; } case 80: { ClipHorizon = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code