469 lines
16 KiB
C#
469 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/skydome_constant_node_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 CircuitsV2.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits_v2/skydome_constant_node_data.proto</summary>
|
|
public static partial class SkydomeConstantNodeDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/skydome_constant_node_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SkydomeConstantNodeDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CixjaXJjdWl0c192Mi9za3lkb21lX2NvbnN0YW50X25vZGVfZGF0YS5wcm90",
|
|
"bxILY2lyY3VpdHNfdjIiyAEKF1NreWRvbWVDb25zdGFudE5vZGVEYXRhEhgK",
|
|
"EHNreV9ib3R0b21fY29sb3IYASABKAUSFQoNc2t5X3RvcF9jb2xvchgCIAEo",
|
|
"BRIbChNncm91bmRfYm90dG9tX2NvbG9yGAMgASgFEhgKEGdyb3VuZF90b3Bf",
|
|
"Y29sb3IYBCABKAUSFQoNaG9yaXpvbl9jb2xvchgFIAEoBRIUCgxob3Jpem9u",
|
|
"X3NpemUYBiABKAISGAoQaG9yaXpvbl9zdHJlbmd0aBgHIAEoAkIWqgITQ2ly",
|
|
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.SkydomeConstantNodeData), global::CircuitsV2.Protobuf.SkydomeConstantNodeData.Parser, new[]{ "SkyBottomColor", "SkyTopColor", "GroundBottomColor", "GroundTopColor", "HorizonColor", "HorizonSize", "HorizonStrength" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SkydomeConstantNodeData : pb::IMessage<SkydomeConstantNodeData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SkydomeConstantNodeData> _parser = new pb::MessageParser<SkydomeConstantNodeData>(() => new SkydomeConstantNodeData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SkydomeConstantNodeData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::CircuitsV2.Protobuf.SkydomeConstantNodeDataReflection.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 SkydomeConstantNodeData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SkydomeConstantNodeData(SkydomeConstantNodeData other) : this() {
|
|
skyBottomColor_ = other.skyBottomColor_;
|
|
skyTopColor_ = other.skyTopColor_;
|
|
groundBottomColor_ = other.groundBottomColor_;
|
|
groundTopColor_ = other.groundTopColor_;
|
|
horizonColor_ = other.horizonColor_;
|
|
horizonSize_ = other.horizonSize_;
|
|
horizonStrength_ = other.horizonStrength_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SkydomeConstantNodeData Clone() {
|
|
return new SkydomeConstantNodeData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "sky_bottom_color" field.</summary>
|
|
public const int SkyBottomColorFieldNumber = 1;
|
|
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 "sky_top_color" field.</summary>
|
|
public const int SkyTopColorFieldNumber = 2;
|
|
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 "ground_bottom_color" field.</summary>
|
|
public const int GroundBottomColorFieldNumber = 3;
|
|
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 "ground_top_color" field.</summary>
|
|
public const int GroundTopColorFieldNumber = 4;
|
|
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 "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;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SkydomeConstantNodeData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SkydomeConstantNodeData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (SkyBottomColor != other.SkyBottomColor) return false;
|
|
if (SkyTopColor != other.SkyTopColor) return false;
|
|
if (GroundBottomColor != other.GroundBottomColor) return false;
|
|
if (GroundTopColor != other.GroundTopColor) return false;
|
|
if (HorizonColor != other.HorizonColor) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HorizonSize, other.HorizonSize)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HorizonStrength, other.HorizonStrength)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (SkyBottomColor != 0) hash ^= SkyBottomColor.GetHashCode();
|
|
if (SkyTopColor != 0) hash ^= SkyTopColor.GetHashCode();
|
|
if (GroundBottomColor != 0) hash ^= GroundBottomColor.GetHashCode();
|
|
if (GroundTopColor != 0) hash ^= GroundTopColor.GetHashCode();
|
|
if (HorizonColor != 0) hash ^= HorizonColor.GetHashCode();
|
|
if (HorizonSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HorizonSize);
|
|
if (HorizonStrength != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HorizonStrength);
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (SkyBottomColor != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(SkyBottomColor);
|
|
}
|
|
if (SkyTopColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(SkyTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(GroundBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(GroundTopColor);
|
|
}
|
|
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 (_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 (SkyBottomColor != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(SkyBottomColor);
|
|
}
|
|
if (SkyTopColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(SkyTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(GroundBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(GroundTopColor);
|
|
}
|
|
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 (_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 (SkyBottomColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyBottomColor);
|
|
}
|
|
if (SkyTopColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkyTopColor);
|
|
}
|
|
if (GroundBottomColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundBottomColor);
|
|
}
|
|
if (GroundTopColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundTopColor);
|
|
}
|
|
if (HorizonColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorizonColor);
|
|
}
|
|
if (HorizonSize != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (HorizonStrength != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SkydomeConstantNodeData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.SkyBottomColor != 0) {
|
|
SkyBottomColor = other.SkyBottomColor;
|
|
}
|
|
if (other.SkyTopColor != 0) {
|
|
SkyTopColor = other.SkyTopColor;
|
|
}
|
|
if (other.GroundBottomColor != 0) {
|
|
GroundBottomColor = other.GroundBottomColor;
|
|
}
|
|
if (other.GroundTopColor != 0) {
|
|
GroundTopColor = other.GroundTopColor;
|
|
}
|
|
if (other.HorizonColor != 0) {
|
|
HorizonColor = other.HorizonColor;
|
|
}
|
|
if (other.HorizonSize != 0F) {
|
|
HorizonSize = other.HorizonSize;
|
|
}
|
|
if (other.HorizonStrength != 0F) {
|
|
HorizonStrength = other.HorizonStrength;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
SkyBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SkyTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
GroundBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
GroundTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HorizonColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
HorizonSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
HorizonStrength = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
SkyBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SkyTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
GroundBottomColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
GroundTopColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
HorizonColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 53: {
|
|
HorizonSize = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 61: {
|
|
HorizonStrength = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|