Protobuf...
This commit is contained in:
535
CircuitTemplateRootData.cs
Normal file
535
CircuitTemplateRootData.cs
Normal file
@@ -0,0 +1,535 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_template_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 CircuitsV2.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits_v2/circuit_template_root_data.proto</summary>
|
||||
public static partial class CircuitTemplateRootDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_template_root_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitTemplateRootDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CixjaXJjdWl0c192Mi9jaXJjdWl0X3RlbXBsYXRlX3Jvb3RfZGF0YS5wcm90",
|
||||
"bxILY2lyY3VpdHNfdjIaLmNpcmN1aXRzX3YyL2NpcmN1aXRfZ2xvYmFsX2Vu",
|
||||
"dGl0aWVzX2RhdGEucHJvdG8aJGNpcmN1aXRzX3YyL2NpcmN1aXRfZ3JhcGhf",
|
||||
"ZGF0YS5wcm90bxovY2lyY3VpdHNfdjIvY2lyY3VpdF9zZXJpYWxpemF0aW9u",
|
||||
"X3ZlcnNpb24ucHJvdG8aNWNpcmN1aXRzX3YyL2RhdGFfdGFibGUvZGF0YV90",
|
||||
"YWJsZV9yZWdpc3RyeV9kYXRhLnByb3RvGixjaXJjdWl0c192Mi9kYXRhX3Rh",
|
||||
"YmxlL2RhdGFfdGFibGVfZGF0YS5wcm90bxpKY2lyY3VpdHNfdjIvc3R1ZGlv",
|
||||
"X2Z1bmN0aW9ucy9zdHVkaW9fZnVuY3Rpb25fc2lnbmF0dXJlX3JlZ2lzdHJ5",
|
||||
"X2RhdGEucHJvdG8i6AMKF0NpcmN1aXRUZW1wbGF0ZVJvb3REYXRhEjkKB3Zl",
|
||||
"cnNpb24YASABKA4yKC5jaXJjdWl0c192Mi5DaXJjdWl0U2VyaWFsaXphdGlv",
|
||||
"blZlcnNpb24SKwoEcm9vdBgCIAEoCzIdLmNpcmN1aXRzX3YyLkNpcmN1aXRH",
|
||||
"cmFwaERhdGESRAoYZGF0YV90YWJsZV9yZWdpc3RyeV9kYXRhGAMgASgLMiIu",
|
||||
"Y2lyY3VpdHNfdjIuRGF0YVRhYmxlUmVnaXN0cnlEYXRhEjoKFnByb2dyZXNz",
|
||||
"aW9uX3RhYmxlX2RhdGEYBCABKAsyGi5jaXJjdWl0c192Mi5EYXRhVGFibGVE",
|
||||
"YXRhEmgKLnNvdXJjZV9zdHVkaW9fZnVuY3Rpb25fc2lnbmF0dXJlX3JlZ2lz",
|
||||
"dHJ5X2RhdGEYBSABKAsyMC5jaXJjdWl0c192Mi5TdHVkaW9GdW5jdGlvblNp",
|
||||
"Z25hdHVyZVJlZ2lzdHJ5RGF0YRI4CghlbnRpdGllcxgGIAEoCzImLmNpcmN1",
|
||||
"aXRzX3YyLkNpcmN1aXRHbG9iYWxFbnRpdGllc0RhdGESPwoRYmVoYXZpb3Jf",
|
||||
"dGVtcGxhdGUYByABKAsyJC5jaXJjdWl0c192Mi5DaXJjdWl0VGVtcGxhdGVS",
|
||||
"b290RGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CircuitGlobalEntitiesDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitGraphDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitSerializationVersionReflection.Descriptor, global::CircuitsV2.Protobuf.DataTableRegistryDataReflection.Descriptor, global::CircuitsV2.Protobuf.DataTableDataReflection.Descriptor, global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitTemplateRootData), global::CircuitsV2.Protobuf.CircuitTemplateRootData.Parser, new[]{ "Version", "Root", "DataTableRegistryData", "ProgressionTableData", "SourceStudioFunctionSignatureRegistryData", "Entities", "BehaviorTemplate" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitTemplateRootData : pb::IMessage<CircuitTemplateRootData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitTemplateRootData> _parser = new pb::MessageParser<CircuitTemplateRootData>(() => new CircuitTemplateRootData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitTemplateRootData> 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.CircuitTemplateRootDataReflection.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 CircuitTemplateRootData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitTemplateRootData(CircuitTemplateRootData other) : this() {
|
||||
version_ = other.version_;
|
||||
root_ = other.root_ != null ? other.root_.Clone() : null;
|
||||
dataTableRegistryData_ = other.dataTableRegistryData_ != null ? other.dataTableRegistryData_.Clone() : null;
|
||||
progressionTableData_ = other.progressionTableData_ != null ? other.progressionTableData_.Clone() : null;
|
||||
sourceStudioFunctionSignatureRegistryData_ = other.sourceStudioFunctionSignatureRegistryData_ != null ? other.sourceStudioFunctionSignatureRegistryData_.Clone() : null;
|
||||
entities_ = other.entities_ != null ? other.entities_.Clone() : null;
|
||||
behaviorTemplate_ = other.behaviorTemplate_ != null ? other.behaviorTemplate_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitTemplateRootData Clone() {
|
||||
return new CircuitTemplateRootData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "version" field.</summary>
|
||||
public const int VersionFieldNumber = 1;
|
||||
private global::CircuitsV2.Protobuf.CircuitSerializationVersion version_ = global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitSerializationVersion Version {
|
||||
get { return version_; }
|
||||
set {
|
||||
version_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "root" field.</summary>
|
||||
public const int RootFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.CircuitGraphData root_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitGraphData Root {
|
||||
get { return root_; }
|
||||
set {
|
||||
root_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "data_table_registry_data" field.</summary>
|
||||
public const int DataTableRegistryDataFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.DataTableRegistryData dataTableRegistryData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DataTableRegistryData DataTableRegistryData {
|
||||
get { return dataTableRegistryData_; }
|
||||
set {
|
||||
dataTableRegistryData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "progression_table_data" field.</summary>
|
||||
public const int ProgressionTableDataFieldNumber = 4;
|
||||
private global::CircuitsV2.Protobuf.DataTableData progressionTableData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DataTableData ProgressionTableData {
|
||||
get { return progressionTableData_; }
|
||||
set {
|
||||
progressionTableData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "source_studio_function_signature_registry_data" field.</summary>
|
||||
public const int SourceStudioFunctionSignatureRegistryDataFieldNumber = 5;
|
||||
private global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData sourceStudioFunctionSignatureRegistryData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData SourceStudioFunctionSignatureRegistryData {
|
||||
get { return sourceStudioFunctionSignatureRegistryData_; }
|
||||
set {
|
||||
sourceStudioFunctionSignatureRegistryData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entities" field.</summary>
|
||||
public const int EntitiesFieldNumber = 6;
|
||||
private global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData entities_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData Entities {
|
||||
get { return entities_; }
|
||||
set {
|
||||
entities_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_template" field.</summary>
|
||||
public const int BehaviorTemplateFieldNumber = 7;
|
||||
private global::CircuitsV2.Protobuf.CircuitTemplateRootData behaviorTemplate_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitTemplateRootData BehaviorTemplate {
|
||||
get { return behaviorTemplate_; }
|
||||
set {
|
||||
behaviorTemplate_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitTemplateRootData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitTemplateRootData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Version != other.Version) return false;
|
||||
if (!object.Equals(Root, other.Root)) return false;
|
||||
if (!object.Equals(DataTableRegistryData, other.DataTableRegistryData)) return false;
|
||||
if (!object.Equals(ProgressionTableData, other.ProgressionTableData)) return false;
|
||||
if (!object.Equals(SourceStudioFunctionSignatureRegistryData, other.SourceStudioFunctionSignatureRegistryData)) return false;
|
||||
if (!object.Equals(Entities, other.Entities)) return false;
|
||||
if (!object.Equals(BehaviorTemplate, other.BehaviorTemplate)) 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::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) hash ^= Version.GetHashCode();
|
||||
if (root_ != null) hash ^= Root.GetHashCode();
|
||||
if (dataTableRegistryData_ != null) hash ^= DataTableRegistryData.GetHashCode();
|
||||
if (progressionTableData_ != null) hash ^= ProgressionTableData.GetHashCode();
|
||||
if (sourceStudioFunctionSignatureRegistryData_ != null) hash ^= SourceStudioFunctionSignatureRegistryData.GetHashCode();
|
||||
if (entities_ != null) hash ^= Entities.GetHashCode();
|
||||
if (behaviorTemplate_ != null) hash ^= BehaviorTemplate.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::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) Version);
|
||||
}
|
||||
if (root_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Root);
|
||||
}
|
||||
if (dataTableRegistryData_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DataTableRegistryData);
|
||||
}
|
||||
if (progressionTableData_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(ProgressionTableData);
|
||||
}
|
||||
if (sourceStudioFunctionSignatureRegistryData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(SourceStudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
if (behaviorTemplate_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(BehaviorTemplate);
|
||||
}
|
||||
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::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) Version);
|
||||
}
|
||||
if (root_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Root);
|
||||
}
|
||||
if (dataTableRegistryData_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DataTableRegistryData);
|
||||
}
|
||||
if (progressionTableData_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(ProgressionTableData);
|
||||
}
|
||||
if (sourceStudioFunctionSignatureRegistryData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(SourceStudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
if (behaviorTemplate_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(BehaviorTemplate);
|
||||
}
|
||||
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::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Version);
|
||||
}
|
||||
if (root_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Root);
|
||||
}
|
||||
if (dataTableRegistryData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DataTableRegistryData);
|
||||
}
|
||||
if (progressionTableData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProgressionTableData);
|
||||
}
|
||||
if (sourceStudioFunctionSignatureRegistryData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceStudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Entities);
|
||||
}
|
||||
if (behaviorTemplate_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BehaviorTemplate);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitTemplateRootData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) {
|
||||
Version = other.Version;
|
||||
}
|
||||
if (other.root_ != null) {
|
||||
if (root_ == null) {
|
||||
Root = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
Root.MergeFrom(other.Root);
|
||||
}
|
||||
if (other.dataTableRegistryData_ != null) {
|
||||
if (dataTableRegistryData_ == null) {
|
||||
DataTableRegistryData = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
DataTableRegistryData.MergeFrom(other.DataTableRegistryData);
|
||||
}
|
||||
if (other.progressionTableData_ != null) {
|
||||
if (progressionTableData_ == null) {
|
||||
ProgressionTableData = new global::CircuitsV2.Protobuf.DataTableData();
|
||||
}
|
||||
ProgressionTableData.MergeFrom(other.ProgressionTableData);
|
||||
}
|
||||
if (other.sourceStudioFunctionSignatureRegistryData_ != null) {
|
||||
if (sourceStudioFunctionSignatureRegistryData_ == null) {
|
||||
SourceStudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
SourceStudioFunctionSignatureRegistryData.MergeFrom(other.SourceStudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (other.entities_ != null) {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
Entities.MergeFrom(other.Entities);
|
||||
}
|
||||
if (other.behaviorTemplate_ != null) {
|
||||
if (behaviorTemplate_ == null) {
|
||||
BehaviorTemplate = new global::CircuitsV2.Protobuf.CircuitTemplateRootData();
|
||||
}
|
||||
BehaviorTemplate.MergeFrom(other.BehaviorTemplate);
|
||||
}
|
||||
_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::CircuitsV2.Protobuf.CircuitSerializationVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (root_ == null) {
|
||||
Root = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
input.ReadMessage(Root);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dataTableRegistryData_ == null) {
|
||||
DataTableRegistryData = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
input.ReadMessage(DataTableRegistryData);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (progressionTableData_ == null) {
|
||||
ProgressionTableData = new global::CircuitsV2.Protobuf.DataTableData();
|
||||
}
|
||||
input.ReadMessage(ProgressionTableData);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (sourceStudioFunctionSignatureRegistryData_ == null) {
|
||||
SourceStudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
input.ReadMessage(SourceStudioFunctionSignatureRegistryData);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (behaviorTemplate_ == null) {
|
||||
BehaviorTemplate = new global::CircuitsV2.Protobuf.CircuitTemplateRootData();
|
||||
}
|
||||
input.ReadMessage(BehaviorTemplate);
|
||||
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::CircuitsV2.Protobuf.CircuitSerializationVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (root_ == null) {
|
||||
Root = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
input.ReadMessage(Root);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dataTableRegistryData_ == null) {
|
||||
DataTableRegistryData = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
input.ReadMessage(DataTableRegistryData);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (progressionTableData_ == null) {
|
||||
ProgressionTableData = new global::CircuitsV2.Protobuf.DataTableData();
|
||||
}
|
||||
input.ReadMessage(ProgressionTableData);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (sourceStudioFunctionSignatureRegistryData_ == null) {
|
||||
SourceStudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
input.ReadMessage(SourceStudioFunctionSignatureRegistryData);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (behaviorTemplate_ == null) {
|
||||
BehaviorTemplate = new global::CircuitsV2.Protobuf.CircuitTemplateRootData();
|
||||
}
|
||||
input.ReadMessage(BehaviorTemplate);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user