// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/room_mood_skydome_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/room_mood_skydome_data.proto public static partial class RoomMoodSkydomeDataReflection { #region Descriptor /// File descriptor for circuits_v2/room_mood_skydome_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RoomMoodSkydomeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CihjaXJjdWl0c192Mi9yb29tX21vb2Rfc2t5ZG9tZV9kYXRhLnByb3RvEgtj", "aXJjdWl0c192MhogY2lyY3VpdHNfdjIvcm9vbV9tb29kX2RhdGEucHJvdG8i", "3wEKE1Jvb21Nb29kU2t5ZG9tZURhdGESMQoObW9vZF9iYXNlX2RhdGEYASAB", "KAsyGS5jaXJjdWl0c192Mi5Sb29tTW9vZERhdGESEgoKc2t5X2JvdHRvbRgC", "IAEoBRIPCgdza3lfdG9wGAMgASgFEhUKDWdyb3VuZF9ib3R0b20YBCABKAUS", "EgoKZ3JvdW5kX3RvcBgFIAEoBRIVCg1ob3Jpem9uX2NvbG9yGAYgASgFEhQK", "DGhvcml6b25fc2l6ZRgHIAEoAhIYChBob3Jpem9uX3N0cmVuZ3RoGAggASgC", "QhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.RoomMoodDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.RoomMoodSkydomeData), global::CircuitsV2.Protobuf.RoomMoodSkydomeData.Parser, new[]{ "MoodBaseData", "SkyBottom", "SkyTop", "GroundBottom", "GroundTop", "HorizonColor", "HorizonSize", "HorizonStrength" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RoomMoodSkydomeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomMoodSkydomeData()); 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.RoomMoodSkydomeDataReflection.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 RoomMoodSkydomeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomMoodSkydomeData(RoomMoodSkydomeData other) : this() { moodBaseData_ = other.moodBaseData_ != null ? other.moodBaseData_.Clone() : null; skyBottom_ = other.skyBottom_; skyTop_ = other.skyTop_; groundBottom_ = other.groundBottom_; groundTop_ = other.groundTop_; horizonColor_ = other.horizonColor_; horizonSize_ = other.horizonSize_; horizonStrength_ = other.horizonStrength_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomMoodSkydomeData Clone() { return new RoomMoodSkydomeData(this); } /// Field number for the "mood_base_data" field. public const int MoodBaseDataFieldNumber = 1; private global::CircuitsV2.Protobuf.RoomMoodData moodBaseData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.RoomMoodData MoodBaseData { get { return moodBaseData_; } set { moodBaseData_ = value; } } /// Field number for the "sky_bottom" field. public const int SkyBottomFieldNumber = 2; private int skyBottom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SkyBottom { get { return skyBottom_; } set { skyBottom_ = value; } } /// Field number for the "sky_top" field. public const int SkyTopFieldNumber = 3; private int skyTop_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SkyTop { get { return skyTop_; } set { skyTop_ = value; } } /// Field number for the "ground_bottom" field. public const int GroundBottomFieldNumber = 4; private int groundBottom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GroundBottom { get { return groundBottom_; } set { groundBottom_ = value; } } /// Field number for the "ground_top" field. public const int GroundTopFieldNumber = 5; private int groundTop_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GroundTop { get { return groundTop_; } set { groundTop_ = value; } } /// Field number for the "horizon_color" field. public const int HorizonColorFieldNumber = 6; private int horizonColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int HorizonColor { get { return horizonColor_; } set { horizonColor_ = value; } } /// Field number for the "horizon_size" field. public const int HorizonSizeFieldNumber = 7; private float horizonSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float HorizonSize { get { return horizonSize_; } set { horizonSize_ = value; } } /// Field number for the "horizon_strength" field. public const int HorizonStrengthFieldNumber = 8; private float horizonStrength_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float HorizonStrength { get { return horizonStrength_; } set { horizonStrength_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RoomMoodSkydomeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RoomMoodSkydomeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(MoodBaseData, other.MoodBaseData)) return false; if (SkyBottom != other.SkyBottom) return false; if (SkyTop != other.SkyTop) return false; if (GroundBottom != other.GroundBottom) return false; if (GroundTop != other.GroundTop) return false; if (HorizonColor != other.HorizonColor) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HorizonSize, other.HorizonSize)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HorizonStrength, other.HorizonStrength)) 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 (moodBaseData_ != null) hash ^= MoodBaseData.GetHashCode(); if (SkyBottom != 0) hash ^= SkyBottom.GetHashCode(); if (SkyTop != 0) hash ^= SkyTop.GetHashCode(); if (GroundBottom != 0) hash ^= GroundBottom.GetHashCode(); if (GroundTop != 0) hash ^= GroundTop.GetHashCode(); if (HorizonColor != 0) hash ^= HorizonColor.GetHashCode(); if (HorizonSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HorizonSize); if (HorizonStrength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HorizonStrength); 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 (moodBaseData_ != null) { output.WriteRawTag(10); output.WriteMessage(MoodBaseData); } if (SkyBottom != 0) { output.WriteRawTag(16); output.WriteInt32(SkyBottom); } if (SkyTop != 0) { output.WriteRawTag(24); output.WriteInt32(SkyTop); } if (GroundBottom != 0) { output.WriteRawTag(32); output.WriteInt32(GroundBottom); } if (GroundTop != 0) { output.WriteRawTag(40); output.WriteInt32(GroundTop); } if (HorizonColor != 0) { output.WriteRawTag(48); output.WriteInt32(HorizonColor); } if (HorizonSize != 0F) { output.WriteRawTag(61); output.WriteFloat(HorizonSize); } if (HorizonStrength != 0F) { output.WriteRawTag(69); output.WriteFloat(HorizonStrength); } 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 (moodBaseData_ != null) { output.WriteRawTag(10); output.WriteMessage(MoodBaseData); } if (SkyBottom != 0) { output.WriteRawTag(16); output.WriteInt32(SkyBottom); } if (SkyTop != 0) { output.WriteRawTag(24); output.WriteInt32(SkyTop); } if (GroundBottom != 0) { output.WriteRawTag(32); output.WriteInt32(GroundBottom); } if (GroundTop != 0) { output.WriteRawTag(40); output.WriteInt32(GroundTop); } if (HorizonColor != 0) { output.WriteRawTag(48); output.WriteInt32(HorizonColor); } if (HorizonSize != 0F) { output.WriteRawTag(61); output.WriteFloat(HorizonSize); } if (HorizonStrength != 0F) { output.WriteRawTag(69); output.WriteFloat(HorizonStrength); } 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 (moodBaseData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(MoodBaseData); } if (SkyBottom != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyBottom); } if (SkyTop != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyTop); } if (GroundBottom != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundBottom); } if (GroundTop != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundTop); } if (HorizonColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorizonColor); } if (HorizonSize != 0F) { size += 1 + 4; } if (HorizonStrength != 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(RoomMoodSkydomeData other) { if (other == null) { return; } if (other.moodBaseData_ != null) { if (moodBaseData_ == null) { MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData(); } MoodBaseData.MergeFrom(other.MoodBaseData); } if (other.SkyBottom != 0) { SkyBottom = other.SkyBottom; } if (other.SkyTop != 0) { SkyTop = other.SkyTop; } if (other.GroundBottom != 0) { GroundBottom = other.GroundBottom; } if (other.GroundTop != 0) { GroundTop = other.GroundTop; } if (other.HorizonColor != 0) { HorizonColor = other.HorizonColor; } if (other.HorizonSize != 0F) { HorizonSize = other.HorizonSize; } if (other.HorizonStrength != 0F) { HorizonStrength = other.HorizonStrength; } _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 10: { if (moodBaseData_ == null) { MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData(); } input.ReadMessage(MoodBaseData); break; } case 16: { SkyBottom = input.ReadInt32(); break; } case 24: { SkyTop = input.ReadInt32(); break; } case 32: { GroundBottom = input.ReadInt32(); break; } case 40: { GroundTop = input.ReadInt32(); break; } case 48: { HorizonColor = input.ReadInt32(); break; } case 61: { HorizonSize = input.ReadFloat(); break; } case 69: { HorizonStrength = 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 10: { if (moodBaseData_ == null) { MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData(); } input.ReadMessage(MoodBaseData); break; } case 16: { SkyBottom = input.ReadInt32(); break; } case 24: { SkyTop = input.ReadInt32(); break; } case 32: { GroundBottom = input.ReadInt32(); break; } case 40: { GroundTop = input.ReadInt32(); break; } case 48: { HorizonColor = input.ReadInt32(); break; } case 61: { HorizonSize = input.ReadFloat(); break; } case 69: { HorizonStrength = input.ReadFloat(); break; } } } } #endif } #endregion } #endregion Designer generated code