//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/room_mood_sun_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_sun_data.proto
public static partial class RoomMoodSunDataReflection {
#region Descriptor
/// File descriptor for circuits_v2/room_mood_sun_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RoomMoodSunDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRjaXJjdWl0c192Mi9yb29tX21vb2Rfc3VuX2RhdGEucHJvdG8SC2NpcmN1",
"aXRzX3YyGhpjb3JlL3F1YXRlcm5pb25fZGF0YS5wcm90bxogY2lyY3VpdHNf",
"djIvcm9vbV9tb29kX2RhdGEucHJvdG8ihAMKD1Jvb21Nb29kU3VuRGF0YRIx",
"Cg5tb29kX2Jhc2VfZGF0YRgBIAEoCzIZLmNpcmN1aXRzX3YyLlJvb21Nb29k",
"RGF0YRIRCglzdW5fY29sb3IYAiABKAUSFQoNc3VuX2ludGVuc2l0eRgDIAEo",
"AhIXCg9zaGFkb3dfc3RyZW5ndGgYBCABKAISEQoJZGlzY19TaXplGAUgASgC",
"EhwKFHJlZmxlY3Rpb25faW50ZW5zaXR5GAYgASgCEhIKCmdsb3dfY29sb3IY",
"ByABKAUSEQoJZ2xvd19zaXplGAggASgCEhUKDWdsb3dfc3RyZW5ndGgYCSAB",
"KAISFAoMZ2xvd19ob3Jpem9uGAogASgCEhAKCGNsaXBfc3VuGAsgASgIEisK",
"DXN1bl9kaXJlY3Rpb24YDCABKAsyFC5jb3JlLlF1YXRlcm5pb25EYXRhEhgK",
"EHN1bl9jb21wb25lbnRfaWQYDSABKAUSHQoVY2lyY3VpdF9zdW5fb3ZlcnJp",
"ZGVzGA4gASgFQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.QuaternionDataReflection.Descriptor, global::CircuitsV2.Protobuf.RoomMoodDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.RoomMoodSunData), global::CircuitsV2.Protobuf.RoomMoodSunData.Parser, new[]{ "MoodBaseData", "SunColor", "SunIntensity", "ShadowStrength", "DiscSize", "ReflectionIntensity", "GlowColor", "GlowSize", "GlowStrength", "GlowHorizon", "ClipSun", "SunDirection", "SunComponentId", "CircuitSunOverrides" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RoomMoodSunData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomMoodSunData());
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.RoomMoodSunDataReflection.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 RoomMoodSunData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RoomMoodSunData(RoomMoodSunData other) : this() {
moodBaseData_ = other.moodBaseData_ != null ? other.moodBaseData_.Clone() : null;
sunColor_ = other.sunColor_;
sunIntensity_ = other.sunIntensity_;
shadowStrength_ = other.shadowStrength_;
discSize_ = other.discSize_;
reflectionIntensity_ = other.reflectionIntensity_;
glowColor_ = other.glowColor_;
glowSize_ = other.glowSize_;
glowStrength_ = other.glowStrength_;
glowHorizon_ = other.glowHorizon_;
clipSun_ = other.clipSun_;
sunDirection_ = other.sunDirection_ != null ? other.sunDirection_.Clone() : null;
sunComponentId_ = other.sunComponentId_;
circuitSunOverrides_ = other.circuitSunOverrides_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RoomMoodSunData Clone() {
return new RoomMoodSunData(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 "sun_color" field.
public const int SunColorFieldNumber = 2;
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 = 3;
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 = 4;
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 = 5;
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 "reflection_intensity" field.
public const int ReflectionIntensityFieldNumber = 6;
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 "glow_color" field.
public const int GlowColorFieldNumber = 7;
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 = 8;
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 = 9;
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 = 10;
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 "clip_sun" field.
public const int ClipSunFieldNumber = 11;
private bool clipSun_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ClipSun {
get { return clipSun_; }
set {
clipSun_ = value;
}
}
/// Field number for the "sun_direction" field.
public const int SunDirectionFieldNumber = 12;
private global::RecRoom.Protobuf.Core.QuaternionData sunDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.QuaternionData SunDirection {
get { return sunDirection_; }
set {
sunDirection_ = value;
}
}
/// Field number for the "sun_component_id" field.
public const int SunComponentIdFieldNumber = 13;
private int sunComponentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SunComponentId {
get { return sunComponentId_; }
set {
sunComponentId_ = value;
}
}
/// Field number for the "circuit_sun_overrides" field.
public const int CircuitSunOverridesFieldNumber = 14;
private int circuitSunOverrides_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CircuitSunOverrides {
get { return circuitSunOverrides_; }
set {
circuitSunOverrides_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RoomMoodSunData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RoomMoodSunData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(MoodBaseData, other.MoodBaseData)) return false;
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 (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ReflectionIntensity, other.ReflectionIntensity)) 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 (ClipSun != other.ClipSun) return false;
if (!object.Equals(SunDirection, other.SunDirection)) return false;
if (SunComponentId != other.SunComponentId) return false;
if (CircuitSunOverrides != other.CircuitSunOverrides) 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 (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 (ReflectionIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ReflectionIntensity);
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 (ClipSun != false) hash ^= ClipSun.GetHashCode();
if (sunDirection_ != null) hash ^= SunDirection.GetHashCode();
if (SunComponentId != 0) hash ^= SunComponentId.GetHashCode();
if (CircuitSunOverrides != 0) hash ^= CircuitSunOverrides.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 (moodBaseData_ != null) {
output.WriteRawTag(10);
output.WriteMessage(MoodBaseData);
}
if (SunColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(SunColor);
}
if (SunIntensity != 0F) {
output.WriteRawTag(29);
output.WriteFloat(SunIntensity);
}
if (ShadowStrength != 0F) {
output.WriteRawTag(37);
output.WriteFloat(ShadowStrength);
}
if (DiscSize != 0F) {
output.WriteRawTag(45);
output.WriteFloat(DiscSize);
}
if (ReflectionIntensity != 0F) {
output.WriteRawTag(53);
output.WriteFloat(ReflectionIntensity);
}
if (GlowColor != 0) {
output.WriteRawTag(56);
output.WriteInt32(GlowColor);
}
if (GlowSize != 0F) {
output.WriteRawTag(69);
output.WriteFloat(GlowSize);
}
if (GlowStrength != 0F) {
output.WriteRawTag(77);
output.WriteFloat(GlowStrength);
}
if (GlowHorizon != 0F) {
output.WriteRawTag(85);
output.WriteFloat(GlowHorizon);
}
if (ClipSun != false) {
output.WriteRawTag(88);
output.WriteBool(ClipSun);
}
if (sunDirection_ != null) {
output.WriteRawTag(98);
output.WriteMessage(SunDirection);
}
if (SunComponentId != 0) {
output.WriteRawTag(104);
output.WriteInt32(SunComponentId);
}
if (CircuitSunOverrides != 0) {
output.WriteRawTag(112);
output.WriteInt32(CircuitSunOverrides);
}
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 (SunColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(SunColor);
}
if (SunIntensity != 0F) {
output.WriteRawTag(29);
output.WriteFloat(SunIntensity);
}
if (ShadowStrength != 0F) {
output.WriteRawTag(37);
output.WriteFloat(ShadowStrength);
}
if (DiscSize != 0F) {
output.WriteRawTag(45);
output.WriteFloat(DiscSize);
}
if (ReflectionIntensity != 0F) {
output.WriteRawTag(53);
output.WriteFloat(ReflectionIntensity);
}
if (GlowColor != 0) {
output.WriteRawTag(56);
output.WriteInt32(GlowColor);
}
if (GlowSize != 0F) {
output.WriteRawTag(69);
output.WriteFloat(GlowSize);
}
if (GlowStrength != 0F) {
output.WriteRawTag(77);
output.WriteFloat(GlowStrength);
}
if (GlowHorizon != 0F) {
output.WriteRawTag(85);
output.WriteFloat(GlowHorizon);
}
if (ClipSun != false) {
output.WriteRawTag(88);
output.WriteBool(ClipSun);
}
if (sunDirection_ != null) {
output.WriteRawTag(98);
output.WriteMessage(SunDirection);
}
if (SunComponentId != 0) {
output.WriteRawTag(104);
output.WriteInt32(SunComponentId);
}
if (CircuitSunOverrides != 0) {
output.WriteRawTag(112);
output.WriteInt32(CircuitSunOverrides);
}
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 (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 (ReflectionIntensity != 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 (ClipSun != false) {
size += 1 + 1;
}
if (sunDirection_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SunDirection);
}
if (SunComponentId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SunComponentId);
}
if (CircuitSunOverrides != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CircuitSunOverrides);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RoomMoodSunData other) {
if (other == null) {
return;
}
if (other.moodBaseData_ != null) {
if (moodBaseData_ == null) {
MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData();
}
MoodBaseData.MergeFrom(other.MoodBaseData);
}
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.ReflectionIntensity != 0F) {
ReflectionIntensity = other.ReflectionIntensity;
}
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.ClipSun != false) {
ClipSun = other.ClipSun;
}
if (other.sunDirection_ != null) {
if (sunDirection_ == null) {
SunDirection = new global::RecRoom.Protobuf.Core.QuaternionData();
}
SunDirection.MergeFrom(other.SunDirection);
}
if (other.SunComponentId != 0) {
SunComponentId = other.SunComponentId;
}
if (other.CircuitSunOverrides != 0) {
CircuitSunOverrides = other.CircuitSunOverrides;
}
_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: {
SunColor = input.ReadInt32();
break;
}
case 29: {
SunIntensity = input.ReadFloat();
break;
}
case 37: {
ShadowStrength = input.ReadFloat();
break;
}
case 45: {
DiscSize = input.ReadFloat();
break;
}
case 53: {
ReflectionIntensity = input.ReadFloat();
break;
}
case 56: {
GlowColor = input.ReadInt32();
break;
}
case 69: {
GlowSize = input.ReadFloat();
break;
}
case 77: {
GlowStrength = input.ReadFloat();
break;
}
case 85: {
GlowHorizon = input.ReadFloat();
break;
}
case 88: {
ClipSun = input.ReadBool();
break;
}
case 98: {
if (sunDirection_ == null) {
SunDirection = new global::RecRoom.Protobuf.Core.QuaternionData();
}
input.ReadMessage(SunDirection);
break;
}
case 104: {
SunComponentId = input.ReadInt32();
break;
}
case 112: {
CircuitSunOverrides = input.ReadInt32();
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: {
SunColor = input.ReadInt32();
break;
}
case 29: {
SunIntensity = input.ReadFloat();
break;
}
case 37: {
ShadowStrength = input.ReadFloat();
break;
}
case 45: {
DiscSize = input.ReadFloat();
break;
}
case 53: {
ReflectionIntensity = input.ReadFloat();
break;
}
case 56: {
GlowColor = input.ReadInt32();
break;
}
case 69: {
GlowSize = input.ReadFloat();
break;
}
case 77: {
GlowStrength = input.ReadFloat();
break;
}
case 85: {
GlowHorizon = input.ReadFloat();
break;
}
case 88: {
ClipSun = input.ReadBool();
break;
}
case 98: {
if (sunDirection_ == null) {
SunDirection = new global::RecRoom.Protobuf.Core.QuaternionData();
}
input.ReadMessage(SunDirection);
break;
}
case 104: {
SunComponentId = input.ReadInt32();
break;
}
case 112: {
CircuitSunOverrides = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code