293 lines
11 KiB
C#
293 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits/static/rec_room/root_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 Circuits.Static.RecRoom.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits/static/rec_room/root_data.proto</summary>
|
|
public static partial class RootDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits/static/rec_room/root_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RootDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CihjaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vcm9vdF9kYXRhLnByb3RvEghj",
|
|
"aXJjdWl0cxo3Y2lyY3VpdHMvc3RhdGljL3JlY19yb29tL3JyX3N0YXRpY19z",
|
|
"dGF0ZV9zeXNfZGF0YS5wcm90bxomY2lyY3VpdHMvc3RhdGljL3JlY19yb29t",
|
|
"L3ZlcnNpb24ucHJvdG8iawoIUm9vdERhdGESIgoHdmVyc2lvbhgBIAEoDjIR",
|
|
"LmNpcmN1aXRzLlZlcnNpb24SOwoTcnJfc3RhdGljX3N0YXRlX3N5cxgCIAEo",
|
|
"CzIeLmNpcmN1aXRzLlJSU3RhdGljU3RhdGVTeXNEYXRhQiOqAiBDaXJjdWl0",
|
|
"cy5TdGF0aWMuUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Static.RecRoom.Protobuf.RrStaticStateSysDataReflection.Descriptor, global::Circuits.Static.RecRoom.Protobuf.VersionReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.RecRoom.Protobuf.RootData), global::Circuits.Static.RecRoom.Protobuf.RootData.Parser, new[]{ "Version", "RrStaticStateSys" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RootData : pb::IMessage<RootData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RootData> _parser = new pb::MessageParser<RootData>(() => new RootData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RootData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Circuits.Static.RecRoom.Protobuf.RootDataReflection.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 RootData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RootData(RootData other) : this() {
|
|
version_ = other.version_;
|
|
rrStaticStateSys_ = other.rrStaticStateSys_ != null ? other.rrStaticStateSys_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RootData Clone() {
|
|
return new RootData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "version" field.</summary>
|
|
public const int VersionFieldNumber = 1;
|
|
private global::Circuits.Static.RecRoom.Protobuf.Version version_ = global::Circuits.Static.RecRoom.Protobuf.Version.V0New;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Static.RecRoom.Protobuf.Version Version {
|
|
get { return version_; }
|
|
set {
|
|
version_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rr_static_state_sys" field.</summary>
|
|
public const int RrStaticStateSysFieldNumber = 2;
|
|
private global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData rrStaticStateSys_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData RrStaticStateSys {
|
|
get { return rrStaticStateSys_; }
|
|
set {
|
|
rrStaticStateSys_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RootData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RootData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Version != other.Version) return false;
|
|
if (!object.Equals(RrStaticStateSys, other.RrStaticStateSys)) 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 (Version != global::Circuits.Static.RecRoom.Protobuf.Version.V0New) hash ^= Version.GetHashCode();
|
|
if (rrStaticStateSys_ != null) hash ^= RrStaticStateSys.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 (Version != global::Circuits.Static.RecRoom.Protobuf.Version.V0New) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Version);
|
|
}
|
|
if (rrStaticStateSys_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(RrStaticStateSys);
|
|
}
|
|
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 (Version != global::Circuits.Static.RecRoom.Protobuf.Version.V0New) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Version);
|
|
}
|
|
if (rrStaticStateSys_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(RrStaticStateSys);
|
|
}
|
|
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 (Version != global::Circuits.Static.RecRoom.Protobuf.Version.V0New) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Version);
|
|
}
|
|
if (rrStaticStateSys_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RrStaticStateSys);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RootData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Version != global::Circuits.Static.RecRoom.Protobuf.Version.V0New) {
|
|
Version = other.Version;
|
|
}
|
|
if (other.rrStaticStateSys_ != null) {
|
|
if (rrStaticStateSys_ == null) {
|
|
RrStaticStateSys = new global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData();
|
|
}
|
|
RrStaticStateSys.MergeFrom(other.RrStaticStateSys);
|
|
}
|
|
_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: {
|
|
Version = (global::Circuits.Static.RecRoom.Protobuf.Version) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (rrStaticStateSys_ == null) {
|
|
RrStaticStateSys = new global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData();
|
|
}
|
|
input.ReadMessage(RrStaticStateSys);
|
|
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: {
|
|
Version = (global::Circuits.Static.RecRoom.Protobuf.Version) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (rrStaticStateSys_ == null) {
|
|
RrStaticStateSys = new global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData();
|
|
}
|
|
input.ReadMessage(RrStaticStateSys);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|