353 lines
14 KiB
C#
353 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/deprecated/DEPRECATED_circuit_event_object_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/deprecated/DEPRECATED_circuit_event_object_data.proto</summary>
|
|
public static partial class DEPRECATEDCircuitEventObjectDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_event_object_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DEPRECATEDCircuitEventObjectDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CkFjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9l",
|
|
"dmVudF9vYmplY3RfZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaRWNpcmN1aXRz",
|
|
"X3YyL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9jaXJjdWl0X2V2ZW50X2RlZmlu",
|
|
"aXRpb25fZGF0YS5wcm90bxovY2lyY3VpdHNfdjIvY2lyY3VpdF9vYmplY3Rf",
|
|
"dHJhbnNmb3JtX2RhdGEucHJvdG8aJmNpcmN1aXRzX3YyL2ludmVudGlvbl9w",
|
|
"aWVjZV9kYXRhLnByb3RvIvABCiFERVBSRUNBVEVEX0NpcmN1aXRFdmVudE9i",
|
|
"amVjdERhdGESUQoVZXZlbnRfZGVmaW5pdGlvbl9kYXRhGAEgASgLMjIuY2ly",
|
|
"Y3VpdHNfdjIuREVQUkVDQVRFRF9DaXJjdWl0RXZlbnREZWZpbml0aW9uRGF0",
|
|
"YRI/Cg50cmFuc2Zvcm1fZGF0YRgCIAEoCzInLmNpcmN1aXRzX3YyLkNpcmN1",
|
|
"aXRPYmplY3RUcmFuc2Zvcm1EYXRhEjcKDmludmVudGlvbl9kYXRhGAMgASgL",
|
|
"Mh8uY2lyY3VpdHNfdjIuSW52ZW50aW9uUGllY2VEYXRhQhaqAhNDaXJjdWl0",
|
|
"c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDCircuitEventDefinitionDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitObjectTransformDataReflection.Descriptor, global::CircuitsV2.Protobuf.InventionPieceDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventObjectData), global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventObjectData.Parser, new[]{ "EventDefinitionData", "TransformData", "InventionData" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DEPRECATED_CircuitEventObjectData : pb::IMessage<DEPRECATED_CircuitEventObjectData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DEPRECATED_CircuitEventObjectData> _parser = new pb::MessageParser<DEPRECATED_CircuitEventObjectData>(() => new DEPRECATED_CircuitEventObjectData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DEPRECATED_CircuitEventObjectData> 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.DEPRECATEDCircuitEventObjectDataReflection.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 DEPRECATED_CircuitEventObjectData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DEPRECATED_CircuitEventObjectData(DEPRECATED_CircuitEventObjectData other) : this() {
|
|
eventDefinitionData_ = other.eventDefinitionData_ != null ? other.eventDefinitionData_.Clone() : null;
|
|
transformData_ = other.transformData_ != null ? other.transformData_.Clone() : null;
|
|
inventionData_ = other.inventionData_ != null ? other.inventionData_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DEPRECATED_CircuitEventObjectData Clone() {
|
|
return new DEPRECATED_CircuitEventObjectData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "event_definition_data" field.</summary>
|
|
public const int EventDefinitionDataFieldNumber = 1;
|
|
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData eventDefinitionData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData EventDefinitionData {
|
|
get { return eventDefinitionData_; }
|
|
set {
|
|
eventDefinitionData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "transform_data" field.</summary>
|
|
public const int TransformDataFieldNumber = 2;
|
|
private global::CircuitsV2.Protobuf.CircuitObjectTransformData transformData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.CircuitObjectTransformData TransformData {
|
|
get { return transformData_; }
|
|
set {
|
|
transformData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "invention_data" field.</summary>
|
|
public const int InventionDataFieldNumber = 3;
|
|
private global::CircuitsV2.Protobuf.InventionPieceData inventionData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.InventionPieceData InventionData {
|
|
get { return inventionData_; }
|
|
set {
|
|
inventionData_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DEPRECATED_CircuitEventObjectData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DEPRECATED_CircuitEventObjectData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(EventDefinitionData, other.EventDefinitionData)) return false;
|
|
if (!object.Equals(TransformData, other.TransformData)) return false;
|
|
if (!object.Equals(InventionData, other.InventionData)) 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 (eventDefinitionData_ != null) hash ^= EventDefinitionData.GetHashCode();
|
|
if (transformData_ != null) hash ^= TransformData.GetHashCode();
|
|
if (inventionData_ != null) hash ^= InventionData.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 (eventDefinitionData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(EventDefinitionData);
|
|
}
|
|
if (transformData_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(TransformData);
|
|
}
|
|
if (inventionData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(InventionData);
|
|
}
|
|
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 (eventDefinitionData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(EventDefinitionData);
|
|
}
|
|
if (transformData_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(TransformData);
|
|
}
|
|
if (inventionData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(InventionData);
|
|
}
|
|
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 (eventDefinitionData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventDefinitionData);
|
|
}
|
|
if (transformData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TransformData);
|
|
}
|
|
if (inventionData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InventionData);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DEPRECATED_CircuitEventObjectData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.eventDefinitionData_ != null) {
|
|
if (eventDefinitionData_ == null) {
|
|
EventDefinitionData = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData();
|
|
}
|
|
EventDefinitionData.MergeFrom(other.EventDefinitionData);
|
|
}
|
|
if (other.transformData_ != null) {
|
|
if (transformData_ == null) {
|
|
TransformData = new global::CircuitsV2.Protobuf.CircuitObjectTransformData();
|
|
}
|
|
TransformData.MergeFrom(other.TransformData);
|
|
}
|
|
if (other.inventionData_ != null) {
|
|
if (inventionData_ == null) {
|
|
InventionData = new global::CircuitsV2.Protobuf.InventionPieceData();
|
|
}
|
|
InventionData.MergeFrom(other.InventionData);
|
|
}
|
|
_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 (eventDefinitionData_ == null) {
|
|
EventDefinitionData = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData();
|
|
}
|
|
input.ReadMessage(EventDefinitionData);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (transformData_ == null) {
|
|
TransformData = new global::CircuitsV2.Protobuf.CircuitObjectTransformData();
|
|
}
|
|
input.ReadMessage(TransformData);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (inventionData_ == null) {
|
|
InventionData = new global::CircuitsV2.Protobuf.InventionPieceData();
|
|
}
|
|
input.ReadMessage(InventionData);
|
|
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 (eventDefinitionData_ == null) {
|
|
EventDefinitionData = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData();
|
|
}
|
|
input.ReadMessage(EventDefinitionData);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (transformData_ == null) {
|
|
TransformData = new global::CircuitsV2.Protobuf.CircuitObjectTransformData();
|
|
}
|
|
input.ReadMessage(TransformData);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (inventionData_ == null) {
|
|
InventionData = new global::CircuitsV2.Protobuf.InventionPieceData();
|
|
}
|
|
input.ReadMessage(InventionData);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|