3268 lines
116 KiB
C#
3268 lines
116 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/mood_circuit_data.proto
|
|
// </auto-generated>
|
|
#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 {
|
|
|
|
/// <summary>Holder for reflection information generated from rec_room/persistence/mood_circuit_data.proto</summary>
|
|
public static partial class MoodCircuitDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/mood_circuit_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MoodCircuitDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CixyZWNfcm9vbS9wZXJzaXN0ZW5jZS9tb29kX2NpcmN1aXRfZGF0YS5wcm90",
|
|
"bxIIcmVjX3Jvb20ivQMKD01vb2RDaXJjdWl0RGF0YRIQCghwcmlvcml0eRgB",
|
|
"IAEoBRIVCg1ibGVuZF9pbl90aW1lGAIgASgCEjEKDHNreV9ib3hfZGF0YRgD",
|
|
"IAEoCzIbLnJlY19yb29tLlNreUJveENpcmN1aXREYXRhEioKCHN1bl9kYXRh",
|
|
"GAQgASgLMhgucmVjX3Jvb20uU3VuQ2lyY3VpdERhdGESLgoKYmxvb21fZGF0",
|
|
"YRgFIAEoCzIaLnJlY19yb29tLkJsb29tQ2lyY3VpdERhdGESPQoSY29sb3Jf",
|
|
"Z3JhZGluZ19kYXRhGAYgASgLMiEucmVjX3Jvb20uQ29sb3JHcmFkaW5nQ2ly",
|
|
"Y3VpdERhdGESKgoIZm9nX2RhdGEYByABKAsyGC5yZWNfcm9vbS5Gb2dDaXJj",
|
|
"dWl0RGF0YRJHChdiYWNrZ3JvdW5kX29iamVjdHNfZGF0YRgIIAEoCzImLnJl",
|
|
"Y19yb29tLkJhY2tncm91bmRPYmplY3RzQ2lyY3VpdERhdGESEQoJcm9sZV9n",
|
|
"dWlkGAkgASgJEhYKDmJsZW5kX291dF90aW1lGAogASgCEhMKC2Vhc2VfaW5f",
|
|
"b3V0GAsgASgFIuMBChFTa3lCb3hDaXJjdWl0RGF0YRIVCg1za3lfdG9wX2Nv",
|
|
"bG9yGAEgASgFEhgKEHNreV9ib3R0b21fY29sb3IYAiABKAUSGAoQZ3JvdW5k",
|
|
"X3RvcF9jb2xvchgDIAEoBRIbChNncm91bmRfYm90dG9tX2NvbG9yGAQgASgF",
|
|
"EhUKDWhvcml6b25fY29sb3IYBSABKAUSFAoMaG9yaXpvbl9zaXplGAYgASgC",
|
|
"EhgKEGhvcml6b25fc3RyZW5ndGgYByABKAISHwoXYW1iaWVudF9saWdodF9p",
|
|
"bnRlbnNpdHkYCCABKAIigwIKDlN1bkNpcmN1aXREYXRhEhEKCXN1bl9jb2xv",
|
|
"chgBIAEoBRIRCglkaXNjX3NpemUYAiABKAISEQoJaW50ZW5zaXR5GAMgASgC",
|
|
"EhcKD3NoYWRvd19zdHJlbmd0aBgEIAEoAhISCgpnbG93X2NvbG9yGAUgASgF",
|
|
"EhEKCWdsb3dfc2l6ZRgGIAEoAhIVCg1nbG93X3N0cmVuZ3RoGAcgASgCEhQK",
|
|
"DGdsb3dfaG9yaXpvbhgIIAEoAhIbChNibGVuZF9zdW5fZGlyZWN0aW9uGAkg",
|
|
"ASgFEhAKCGNsaXBfc3VuGAogASgFEhwKFHJlZmxlY3Rpb25faW50ZW5zaXR5",
|
|
"GAsgASgCInIKEEJsb29tQ2lyY3VpdERhdGESFwoPYmxvb21faW50ZW5zaXR5",
|
|
"GAEgASgCEhcKD2Jsb29tX3RocmVzaG9sZBgCIAEoAhIXCg9ibG9vbV9kaWZm",
|
|
"dXNpb24YAyABKAISEwoLYmxvb21fY29sb3IYBCABKAUipgIKF0NvbG9yR3Jh",
|
|
"ZGluZ0NpcmN1aXREYXRhEhoKEmNvbG9yX2dyYWRpbmdfdGVtcBgBIAEoAhIa",
|
|
"ChJjb2xvcl9ncmFkaW5nX3RpbnQYAiABKAISHgoWY29sb3JfZ3JhZGluZ19l",
|
|
"eHBvc3VyZRgDIAEoAhIiChpjb2xvcl9ncmFkaW5nX2NvbG9yX2ZpbHRlchgE",
|
|
"IAEoBRIsCiRjb2xvcl9ncmFkaW5nX2NvbG9yX2ZpbHRlcl9pbnRlbnNpdHkY",
|
|
"BSABKAISHwoXY29sb3JfZ3JhZGluZ19odWVfc2hpZnQYBiABKAISIAoYY29s",
|
|
"b3JfZ3JhZGluZ19zYXR1cmF0aW9uGAcgASgCEh4KFmNvbG9yX2dyYWRpbmdf",
|
|
"Y29udHJhc3QYCCABKAIiTgoORm9nQ2lyY3VpdERhdGESDQoFY29sb3IYASAB",
|
|
"KAUSFgoOc3RhcnRfZGlzdGFuY2UYAiABKAISFQoNZmFkZV9kaXN0YW5jZRgD",
|
|
"IAEoAiJZChRCYWNrZ3JvdW5kT2JqZWN0RGF0YRIRCglvYmplY3RfaWQYASAB",
|
|
"KAUSDQoFY29sb3IYAiABKAUSDQoFYWxwaGEYAyABKAISEAoIcm90YXRpb24Y",
|
|
"BCABKAIiUwocQmFja2dyb3VuZE9iamVjdHNDaXJjdWl0RGF0YRIzCgtvYmpl",
|
|
"Y3RfZGF0YRgBIAMoCzIeLnJlY19yb29tLkJhY2tncm91bmRPYmplY3REYXRh",
|
|
"QhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.MoodCircuitData), global::RecRoom.Protobuf.MoodCircuitData.Parser, new[]{ "Priority", "BlendInTime", "SkyBoxData", "SunData", "BloomData", "ColorGradingData", "FogData", "BackgroundObjectsData", "RoleGuid", "BlendOutTime", "EaseInOut" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SkyBoxCircuitData), global::RecRoom.Protobuf.SkyBoxCircuitData.Parser, new[]{ "SkyTopColor", "SkyBottomColor", "GroundTopColor", "GroundBottomColor", "HorizonColor", "HorizonSize", "HorizonStrength", "AmbientLightIntensity" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SunCircuitData), global::RecRoom.Protobuf.SunCircuitData.Parser, new[]{ "SunColor", "DiscSize", "Intensity", "ShadowStrength", "GlowColor", "GlowSize", "GlowStrength", "GlowHorizon", "BlendSunDirection", "ClipSun", "ReflectionIntensity" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BloomCircuitData), global::RecRoom.Protobuf.BloomCircuitData.Parser, new[]{ "BloomIntensity", "BloomThreshold", "BloomDiffusion", "BloomColor" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ColorGradingCircuitData), global::RecRoom.Protobuf.ColorGradingCircuitData.Parser, new[]{ "ColorGradingTemp", "ColorGradingTint", "ColorGradingExposure", "ColorGradingColorFilter", "ColorGradingColorFilterIntensity", "ColorGradingHueShift", "ColorGradingSaturation", "ColorGradingContrast" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.FogCircuitData), global::RecRoom.Protobuf.FogCircuitData.Parser, new[]{ "Color", "StartDistance", "FadeDistance" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BackgroundObjectData), global::RecRoom.Protobuf.BackgroundObjectData.Parser, new[]{ "ObjectId", "Color", "Alpha", "Rotation" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BackgroundObjectsCircuitData), global::RecRoom.Protobuf.BackgroundObjectsCircuitData.Parser, new[]{ "ObjectData" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MoodCircuitData : pb::IMessage<MoodCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MoodCircuitData> _parser = new pb::MessageParser<MoodCircuitData>(() => new MoodCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MoodCircuitData> 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.MoodCircuitDataReflection.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 MoodCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoodCircuitData(MoodCircuitData other) : this() {
|
|
priority_ = other.priority_;
|
|
blendInTime_ = other.blendInTime_;
|
|
skyBoxData_ = other.skyBoxData_ != null ? other.skyBoxData_.Clone() : null;
|
|
sunData_ = other.sunData_ != null ? other.sunData_.Clone() : null;
|
|
bloomData_ = other.bloomData_ != null ? other.bloomData_.Clone() : null;
|
|
colorGradingData_ = other.colorGradingData_ != null ? other.colorGradingData_.Clone() : null;
|
|
fogData_ = other.fogData_ != null ? other.fogData_.Clone() : null;
|
|
backgroundObjectsData_ = other.backgroundObjectsData_ != null ? other.backgroundObjectsData_.Clone() : null;
|
|
roleGuid_ = other.roleGuid_;
|
|
blendOutTime_ = other.blendOutTime_;
|
|
easeInOut_ = other.easeInOut_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoodCircuitData Clone() {
|
|
return new MoodCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "priority" field.</summary>
|
|
public const int PriorityFieldNumber = 1;
|
|
private int priority_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Priority {
|
|
get { return priority_; }
|
|
set {
|
|
priority_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "blend_in_time" field.</summary>
|
|
public const int BlendInTimeFieldNumber = 2;
|
|
private float blendInTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BlendInTime {
|
|
get { return blendInTime_; }
|
|
set {
|
|
blendInTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sky_box_data" field.</summary>
|
|
public const int SkyBoxDataFieldNumber = 3;
|
|
private global::RecRoom.Protobuf.SkyBoxCircuitData skyBoxData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.SkyBoxCircuitData SkyBoxData {
|
|
get { return skyBoxData_; }
|
|
set {
|
|
skyBoxData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sun_data" field.</summary>
|
|
public const int SunDataFieldNumber = 4;
|
|
private global::RecRoom.Protobuf.SunCircuitData sunData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.SunCircuitData SunData {
|
|
get { return sunData_; }
|
|
set {
|
|
sunData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "bloom_data" field.</summary>
|
|
public const int BloomDataFieldNumber = 5;
|
|
private global::RecRoom.Protobuf.BloomCircuitData bloomData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.BloomCircuitData BloomData {
|
|
get { return bloomData_; }
|
|
set {
|
|
bloomData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_data" field.</summary>
|
|
public const int ColorGradingDataFieldNumber = 6;
|
|
private global::RecRoom.Protobuf.ColorGradingCircuitData colorGradingData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.ColorGradingCircuitData ColorGradingData {
|
|
get { return colorGradingData_; }
|
|
set {
|
|
colorGradingData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "fog_data" field.</summary>
|
|
public const int FogDataFieldNumber = 7;
|
|
private global::RecRoom.Protobuf.FogCircuitData fogData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.FogCircuitData FogData {
|
|
get { return fogData_; }
|
|
set {
|
|
fogData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "background_objects_data" field.</summary>
|
|
public const int BackgroundObjectsDataFieldNumber = 8;
|
|
private global::RecRoom.Protobuf.BackgroundObjectsCircuitData backgroundObjectsData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.BackgroundObjectsCircuitData BackgroundObjectsData {
|
|
get { return backgroundObjectsData_; }
|
|
set {
|
|
backgroundObjectsData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "role_guid" field.</summary>
|
|
public const int RoleGuidFieldNumber = 9;
|
|
private string roleGuid_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RoleGuid {
|
|
get { return roleGuid_; }
|
|
set {
|
|
roleGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "blend_out_time" field.</summary>
|
|
public const int BlendOutTimeFieldNumber = 10;
|
|
private float blendOutTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BlendOutTime {
|
|
get { return blendOutTime_; }
|
|
set {
|
|
blendOutTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ease_in_out" field.</summary>
|
|
public const int EaseInOutFieldNumber = 11;
|
|
private int easeInOut_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EaseInOut {
|
|
get { return easeInOut_; }
|
|
set {
|
|
easeInOut_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MoodCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MoodCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Priority != other.Priority) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BlendInTime, other.BlendInTime)) return false;
|
|
if (!object.Equals(SkyBoxData, other.SkyBoxData)) return false;
|
|
if (!object.Equals(SunData, other.SunData)) return false;
|
|
if (!object.Equals(BloomData, other.BloomData)) return false;
|
|
if (!object.Equals(ColorGradingData, other.ColorGradingData)) return false;
|
|
if (!object.Equals(FogData, other.FogData)) return false;
|
|
if (!object.Equals(BackgroundObjectsData, other.BackgroundObjectsData)) return false;
|
|
if (RoleGuid != other.RoleGuid) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BlendOutTime, other.BlendOutTime)) return false;
|
|
if (EaseInOut != other.EaseInOut) 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 (Priority != 0) hash ^= Priority.GetHashCode();
|
|
if (BlendInTime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BlendInTime);
|
|
if (skyBoxData_ != null) hash ^= SkyBoxData.GetHashCode();
|
|
if (sunData_ != null) hash ^= SunData.GetHashCode();
|
|
if (bloomData_ != null) hash ^= BloomData.GetHashCode();
|
|
if (colorGradingData_ != null) hash ^= ColorGradingData.GetHashCode();
|
|
if (fogData_ != null) hash ^= FogData.GetHashCode();
|
|
if (backgroundObjectsData_ != null) hash ^= BackgroundObjectsData.GetHashCode();
|
|
if (RoleGuid.Length != 0) hash ^= RoleGuid.GetHashCode();
|
|
if (BlendOutTime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BlendOutTime);
|
|
if (EaseInOut != 0) hash ^= EaseInOut.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 (Priority != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Priority);
|
|
}
|
|
if (BlendInTime != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(BlendInTime);
|
|
}
|
|
if (skyBoxData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(SkyBoxData);
|
|
}
|
|
if (sunData_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(SunData);
|
|
}
|
|
if (bloomData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(BloomData);
|
|
}
|
|
if (colorGradingData_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(ColorGradingData);
|
|
}
|
|
if (fogData_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(FogData);
|
|
}
|
|
if (backgroundObjectsData_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(BackgroundObjectsData);
|
|
}
|
|
if (RoleGuid.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(RoleGuid);
|
|
}
|
|
if (BlendOutTime != 0F) {
|
|
output.WriteRawTag(85);
|
|
output.WriteFloat(BlendOutTime);
|
|
}
|
|
if (EaseInOut != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(EaseInOut);
|
|
}
|
|
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 (Priority != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Priority);
|
|
}
|
|
if (BlendInTime != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(BlendInTime);
|
|
}
|
|
if (skyBoxData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(SkyBoxData);
|
|
}
|
|
if (sunData_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(SunData);
|
|
}
|
|
if (bloomData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(BloomData);
|
|
}
|
|
if (colorGradingData_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(ColorGradingData);
|
|
}
|
|
if (fogData_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(FogData);
|
|
}
|
|
if (backgroundObjectsData_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(BackgroundObjectsData);
|
|
}
|
|
if (RoleGuid.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(RoleGuid);
|
|
}
|
|
if (BlendOutTime != 0F) {
|
|
output.WriteRawTag(85);
|
|
output.WriteFloat(BlendOutTime);
|
|
}
|
|
if (EaseInOut != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(EaseInOut);
|
|
}
|
|
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 (Priority != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority);
|
|
}
|
|
if (BlendInTime != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (skyBoxData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SkyBoxData);
|
|
}
|
|
if (sunData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SunData);
|
|
}
|
|
if (bloomData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BloomData);
|
|
}
|
|
if (colorGradingData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColorGradingData);
|
|
}
|
|
if (fogData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FogData);
|
|
}
|
|
if (backgroundObjectsData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BackgroundObjectsData);
|
|
}
|
|
if (RoleGuid.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleGuid);
|
|
}
|
|
if (BlendOutTime != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (EaseInOut != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EaseInOut);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MoodCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Priority != 0) {
|
|
Priority = other.Priority;
|
|
}
|
|
if (other.BlendInTime != 0F) {
|
|
BlendInTime = other.BlendInTime;
|
|
}
|
|
if (other.skyBoxData_ != null) {
|
|
if (skyBoxData_ == null) {
|
|
SkyBoxData = new global::RecRoom.Protobuf.SkyBoxCircuitData();
|
|
}
|
|
SkyBoxData.MergeFrom(other.SkyBoxData);
|
|
}
|
|
if (other.sunData_ != null) {
|
|
if (sunData_ == null) {
|
|
SunData = new global::RecRoom.Protobuf.SunCircuitData();
|
|
}
|
|
SunData.MergeFrom(other.SunData);
|
|
}
|
|
if (other.bloomData_ != null) {
|
|
if (bloomData_ == null) {
|
|
BloomData = new global::RecRoom.Protobuf.BloomCircuitData();
|
|
}
|
|
BloomData.MergeFrom(other.BloomData);
|
|
}
|
|
if (other.colorGradingData_ != null) {
|
|
if (colorGradingData_ == null) {
|
|
ColorGradingData = new global::RecRoom.Protobuf.ColorGradingCircuitData();
|
|
}
|
|
ColorGradingData.MergeFrom(other.ColorGradingData);
|
|
}
|
|
if (other.fogData_ != null) {
|
|
if (fogData_ == null) {
|
|
FogData = new global::RecRoom.Protobuf.FogCircuitData();
|
|
}
|
|
FogData.MergeFrom(other.FogData);
|
|
}
|
|
if (other.backgroundObjectsData_ != null) {
|
|
if (backgroundObjectsData_ == null) {
|
|
BackgroundObjectsData = new global::RecRoom.Protobuf.BackgroundObjectsCircuitData();
|
|
}
|
|
BackgroundObjectsData.MergeFrom(other.BackgroundObjectsData);
|
|
}
|
|
if (other.RoleGuid.Length != 0) {
|
|
RoleGuid = other.RoleGuid;
|
|
}
|
|
if (other.BlendOutTime != 0F) {
|
|
BlendOutTime = other.BlendOutTime;
|
|
}
|
|
if (other.EaseInOut != 0) {
|
|
EaseInOut = other.EaseInOut;
|
|
}
|
|
_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: {
|
|
Priority = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 21: {
|
|
BlendInTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (skyBoxData_ == null) {
|
|
SkyBoxData = new global::RecRoom.Protobuf.SkyBoxCircuitData();
|
|
}
|
|
input.ReadMessage(SkyBoxData);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (sunData_ == null) {
|
|
SunData = new global::RecRoom.Protobuf.SunCircuitData();
|
|
}
|
|
input.ReadMessage(SunData);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (bloomData_ == null) {
|
|
BloomData = new global::RecRoom.Protobuf.BloomCircuitData();
|
|
}
|
|
input.ReadMessage(BloomData);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (colorGradingData_ == null) {
|
|
ColorGradingData = new global::RecRoom.Protobuf.ColorGradingCircuitData();
|
|
}
|
|
input.ReadMessage(ColorGradingData);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (fogData_ == null) {
|
|
FogData = new global::RecRoom.Protobuf.FogCircuitData();
|
|
}
|
|
input.ReadMessage(FogData);
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (backgroundObjectsData_ == null) {
|
|
BackgroundObjectsData = new global::RecRoom.Protobuf.BackgroundObjectsCircuitData();
|
|
}
|
|
input.ReadMessage(BackgroundObjectsData);
|
|
break;
|
|
}
|
|
case 74: {
|
|
RoleGuid = input.ReadString();
|
|
break;
|
|
}
|
|
case 85: {
|
|
BlendOutTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 88: {
|
|
EaseInOut = 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 8: {
|
|
Priority = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 21: {
|
|
BlendInTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (skyBoxData_ == null) {
|
|
SkyBoxData = new global::RecRoom.Protobuf.SkyBoxCircuitData();
|
|
}
|
|
input.ReadMessage(SkyBoxData);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (sunData_ == null) {
|
|
SunData = new global::RecRoom.Protobuf.SunCircuitData();
|
|
}
|
|
input.ReadMessage(SunData);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (bloomData_ == null) {
|
|
BloomData = new global::RecRoom.Protobuf.BloomCircuitData();
|
|
}
|
|
input.ReadMessage(BloomData);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (colorGradingData_ == null) {
|
|
ColorGradingData = new global::RecRoom.Protobuf.ColorGradingCircuitData();
|
|
}
|
|
input.ReadMessage(ColorGradingData);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (fogData_ == null) {
|
|
FogData = new global::RecRoom.Protobuf.FogCircuitData();
|
|
}
|
|
input.ReadMessage(FogData);
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (backgroundObjectsData_ == null) {
|
|
BackgroundObjectsData = new global::RecRoom.Protobuf.BackgroundObjectsCircuitData();
|
|
}
|
|
input.ReadMessage(BackgroundObjectsData);
|
|
break;
|
|
}
|
|
case 74: {
|
|
RoleGuid = input.ReadString();
|
|
break;
|
|
}
|
|
case 85: {
|
|
BlendOutTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 88: {
|
|
EaseInOut = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SkyBoxCircuitData : pb::IMessage<SkyBoxCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SkyBoxCircuitData> _parser = new pb::MessageParser<SkyBoxCircuitData>(() => new SkyBoxCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SkyBoxCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[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 SkyBoxCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SkyBoxCircuitData(SkyBoxCircuitData other) : this() {
|
|
skyTopColor_ = other.skyTopColor_;
|
|
skyBottomColor_ = other.skyBottomColor_;
|
|
groundTopColor_ = other.groundTopColor_;
|
|
groundBottomColor_ = other.groundBottomColor_;
|
|
horizonColor_ = other.horizonColor_;
|
|
horizonSize_ = other.horizonSize_;
|
|
horizonStrength_ = other.horizonStrength_;
|
|
ambientLightIntensity_ = other.ambientLightIntensity_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SkyBoxCircuitData Clone() {
|
|
return new SkyBoxCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "sky_top_color" field.</summary>
|
|
public const int SkyTopColorFieldNumber = 1;
|
|
private int skyTopColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int SkyTopColor {
|
|
get { return skyTopColor_; }
|
|
set {
|
|
skyTopColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sky_bottom_color" field.</summary>
|
|
public const int SkyBottomColorFieldNumber = 2;
|
|
private int skyBottomColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int SkyBottomColor {
|
|
get { return skyBottomColor_; }
|
|
set {
|
|
skyBottomColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ground_top_color" field.</summary>
|
|
public const int GroundTopColorFieldNumber = 3;
|
|
private int groundTopColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int GroundTopColor {
|
|
get { return groundTopColor_; }
|
|
set {
|
|
groundTopColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ground_bottom_color" field.</summary>
|
|
public const int GroundBottomColorFieldNumber = 4;
|
|
private int groundBottomColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int GroundBottomColor {
|
|
get { return groundBottomColor_; }
|
|
set {
|
|
groundBottomColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "horizon_color" field.</summary>
|
|
public const int HorizonColorFieldNumber = 5;
|
|
private int horizonColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int HorizonColor {
|
|
get { return horizonColor_; }
|
|
set {
|
|
horizonColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "horizon_size" field.</summary>
|
|
public const int HorizonSizeFieldNumber = 6;
|
|
private float horizonSize_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float HorizonSize {
|
|
get { return horizonSize_; }
|
|
set {
|
|
horizonSize_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "horizon_strength" field.</summary>
|
|
public const int HorizonStrengthFieldNumber = 7;
|
|
private float horizonStrength_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float HorizonStrength {
|
|
get { return horizonStrength_; }
|
|
set {
|
|
horizonStrength_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ambient_light_intensity" field.</summary>
|
|
public const int AmbientLightIntensityFieldNumber = 8;
|
|
private float ambientLightIntensity_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float AmbientLightIntensity {
|
|
get { return ambientLightIntensity_; }
|
|
set {
|
|
ambientLightIntensity_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SkyBoxCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SkyBoxCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (SkyTopColor != other.SkyTopColor) return false;
|
|
if (SkyBottomColor != other.SkyBottomColor) return false;
|
|
if (GroundTopColor != other.GroundTopColor) return false;
|
|
if (GroundBottomColor != other.GroundBottomColor) 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;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AmbientLightIntensity, other.AmbientLightIntensity)) 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 (SkyTopColor != 0) hash ^= SkyTopColor.GetHashCode();
|
|
if (SkyBottomColor != 0) hash ^= SkyBottomColor.GetHashCode();
|
|
if (GroundTopColor != 0) hash ^= GroundTopColor.GetHashCode();
|
|
if (GroundBottomColor != 0) hash ^= GroundBottomColor.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 (AmbientLightIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AmbientLightIntensity);
|
|
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 (SkyTopColor != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(SkyTopColor);
|
|
}
|
|
if (SkyBottomColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(SkyBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(GroundTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(GroundBottomColor);
|
|
}
|
|
if (HorizonColor != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(HorizonColor);
|
|
}
|
|
if (HorizonSize != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(HorizonSize);
|
|
}
|
|
if (HorizonStrength != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(HorizonStrength);
|
|
}
|
|
if (AmbientLightIntensity != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(AmbientLightIntensity);
|
|
}
|
|
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 (SkyTopColor != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(SkyTopColor);
|
|
}
|
|
if (SkyBottomColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(SkyBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(GroundTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(GroundBottomColor);
|
|
}
|
|
if (HorizonColor != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(HorizonColor);
|
|
}
|
|
if (HorizonSize != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(HorizonSize);
|
|
}
|
|
if (HorizonStrength != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(HorizonStrength);
|
|
}
|
|
if (AmbientLightIntensity != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(AmbientLightIntensity);
|
|
}
|
|
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 (SkyTopColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyTopColor);
|
|
}
|
|
if (SkyBottomColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundBottomColor);
|
|
}
|
|
if (HorizonColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorizonColor);
|
|
}
|
|
if (HorizonSize != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (HorizonStrength != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (AmbientLightIntensity != 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(SkyBoxCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.SkyTopColor != 0) {
|
|
SkyTopColor = other.SkyTopColor;
|
|
}
|
|
if (other.SkyBottomColor != 0) {
|
|
SkyBottomColor = other.SkyBottomColor;
|
|
}
|
|
if (other.GroundTopColor != 0) {
|
|
GroundTopColor = other.GroundTopColor;
|
|
}
|
|
if (other.GroundBottomColor != 0) {
|
|
GroundBottomColor = other.GroundBottomColor;
|
|
}
|
|
if (other.HorizonColor != 0) {
|
|
HorizonColor = other.HorizonColor;
|
|
}
|
|
if (other.HorizonSize != 0F) {
|
|
HorizonSize = other.HorizonSize;
|
|
}
|
|
if (other.HorizonStrength != 0F) {
|
|
HorizonStrength = other.HorizonStrength;
|
|
}
|
|
if (other.AmbientLightIntensity != 0F) {
|
|
AmbientLightIntensity = other.AmbientLightIntensity;
|
|
}
|
|
_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: {
|
|
SkyTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SkyBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
GroundTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
GroundBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HorizonColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
HorizonSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
HorizonStrength = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
AmbientLightIntensity = 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: {
|
|
SkyTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SkyBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
GroundTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
GroundBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HorizonColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
HorizonSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
HorizonStrength = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
AmbientLightIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SunCircuitData : pb::IMessage<SunCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SunCircuitData> _parser = new pb::MessageParser<SunCircuitData>(() => new SunCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SunCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[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 SunCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SunCircuitData(SunCircuitData other) : this() {
|
|
sunColor_ = other.sunColor_;
|
|
discSize_ = other.discSize_;
|
|
intensity_ = other.intensity_;
|
|
shadowStrength_ = other.shadowStrength_;
|
|
glowColor_ = other.glowColor_;
|
|
glowSize_ = other.glowSize_;
|
|
glowStrength_ = other.glowStrength_;
|
|
glowHorizon_ = other.glowHorizon_;
|
|
blendSunDirection_ = other.blendSunDirection_;
|
|
clipSun_ = other.clipSun_;
|
|
reflectionIntensity_ = other.reflectionIntensity_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SunCircuitData Clone() {
|
|
return new SunCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "sun_color" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "disc_size" field.</summary>
|
|
public const int DiscSizeFieldNumber = 2;
|
|
private float discSize_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float DiscSize {
|
|
get { return discSize_; }
|
|
set {
|
|
discSize_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "intensity" field.</summary>
|
|
public const int IntensityFieldNumber = 3;
|
|
private float intensity_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float Intensity {
|
|
get { return intensity_; }
|
|
set {
|
|
intensity_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "shadow_strength" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "glow_color" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "glow_size" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "glow_strength" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "glow_horizon" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "blend_sun_direction" field.</summary>
|
|
public const int BlendSunDirectionFieldNumber = 9;
|
|
private int blendSunDirection_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int BlendSunDirection {
|
|
get { return blendSunDirection_; }
|
|
set {
|
|
blendSunDirection_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "clip_sun" field.</summary>
|
|
public const int ClipSunFieldNumber = 10;
|
|
private int clipSun_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ClipSun {
|
|
get { return clipSun_; }
|
|
set {
|
|
clipSun_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reflection_intensity" field.</summary>
|
|
public const int ReflectionIntensityFieldNumber = 11;
|
|
private float reflectionIntensity_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ReflectionIntensity {
|
|
get { return reflectionIntensity_; }
|
|
set {
|
|
reflectionIntensity_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SunCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SunCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (SunColor != other.SunColor) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DiscSize, other.DiscSize)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Intensity, other.Intensity)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowStrength, other.ShadowStrength)) 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 (BlendSunDirection != other.BlendSunDirection) return false;
|
|
if (ClipSun != other.ClipSun) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ReflectionIntensity, other.ReflectionIntensity)) 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 (DiscSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DiscSize);
|
|
if (Intensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Intensity);
|
|
if (ShadowStrength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowStrength);
|
|
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 (BlendSunDirection != 0) hash ^= BlendSunDirection.GetHashCode();
|
|
if (ClipSun != 0) hash ^= ClipSun.GetHashCode();
|
|
if (ReflectionIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ReflectionIntensity);
|
|
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 (DiscSize != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(DiscSize);
|
|
}
|
|
if (Intensity != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(Intensity);
|
|
}
|
|
if (ShadowStrength != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(ShadowStrength);
|
|
}
|
|
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 (BlendSunDirection != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(BlendSunDirection);
|
|
}
|
|
if (ClipSun != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ClipSun);
|
|
}
|
|
if (ReflectionIntensity != 0F) {
|
|
output.WriteRawTag(93);
|
|
output.WriteFloat(ReflectionIntensity);
|
|
}
|
|
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 (DiscSize != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(DiscSize);
|
|
}
|
|
if (Intensity != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(Intensity);
|
|
}
|
|
if (ShadowStrength != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(ShadowStrength);
|
|
}
|
|
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 (BlendSunDirection != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(BlendSunDirection);
|
|
}
|
|
if (ClipSun != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ClipSun);
|
|
}
|
|
if (ReflectionIntensity != 0F) {
|
|
output.WriteRawTag(93);
|
|
output.WriteFloat(ReflectionIntensity);
|
|
}
|
|
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 (DiscSize != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Intensity != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ShadowStrength != 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 (BlendSunDirection != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BlendSunDirection);
|
|
}
|
|
if (ClipSun != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClipSun);
|
|
}
|
|
if (ReflectionIntensity != 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(SunCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.SunColor != 0) {
|
|
SunColor = other.SunColor;
|
|
}
|
|
if (other.DiscSize != 0F) {
|
|
DiscSize = other.DiscSize;
|
|
}
|
|
if (other.Intensity != 0F) {
|
|
Intensity = other.Intensity;
|
|
}
|
|
if (other.ShadowStrength != 0F) {
|
|
ShadowStrength = other.ShadowStrength;
|
|
}
|
|
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.BlendSunDirection != 0) {
|
|
BlendSunDirection = other.BlendSunDirection;
|
|
}
|
|
if (other.ClipSun != 0) {
|
|
ClipSun = other.ClipSun;
|
|
}
|
|
if (other.ReflectionIntensity != 0F) {
|
|
ReflectionIntensity = other.ReflectionIntensity;
|
|
}
|
|
_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: {
|
|
DiscSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
Intensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
ShadowStrength = 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 72: {
|
|
BlendSunDirection = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ClipSun = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 93: {
|
|
ReflectionIntensity = 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: {
|
|
SunColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 21: {
|
|
DiscSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
Intensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
ShadowStrength = 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 72: {
|
|
BlendSunDirection = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ClipSun = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 93: {
|
|
ReflectionIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BloomCircuitData : pb::IMessage<BloomCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BloomCircuitData> _parser = new pb::MessageParser<BloomCircuitData>(() => new BloomCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BloomCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[3]; }
|
|
}
|
|
|
|
[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 BloomCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BloomCircuitData(BloomCircuitData other) : this() {
|
|
bloomIntensity_ = other.bloomIntensity_;
|
|
bloomThreshold_ = other.bloomThreshold_;
|
|
bloomDiffusion_ = other.bloomDiffusion_;
|
|
bloomColor_ = other.bloomColor_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BloomCircuitData Clone() {
|
|
return new BloomCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "bloom_intensity" field.</summary>
|
|
public const int BloomIntensityFieldNumber = 1;
|
|
private float bloomIntensity_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BloomIntensity {
|
|
get { return bloomIntensity_; }
|
|
set {
|
|
bloomIntensity_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "bloom_threshold" field.</summary>
|
|
public const int BloomThresholdFieldNumber = 2;
|
|
private float bloomThreshold_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BloomThreshold {
|
|
get { return bloomThreshold_; }
|
|
set {
|
|
bloomThreshold_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "bloom_diffusion" field.</summary>
|
|
public const int BloomDiffusionFieldNumber = 3;
|
|
private float bloomDiffusion_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BloomDiffusion {
|
|
get { return bloomDiffusion_; }
|
|
set {
|
|
bloomDiffusion_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "bloom_color" field.</summary>
|
|
public const int BloomColorFieldNumber = 4;
|
|
private int bloomColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int BloomColor {
|
|
get { return bloomColor_; }
|
|
set {
|
|
bloomColor_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BloomCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BloomCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BloomIntensity, other.BloomIntensity)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BloomThreshold, other.BloomThreshold)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BloomDiffusion, other.BloomDiffusion)) return false;
|
|
if (BloomColor != other.BloomColor) 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 (BloomIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BloomIntensity);
|
|
if (BloomThreshold != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BloomThreshold);
|
|
if (BloomDiffusion != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BloomDiffusion);
|
|
if (BloomColor != 0) hash ^= BloomColor.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 (BloomIntensity != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(BloomIntensity);
|
|
}
|
|
if (BloomThreshold != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(BloomThreshold);
|
|
}
|
|
if (BloomDiffusion != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(BloomDiffusion);
|
|
}
|
|
if (BloomColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(BloomColor);
|
|
}
|
|
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 (BloomIntensity != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(BloomIntensity);
|
|
}
|
|
if (BloomThreshold != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(BloomThreshold);
|
|
}
|
|
if (BloomDiffusion != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(BloomDiffusion);
|
|
}
|
|
if (BloomColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(BloomColor);
|
|
}
|
|
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 (BloomIntensity != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (BloomThreshold != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (BloomDiffusion != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (BloomColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BloomColor);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BloomCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BloomIntensity != 0F) {
|
|
BloomIntensity = other.BloomIntensity;
|
|
}
|
|
if (other.BloomThreshold != 0F) {
|
|
BloomThreshold = other.BloomThreshold;
|
|
}
|
|
if (other.BloomDiffusion != 0F) {
|
|
BloomDiffusion = other.BloomDiffusion;
|
|
}
|
|
if (other.BloomColor != 0) {
|
|
BloomColor = other.BloomColor;
|
|
}
|
|
_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 13: {
|
|
BloomIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 21: {
|
|
BloomThreshold = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
BloomDiffusion = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BloomColor = 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 13: {
|
|
BloomIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 21: {
|
|
BloomThreshold = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
BloomDiffusion = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BloomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ColorGradingCircuitData : pb::IMessage<ColorGradingCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ColorGradingCircuitData> _parser = new pb::MessageParser<ColorGradingCircuitData>(() => new ColorGradingCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ColorGradingCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[4]; }
|
|
}
|
|
|
|
[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 ColorGradingCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ColorGradingCircuitData(ColorGradingCircuitData other) : this() {
|
|
colorGradingTemp_ = other.colorGradingTemp_;
|
|
colorGradingTint_ = other.colorGradingTint_;
|
|
colorGradingExposure_ = other.colorGradingExposure_;
|
|
colorGradingColorFilter_ = other.colorGradingColorFilter_;
|
|
colorGradingColorFilterIntensity_ = other.colorGradingColorFilterIntensity_;
|
|
colorGradingHueShift_ = other.colorGradingHueShift_;
|
|
colorGradingSaturation_ = other.colorGradingSaturation_;
|
|
colorGradingContrast_ = other.colorGradingContrast_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ColorGradingCircuitData Clone() {
|
|
return new ColorGradingCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_temp" field.</summary>
|
|
public const int ColorGradingTempFieldNumber = 1;
|
|
private float colorGradingTemp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingTemp {
|
|
get { return colorGradingTemp_; }
|
|
set {
|
|
colorGradingTemp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_tint" field.</summary>
|
|
public const int ColorGradingTintFieldNumber = 2;
|
|
private float colorGradingTint_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingTint {
|
|
get { return colorGradingTint_; }
|
|
set {
|
|
colorGradingTint_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_exposure" field.</summary>
|
|
public const int ColorGradingExposureFieldNumber = 3;
|
|
private float colorGradingExposure_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingExposure {
|
|
get { return colorGradingExposure_; }
|
|
set {
|
|
colorGradingExposure_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_color_filter" field.</summary>
|
|
public const int ColorGradingColorFilterFieldNumber = 4;
|
|
private int colorGradingColorFilter_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ColorGradingColorFilter {
|
|
get { return colorGradingColorFilter_; }
|
|
set {
|
|
colorGradingColorFilter_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_color_filter_intensity" field.</summary>
|
|
public const int ColorGradingColorFilterIntensityFieldNumber = 5;
|
|
private float colorGradingColorFilterIntensity_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingColorFilterIntensity {
|
|
get { return colorGradingColorFilterIntensity_; }
|
|
set {
|
|
colorGradingColorFilterIntensity_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_hue_shift" field.</summary>
|
|
public const int ColorGradingHueShiftFieldNumber = 6;
|
|
private float colorGradingHueShift_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingHueShift {
|
|
get { return colorGradingHueShift_; }
|
|
set {
|
|
colorGradingHueShift_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_saturation" field.</summary>
|
|
public const int ColorGradingSaturationFieldNumber = 7;
|
|
private float colorGradingSaturation_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingSaturation {
|
|
get { return colorGradingSaturation_; }
|
|
set {
|
|
colorGradingSaturation_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color_grading_contrast" field.</summary>
|
|
public const int ColorGradingContrastFieldNumber = 8;
|
|
private float colorGradingContrast_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float ColorGradingContrast {
|
|
get { return colorGradingContrast_; }
|
|
set {
|
|
colorGradingContrast_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ColorGradingCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ColorGradingCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingTemp, other.ColorGradingTemp)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingTint, other.ColorGradingTint)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingExposure, other.ColorGradingExposure)) return false;
|
|
if (ColorGradingColorFilter != other.ColorGradingColorFilter) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingColorFilterIntensity, other.ColorGradingColorFilterIntensity)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingHueShift, other.ColorGradingHueShift)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingSaturation, other.ColorGradingSaturation)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ColorGradingContrast, other.ColorGradingContrast)) 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 (ColorGradingTemp != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingTemp);
|
|
if (ColorGradingTint != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingTint);
|
|
if (ColorGradingExposure != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingExposure);
|
|
if (ColorGradingColorFilter != 0) hash ^= ColorGradingColorFilter.GetHashCode();
|
|
if (ColorGradingColorFilterIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingColorFilterIntensity);
|
|
if (ColorGradingHueShift != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingHueShift);
|
|
if (ColorGradingSaturation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingSaturation);
|
|
if (ColorGradingContrast != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ColorGradingContrast);
|
|
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 (ColorGradingTemp != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(ColorGradingTemp);
|
|
}
|
|
if (ColorGradingTint != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(ColorGradingTint);
|
|
}
|
|
if (ColorGradingExposure != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(ColorGradingExposure);
|
|
}
|
|
if (ColorGradingColorFilter != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(ColorGradingColorFilter);
|
|
}
|
|
if (ColorGradingColorFilterIntensity != 0F) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFloat(ColorGradingColorFilterIntensity);
|
|
}
|
|
if (ColorGradingHueShift != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(ColorGradingHueShift);
|
|
}
|
|
if (ColorGradingSaturation != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(ColorGradingSaturation);
|
|
}
|
|
if (ColorGradingContrast != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(ColorGradingContrast);
|
|
}
|
|
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 (ColorGradingTemp != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(ColorGradingTemp);
|
|
}
|
|
if (ColorGradingTint != 0F) {
|
|
output.WriteRawTag(21);
|
|
output.WriteFloat(ColorGradingTint);
|
|
}
|
|
if (ColorGradingExposure != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(ColorGradingExposure);
|
|
}
|
|
if (ColorGradingColorFilter != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(ColorGradingColorFilter);
|
|
}
|
|
if (ColorGradingColorFilterIntensity != 0F) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFloat(ColorGradingColorFilterIntensity);
|
|
}
|
|
if (ColorGradingHueShift != 0F) {
|
|
output.WriteRawTag(53);
|
|
output.WriteFloat(ColorGradingHueShift);
|
|
}
|
|
if (ColorGradingSaturation != 0F) {
|
|
output.WriteRawTag(61);
|
|
output.WriteFloat(ColorGradingSaturation);
|
|
}
|
|
if (ColorGradingContrast != 0F) {
|
|
output.WriteRawTag(69);
|
|
output.WriteFloat(ColorGradingContrast);
|
|
}
|
|
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 (ColorGradingTemp != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingTint != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingExposure != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingColorFilter != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorGradingColorFilter);
|
|
}
|
|
if (ColorGradingColorFilterIntensity != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingHueShift != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingSaturation != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (ColorGradingContrast != 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(ColorGradingCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ColorGradingTemp != 0F) {
|
|
ColorGradingTemp = other.ColorGradingTemp;
|
|
}
|
|
if (other.ColorGradingTint != 0F) {
|
|
ColorGradingTint = other.ColorGradingTint;
|
|
}
|
|
if (other.ColorGradingExposure != 0F) {
|
|
ColorGradingExposure = other.ColorGradingExposure;
|
|
}
|
|
if (other.ColorGradingColorFilter != 0) {
|
|
ColorGradingColorFilter = other.ColorGradingColorFilter;
|
|
}
|
|
if (other.ColorGradingColorFilterIntensity != 0F) {
|
|
ColorGradingColorFilterIntensity = other.ColorGradingColorFilterIntensity;
|
|
}
|
|
if (other.ColorGradingHueShift != 0F) {
|
|
ColorGradingHueShift = other.ColorGradingHueShift;
|
|
}
|
|
if (other.ColorGradingSaturation != 0F) {
|
|
ColorGradingSaturation = other.ColorGradingSaturation;
|
|
}
|
|
if (other.ColorGradingContrast != 0F) {
|
|
ColorGradingContrast = other.ColorGradingContrast;
|
|
}
|
|
_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 13: {
|
|
ColorGradingTemp = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 21: {
|
|
ColorGradingTint = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
ColorGradingExposure = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 32: {
|
|
ColorGradingColorFilter = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 45: {
|
|
ColorGradingColorFilterIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 53: {
|
|
ColorGradingHueShift = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
ColorGradingSaturation = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
ColorGradingContrast = 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 13: {
|
|
ColorGradingTemp = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 21: {
|
|
ColorGradingTint = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
ColorGradingExposure = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 32: {
|
|
ColorGradingColorFilter = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 45: {
|
|
ColorGradingColorFilterIntensity = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 53: {
|
|
ColorGradingHueShift = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
ColorGradingSaturation = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 69: {
|
|
ColorGradingContrast = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class FogCircuitData : pb::IMessage<FogCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<FogCircuitData> _parser = new pb::MessageParser<FogCircuitData>(() => new FogCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<FogCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[5]; }
|
|
}
|
|
|
|
[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 FogCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FogCircuitData(FogCircuitData other) : this() {
|
|
color_ = other.color_;
|
|
startDistance_ = other.startDistance_;
|
|
fadeDistance_ = other.fadeDistance_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FogCircuitData Clone() {
|
|
return new FogCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "color" field.</summary>
|
|
public const int ColorFieldNumber = 1;
|
|
private int color_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Color {
|
|
get { return color_; }
|
|
set {
|
|
color_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "start_distance" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "fade_distance" field.</summary>
|
|
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 FogCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(FogCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Color != other.Color) 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 (Color != 0) hash ^= Color.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 (Color != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Color);
|
|
}
|
|
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 (Color != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Color);
|
|
}
|
|
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 (Color != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Color);
|
|
}
|
|
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(FogCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Color != 0) {
|
|
Color = other.Color;
|
|
}
|
|
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: {
|
|
Color = 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: {
|
|
Color = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 21: {
|
|
StartDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 29: {
|
|
FadeDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BackgroundObjectData : pb::IMessage<BackgroundObjectData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BackgroundObjectData> _parser = new pb::MessageParser<BackgroundObjectData>(() => new BackgroundObjectData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BackgroundObjectData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[6]; }
|
|
}
|
|
|
|
[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 BackgroundObjectData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BackgroundObjectData(BackgroundObjectData other) : this() {
|
|
objectId_ = other.objectId_;
|
|
color_ = other.color_;
|
|
alpha_ = other.alpha_;
|
|
rotation_ = other.rotation_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BackgroundObjectData Clone() {
|
|
return new BackgroundObjectData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "object_id" field.</summary>
|
|
public const int ObjectIdFieldNumber = 1;
|
|
private int objectId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ObjectId {
|
|
get { return objectId_; }
|
|
set {
|
|
objectId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color" field.</summary>
|
|
public const int ColorFieldNumber = 2;
|
|
private int color_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Color {
|
|
get { return color_; }
|
|
set {
|
|
color_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "alpha" field.</summary>
|
|
public const int AlphaFieldNumber = 3;
|
|
private float alpha_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float Alpha {
|
|
get { return alpha_; }
|
|
set {
|
|
alpha_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rotation" field.</summary>
|
|
public const int RotationFieldNumber = 4;
|
|
private float rotation_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float Rotation {
|
|
get { return rotation_; }
|
|
set {
|
|
rotation_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BackgroundObjectData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BackgroundObjectData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ObjectId != other.ObjectId) return false;
|
|
if (Color != other.Color) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Alpha, other.Alpha)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Rotation, other.Rotation)) 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 (ObjectId != 0) hash ^= ObjectId.GetHashCode();
|
|
if (Color != 0) hash ^= Color.GetHashCode();
|
|
if (Alpha != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Alpha);
|
|
if (Rotation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Rotation);
|
|
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 (ObjectId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(ObjectId);
|
|
}
|
|
if (Color != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Color);
|
|
}
|
|
if (Alpha != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(Alpha);
|
|
}
|
|
if (Rotation != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(Rotation);
|
|
}
|
|
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 (ObjectId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(ObjectId);
|
|
}
|
|
if (Color != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Color);
|
|
}
|
|
if (Alpha != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(Alpha);
|
|
}
|
|
if (Rotation != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(Rotation);
|
|
}
|
|
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 (ObjectId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ObjectId);
|
|
}
|
|
if (Color != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Color);
|
|
}
|
|
if (Alpha != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Rotation != 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(BackgroundObjectData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ObjectId != 0) {
|
|
ObjectId = other.ObjectId;
|
|
}
|
|
if (other.Color != 0) {
|
|
Color = other.Color;
|
|
}
|
|
if (other.Alpha != 0F) {
|
|
Alpha = other.Alpha;
|
|
}
|
|
if (other.Rotation != 0F) {
|
|
Rotation = other.Rotation;
|
|
}
|
|
_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: {
|
|
ObjectId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Color = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 29: {
|
|
Alpha = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
Rotation = 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: {
|
|
ObjectId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Color = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 29: {
|
|
Alpha = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
Rotation = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BackgroundObjectsCircuitData : pb::IMessage<BackgroundObjectsCircuitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BackgroundObjectsCircuitData> _parser = new pb::MessageParser<BackgroundObjectsCircuitData>(() => new BackgroundObjectsCircuitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BackgroundObjectsCircuitData> 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.MoodCircuitDataReflection.Descriptor.MessageTypes[7]; }
|
|
}
|
|
|
|
[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 BackgroundObjectsCircuitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BackgroundObjectsCircuitData(BackgroundObjectsCircuitData other) : this() {
|
|
objectData_ = other.objectData_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BackgroundObjectsCircuitData Clone() {
|
|
return new BackgroundObjectsCircuitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "object_data" field.</summary>
|
|
public const int ObjectDataFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.BackgroundObjectData> _repeated_objectData_codec
|
|
= pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.BackgroundObjectData.Parser);
|
|
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.BackgroundObjectData> objectData_ = new pbc::RepeatedField<global::RecRoom.Protobuf.BackgroundObjectData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RecRoom.Protobuf.BackgroundObjectData> ObjectData {
|
|
get { return objectData_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BackgroundObjectsCircuitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BackgroundObjectsCircuitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!objectData_.Equals(other.objectData_)) 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;
|
|
hash ^= objectData_.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
|
|
objectData_.WriteTo(output, _repeated_objectData_codec);
|
|
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) {
|
|
objectData_.WriteTo(ref output, _repeated_objectData_codec);
|
|
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;
|
|
size += objectData_.CalculateSize(_repeated_objectData_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BackgroundObjectsCircuitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
objectData_.Add(other.objectData_);
|
|
_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: {
|
|
objectData_.AddEntriesFrom(input, _repeated_objectData_codec);
|
|
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: {
|
|
objectData_.AddEntriesFrom(ref input, _repeated_objectData_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|