366 lines
13 KiB
C#
366 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/room_mood_fog_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/room_mood_fog_data.proto</summary>
|
|
public static partial class RoomMoodFogDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/room_mood_fog_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RoomMoodFogDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiRjaXJjdWl0c192Mi9yb29tX21vb2RfZm9nX2RhdGEucHJvdG8SC2NpcmN1",
|
|
"aXRzX3YyGiBjaXJjdWl0c192Mi9yb29tX21vb2RfZGF0YS5wcm90byKGAQoP",
|
|
"Um9vbU1vb2RGb2dEYXRhEjEKDm1vb2RfYmFzZV9kYXRhGAEgASgLMhkuY2ly",
|
|
"Y3VpdHNfdjIuUm9vbU1vb2REYXRhEhEKCWZvZ19jb2xvchgCIAEoBRIWCg5z",
|
|
"dGFydF9kaXN0YW5jZRgDIAEoAhIVCg1mYWRlX2Rpc3RhbmNlGAQgASgCQhaq",
|
|
"AhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.RoomMoodDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.RoomMoodFogData), global::CircuitsV2.Protobuf.RoomMoodFogData.Parser, new[]{ "MoodBaseData", "FogColor", "StartDistance", "FadeDistance" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RoomMoodFogData : pb::IMessage<RoomMoodFogData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RoomMoodFogData> _parser = new pb::MessageParser<RoomMoodFogData>(() => new RoomMoodFogData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RoomMoodFogData> 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.RoomMoodFogDataReflection.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 RoomMoodFogData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomMoodFogData(RoomMoodFogData other) : this() {
|
|
moodBaseData_ = other.moodBaseData_ != null ? other.moodBaseData_.Clone() : null;
|
|
fogColor_ = other.fogColor_;
|
|
startDistance_ = other.startDistance_;
|
|
fadeDistance_ = other.fadeDistance_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomMoodFogData Clone() {
|
|
return new RoomMoodFogData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mood_base_data" field.</summary>
|
|
public const int MoodBaseDataFieldNumber = 1;
|
|
private global::CircuitsV2.Protobuf.RoomMoodData moodBaseData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.RoomMoodData MoodBaseData {
|
|
get { return moodBaseData_; }
|
|
set {
|
|
moodBaseData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "fog_color" field.</summary>
|
|
public const int FogColorFieldNumber = 2;
|
|
private int fogColor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int FogColor {
|
|
get { return fogColor_; }
|
|
set {
|
|
fogColor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "start_distance" field.</summary>
|
|
public const int StartDistanceFieldNumber = 3;
|
|
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 = 4;
|
|
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 RoomMoodFogData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RoomMoodFogData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(MoodBaseData, other.MoodBaseData)) return false;
|
|
if (FogColor != other.FogColor) 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 (moodBaseData_ != null) hash ^= MoodBaseData.GetHashCode();
|
|
if (FogColor != 0) hash ^= FogColor.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 (moodBaseData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(MoodBaseData);
|
|
}
|
|
if (FogColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(FogColor);
|
|
}
|
|
if (StartDistance != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(StartDistance);
|
|
}
|
|
if (FadeDistance != 0F) {
|
|
output.WriteRawTag(37);
|
|
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 (moodBaseData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(MoodBaseData);
|
|
}
|
|
if (FogColor != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(FogColor);
|
|
}
|
|
if (StartDistance != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(StartDistance);
|
|
}
|
|
if (FadeDistance != 0F) {
|
|
output.WriteRawTag(37);
|
|
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 (moodBaseData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MoodBaseData);
|
|
}
|
|
if (FogColor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FogColor);
|
|
}
|
|
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(RoomMoodFogData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.moodBaseData_ != null) {
|
|
if (moodBaseData_ == null) {
|
|
MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData();
|
|
}
|
|
MoodBaseData.MergeFrom(other.MoodBaseData);
|
|
}
|
|
if (other.FogColor != 0) {
|
|
FogColor = other.FogColor;
|
|
}
|
|
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 10: {
|
|
if (moodBaseData_ == null) {
|
|
MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData();
|
|
}
|
|
input.ReadMessage(MoodBaseData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FogColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 29: {
|
|
StartDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
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 10: {
|
|
if (moodBaseData_ == null) {
|
|
MoodBaseData = new global::CircuitsV2.Protobuf.RoomMoodData();
|
|
}
|
|
input.ReadMessage(MoodBaseData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FogColor = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 29: {
|
|
StartDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
FadeDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|