Protobuf...
This commit is contained in:
96984
ActionData.cs
Normal file
96984
ActionData.cs
Normal file
File diff suppressed because one or more lines are too long
243
AddInventoryItemNodeData.cs
Normal file
243
AddInventoryItemNodeData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/add_inventory_item_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/add_inventory_item_node_data.proto</summary>
|
||||
public static partial class AddInventoryItemNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/add_inventory_item_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AddInventoryItemNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5jaXJjdWl0c192Mi9hZGRfaW52ZW50b3J5X2l0ZW1fbm9kZV9kYXRhLnBy",
|
||||
"b3RvEgtjaXJjdWl0c192MiItChhBZGRJbnZlbnRvcnlJdGVtTm9kZURhdGES",
|
||||
"EQoJbG9nT3V0cHV0GAEgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AddInventoryItemNodeData), global::CircuitsV2.Protobuf.AddInventoryItemNodeData.Parser, new[]{ "LogOutput" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AddInventoryItemNodeData : pb::IMessage<AddInventoryItemNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AddInventoryItemNodeData> _parser = new pb::MessageParser<AddInventoryItemNodeData>(() => new AddInventoryItemNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AddInventoryItemNodeData> 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.AddInventoryItemNodeDataReflection.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 AddInventoryItemNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AddInventoryItemNodeData(AddInventoryItemNodeData other) : this() {
|
||||
logOutput_ = other.logOutput_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AddInventoryItemNodeData Clone() {
|
||||
return new AddInventoryItemNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "logOutput" field.</summary>
|
||||
public const int LogOutputFieldNumber = 1;
|
||||
private bool logOutput_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LogOutput {
|
||||
get { return logOutput_; }
|
||||
set {
|
||||
logOutput_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AddInventoryItemNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AddInventoryItemNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (LogOutput != other.LogOutput) 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 (LogOutput != false) hash ^= LogOutput.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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AddInventoryItemNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.LogOutput != false) {
|
||||
LogOutput = other.LogOutput;
|
||||
}
|
||||
_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: {
|
||||
LogOutput = input.ReadBool();
|
||||
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: {
|
||||
LogOutput = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
AmmunitionData.cs
Normal file
280
AmmunitionData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/gameplay/ammunition_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/gameplay/ammunition_data.proto</summary>
|
||||
public static partial class AmmunitionDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/gameplay/ammunition_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AmmunitionDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CidyZWNfcm9vbS9nYW1lcGxheS9hbW11bml0aW9uX2RhdGEucHJvdG8SCHJl",
|
||||
"Y19yb29tIj0KDkFtbXVuaXRpb25EYXRhEhYKDmFtbW9fZ2Vhcl90eXBlGAEg",
|
||||
"ASgFEhMKC2FtbW9fYW1vdW50GAIgASgFQhOqAhBSZWNSb29tLlByb3RvYnVm",
|
||||
"YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AmmunitionData), global::RecRoom.Protobuf.AmmunitionData.Parser, new[]{ "AmmoGearType", "AmmoAmount" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AmmunitionData : pb::IMessage<AmmunitionData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AmmunitionData> _parser = new pb::MessageParser<AmmunitionData>(() => new AmmunitionData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AmmunitionData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AmmunitionDataReflection.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 AmmunitionData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AmmunitionData(AmmunitionData other) : this() {
|
||||
ammoGearType_ = other.ammoGearType_;
|
||||
ammoAmount_ = other.ammoAmount_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AmmunitionData Clone() {
|
||||
return new AmmunitionData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ammo_gear_type" field.</summary>
|
||||
public const int AmmoGearTypeFieldNumber = 1;
|
||||
private int ammoGearType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AmmoGearType {
|
||||
get { return ammoGearType_; }
|
||||
set {
|
||||
ammoGearType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ammo_amount" field.</summary>
|
||||
public const int AmmoAmountFieldNumber = 2;
|
||||
private int ammoAmount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AmmoAmount {
|
||||
get { return ammoAmount_; }
|
||||
set {
|
||||
ammoAmount_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AmmunitionData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AmmunitionData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (AmmoGearType != other.AmmoGearType) return false;
|
||||
if (AmmoAmount != other.AmmoAmount) 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 (AmmoGearType != 0) hash ^= AmmoGearType.GetHashCode();
|
||||
if (AmmoAmount != 0) hash ^= AmmoAmount.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 (AmmoGearType != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(AmmoGearType);
|
||||
}
|
||||
if (AmmoAmount != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(AmmoAmount);
|
||||
}
|
||||
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 (AmmoGearType != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(AmmoGearType);
|
||||
}
|
||||
if (AmmoAmount != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(AmmoAmount);
|
||||
}
|
||||
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 (AmmoGearType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AmmoGearType);
|
||||
}
|
||||
if (AmmoAmount != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AmmoAmount);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AmmunitionData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.AmmoGearType != 0) {
|
||||
AmmoGearType = other.AmmoGearType;
|
||||
}
|
||||
if (other.AmmoAmount != 0) {
|
||||
AmmoAmount = other.AmmoAmount;
|
||||
}
|
||||
_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: {
|
||||
AmmoGearType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
AmmoAmount = input.ReadInt32();
|
||||
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: {
|
||||
AmmoGearType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
AmmoAmount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
480
AreaControllerData.cs
Normal file
480
AreaControllerData.cs
Normal file
@@ -0,0 +1,480 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/area_controller_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/area_controller_data.proto</summary>
|
||||
public static partial class AreaControllerDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/area_controller_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AreaControllerDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9yZWNfcm9vbS9wZXJzaXN0ZW5jZS9hcmVhX2NvbnRyb2xsZXJfZGF0YS5w",
|
||||
"cm90bxIIcmVjX3Jvb20iOwoSQXJlYUNvbnRyb2xsZXJEYXRhEhMKC2FyZWFf",
|
||||
"b2JqZWN0GAEgASgMEhAKCHVzZV9hcmVhGAIgASgFIiIKCEFyZWFEYXRhEhYK",
|
||||
"DnNuYXBfdG9fZ3JvdW5kGAEgASgFQhOqAhBSZWNSb29tLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AreaControllerData), global::RecRoom.Protobuf.AreaControllerData.Parser, new[]{ "AreaObject", "UseArea" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AreaData), global::RecRoom.Protobuf.AreaData.Parser, new[]{ "SnapToGround" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AreaControllerData : pb::IMessage<AreaControllerData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AreaControllerData> _parser = new pb::MessageParser<AreaControllerData>(() => new AreaControllerData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AreaControllerData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AreaControllerDataReflection.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 AreaControllerData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AreaControllerData(AreaControllerData other) : this() {
|
||||
areaObject_ = other.areaObject_;
|
||||
useArea_ = other.useArea_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AreaControllerData Clone() {
|
||||
return new AreaControllerData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "area_object" field.</summary>
|
||||
public const int AreaObjectFieldNumber = 1;
|
||||
private pb::ByteString areaObject_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString AreaObject {
|
||||
get { return areaObject_; }
|
||||
set {
|
||||
areaObject_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "use_area" field.</summary>
|
||||
public const int UseAreaFieldNumber = 2;
|
||||
private int useArea_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int UseArea {
|
||||
get { return useArea_; }
|
||||
set {
|
||||
useArea_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AreaControllerData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AreaControllerData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (AreaObject != other.AreaObject) return false;
|
||||
if (UseArea != other.UseArea) 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 (AreaObject.Length != 0) hash ^= AreaObject.GetHashCode();
|
||||
if (UseArea != 0) hash ^= UseArea.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 (AreaObject.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(AreaObject);
|
||||
}
|
||||
if (UseArea != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(UseArea);
|
||||
}
|
||||
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 (AreaObject.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(AreaObject);
|
||||
}
|
||||
if (UseArea != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(UseArea);
|
||||
}
|
||||
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 (AreaObject.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(AreaObject);
|
||||
}
|
||||
if (UseArea != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseArea);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AreaControllerData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.AreaObject.Length != 0) {
|
||||
AreaObject = other.AreaObject;
|
||||
}
|
||||
if (other.UseArea != 0) {
|
||||
UseArea = other.UseArea;
|
||||
}
|
||||
_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: {
|
||||
AreaObject = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
UseArea = input.ReadInt32();
|
||||
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: {
|
||||
AreaObject = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
UseArea = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AreaData : pb::IMessage<AreaData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AreaData> _parser = new pb::MessageParser<AreaData>(() => new AreaData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AreaData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AreaControllerDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 AreaData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AreaData(AreaData other) : this() {
|
||||
snapToGround_ = other.snapToGround_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AreaData Clone() {
|
||||
return new AreaData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "snap_to_ground" field.</summary>
|
||||
public const int SnapToGroundFieldNumber = 1;
|
||||
private int snapToGround_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SnapToGround {
|
||||
get { return snapToGround_; }
|
||||
set {
|
||||
snapToGround_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AreaData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AreaData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SnapToGround != other.SnapToGround) 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 (SnapToGround != 0) hash ^= SnapToGround.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 (SnapToGround != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SnapToGround);
|
||||
}
|
||||
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 (SnapToGround != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SnapToGround);
|
||||
}
|
||||
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 (SnapToGround != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SnapToGround);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AreaData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SnapToGround != 0) {
|
||||
SnapToGround = other.SnapToGround;
|
||||
}
|
||||
_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: {
|
||||
SnapToGround = input.ReadInt32();
|
||||
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: {
|
||||
SnapToGround = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
355
AudioEffectZoneData.cs
Normal file
355
AudioEffectZoneData.cs
Normal file
@@ -0,0 +1,355 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/audio_effect_zone_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/audio_effect_zone_data.proto</summary>
|
||||
public static partial class AudioEffectZoneDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/audio_effect_zone_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AudioEffectZoneDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjFyZWNfcm9vbS9wZXJzaXN0ZW5jZS9hdWRpb19lZmZlY3Rfem9uZV9kYXRh",
|
||||
"LnByb3RvEghyZWNfcm9vbSJeChNBdWRpb0VmZmVjdFpvbmVEYXRhEg0KBXNo",
|
||||
"YXBlGAEgASgFEhMKC2VmZmVjdF90eXBlGAIgASgFEhAKCHByaW9yaXR5GAMg",
|
||||
"ASgFEhEKCWludGVuc2l0eRgEIAEoAkITqgIQUmVjUm9vbS5Qcm90b2J1ZmIG",
|
||||
"cHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioEffectZoneData), global::RecRoom.Protobuf.AudioEffectZoneData.Parser, new[]{ "Shape", "EffectType", "Priority", "Intensity" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AudioEffectZoneData : pb::IMessage<AudioEffectZoneData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AudioEffectZoneData> _parser = new pb::MessageParser<AudioEffectZoneData>(() => new AudioEffectZoneData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AudioEffectZoneData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AudioEffectZoneDataReflection.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 AudioEffectZoneData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioEffectZoneData(AudioEffectZoneData other) : this() {
|
||||
shape_ = other.shape_;
|
||||
effectType_ = other.effectType_;
|
||||
priority_ = other.priority_;
|
||||
intensity_ = other.intensity_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioEffectZoneData Clone() {
|
||||
return new AudioEffectZoneData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "shape" field.</summary>
|
||||
public const int ShapeFieldNumber = 1;
|
||||
private int shape_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Shape {
|
||||
get { return shape_; }
|
||||
set {
|
||||
shape_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "effect_type" field.</summary>
|
||||
public const int EffectTypeFieldNumber = 2;
|
||||
private int effectType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int EffectType {
|
||||
get { return effectType_; }
|
||||
set {
|
||||
effectType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "priority" field.</summary>
|
||||
public const int PriorityFieldNumber = 3;
|
||||
private int priority_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Priority {
|
||||
get { return priority_; }
|
||||
set {
|
||||
priority_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "intensity" field.</summary>
|
||||
public const int IntensityFieldNumber = 4;
|
||||
private float intensity_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Intensity {
|
||||
get { return intensity_; }
|
||||
set {
|
||||
intensity_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AudioEffectZoneData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AudioEffectZoneData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Shape != other.Shape) return false;
|
||||
if (EffectType != other.EffectType) return false;
|
||||
if (Priority != other.Priority) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Intensity, other.Intensity)) 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 (Shape != 0) hash ^= Shape.GetHashCode();
|
||||
if (EffectType != 0) hash ^= EffectType.GetHashCode();
|
||||
if (Priority != 0) hash ^= Priority.GetHashCode();
|
||||
if (Intensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Intensity);
|
||||
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 (Shape != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Shape);
|
||||
}
|
||||
if (EffectType != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(EffectType);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Priority);
|
||||
}
|
||||
if (Intensity != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(Intensity);
|
||||
}
|
||||
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 (Shape != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Shape);
|
||||
}
|
||||
if (EffectType != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(EffectType);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Priority);
|
||||
}
|
||||
if (Intensity != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(Intensity);
|
||||
}
|
||||
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 (Shape != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Shape);
|
||||
}
|
||||
if (EffectType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectType);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority);
|
||||
}
|
||||
if (Intensity != 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(AudioEffectZoneData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Shape != 0) {
|
||||
Shape = other.Shape;
|
||||
}
|
||||
if (other.EffectType != 0) {
|
||||
EffectType = other.EffectType;
|
||||
}
|
||||
if (other.Priority != 0) {
|
||||
Priority = other.Priority;
|
||||
}
|
||||
if (other.Intensity != 0F) {
|
||||
Intensity = other.Intensity;
|
||||
}
|
||||
_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: {
|
||||
Shape = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
EffectType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Priority = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
Intensity = 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: {
|
||||
Shape = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
EffectType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Priority = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
Intensity = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
AudioFxZoneSetEffectNodeData.cs
Normal file
243
AudioFxZoneSetEffectNodeData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/audio_fx_zone_set_effect_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/audio_fx_zone_set_effect_node_data.proto</summary>
|
||||
public static partial class AudioFxZoneSetEffectNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/audio_fx_zone_set_effect_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AudioFxZoneSetEffectNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjRjaXJjdWl0c192Mi9hdWRpb19meF96b25lX3NldF9lZmZlY3Rfbm9kZV9k",
|
||||
"YXRhLnByb3RvEgtjaXJjdWl0c192MiIuChxBdWRpb0Z4Wm9uZVNldEVmZmVj",
|
||||
"dE5vZGVEYXRhEg4KBmVmZmVjdBgBIAEoBUIWqgITQ2lyY3VpdHNWMi5Qcm90",
|
||||
"b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AudioFxZoneSetEffectNodeData), global::CircuitsV2.Protobuf.AudioFxZoneSetEffectNodeData.Parser, new[]{ "Effect" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AudioFxZoneSetEffectNodeData : pb::IMessage<AudioFxZoneSetEffectNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AudioFxZoneSetEffectNodeData> _parser = new pb::MessageParser<AudioFxZoneSetEffectNodeData>(() => new AudioFxZoneSetEffectNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AudioFxZoneSetEffectNodeData> 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.AudioFxZoneSetEffectNodeDataReflection.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 AudioFxZoneSetEffectNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioFxZoneSetEffectNodeData(AudioFxZoneSetEffectNodeData other) : this() {
|
||||
effect_ = other.effect_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioFxZoneSetEffectNodeData Clone() {
|
||||
return new AudioFxZoneSetEffectNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "effect" field.</summary>
|
||||
public const int EffectFieldNumber = 1;
|
||||
private int effect_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Effect {
|
||||
get { return effect_; }
|
||||
set {
|
||||
effect_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AudioFxZoneSetEffectNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AudioFxZoneSetEffectNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Effect != other.Effect) 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 (Effect != 0) hash ^= Effect.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 (Effect != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Effect);
|
||||
}
|
||||
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 (Effect != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Effect);
|
||||
}
|
||||
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 (Effect != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AudioFxZoneSetEffectNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Effect != 0) {
|
||||
Effect = other.Effect;
|
||||
}
|
||||
_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: {
|
||||
Effect = input.ReadInt32();
|
||||
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: {
|
||||
Effect = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
715
AudioSamplerData.cs
Normal file
715
AudioSamplerData.cs
Normal file
@@ -0,0 +1,715 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/audio_sampler_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/audio_sampler_data.proto</summary>
|
||||
public static partial class AudioSamplerDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/audio_sampler_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AudioSamplerDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9hdWRpb19zYW1wbGVyX2RhdGEucHJv",
|
||||
"dG8SCHJlY19yb29tGiByZWNfcm9vbS9hdWRpb19zdHJlYW1fZGF0YS5wcm90",
|
||||
"byJrChRBdWRpb1NhbXBsZXJCbG9iRGF0YRISCgpjcmVhdG9yX2lkGAEgASgF",
|
||||
"EhAKCGR1cmF0aW9uGAIgASgCEi0KCmF1ZGlvX2RhdGEYAyABKAsyGS5yZWNf",
|
||||
"cm9vbS5BdWRpb1N0cmVhbURhdGEiogEKG0F1ZGlvU2FtcGxlclBlcnNpc3Rl",
|
||||
"bmNlRGF0YRIRCglibG9iX25hbWUYASABKAkSFAoMdXNlXzJkX2F1ZGlvGAMg",
|
||||
"ASgIEg8KB2NoYW5uZWwYBCABKAUSFAoMc3RhcnRfb2Zmc2V0GAUgASgCEhIK",
|
||||
"CmVuZF9vZmZzZXQYBiABKAISHwoXaW50ZXJydXB0X2N1cnJlbnRfc291bmQY",
|
||||
"ByABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.AudioStreamDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioSamplerBlobData), global::RecRoom.Protobuf.AudioSamplerBlobData.Parser, new[]{ "CreatorId", "Duration", "AudioData" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioSamplerPersistenceData), global::RecRoom.Protobuf.AudioSamplerPersistenceData.Parser, new[]{ "BlobName", "Use2DAudio", "Channel", "StartOffset", "EndOffset", "InterruptCurrentSound" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AudioSamplerBlobData : pb::IMessage<AudioSamplerBlobData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AudioSamplerBlobData> _parser = new pb::MessageParser<AudioSamplerBlobData>(() => new AudioSamplerBlobData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AudioSamplerBlobData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AudioSamplerDataReflection.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 AudioSamplerBlobData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioSamplerBlobData(AudioSamplerBlobData other) : this() {
|
||||
creatorId_ = other.creatorId_;
|
||||
duration_ = other.duration_;
|
||||
audioData_ = other.audioData_ != null ? other.audioData_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioSamplerBlobData Clone() {
|
||||
return new AudioSamplerBlobData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "creator_id" field.</summary>
|
||||
public const int CreatorIdFieldNumber = 1;
|
||||
private int creatorId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CreatorId {
|
||||
get { return creatorId_; }
|
||||
set {
|
||||
creatorId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "duration" field.</summary>
|
||||
public const int DurationFieldNumber = 2;
|
||||
private float duration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Duration {
|
||||
get { return duration_; }
|
||||
set {
|
||||
duration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "audio_data" field.</summary>
|
||||
public const int AudioDataFieldNumber = 3;
|
||||
private global::RecRoom.Protobuf.AudioStreamData audioData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.AudioStreamData AudioData {
|
||||
get { return audioData_; }
|
||||
set {
|
||||
audioData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AudioSamplerBlobData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AudioSamplerBlobData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (CreatorId != other.CreatorId) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Duration, other.Duration)) return false;
|
||||
if (!object.Equals(AudioData, other.AudioData)) 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 (CreatorId != 0) hash ^= CreatorId.GetHashCode();
|
||||
if (Duration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Duration);
|
||||
if (audioData_ != null) hash ^= AudioData.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 (CreatorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(CreatorId);
|
||||
}
|
||||
if (Duration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Duration);
|
||||
}
|
||||
if (audioData_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(AudioData);
|
||||
}
|
||||
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 (CreatorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(CreatorId);
|
||||
}
|
||||
if (Duration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Duration);
|
||||
}
|
||||
if (audioData_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(AudioData);
|
||||
}
|
||||
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 (CreatorId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CreatorId);
|
||||
}
|
||||
if (Duration != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (audioData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AudioData);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AudioSamplerBlobData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.CreatorId != 0) {
|
||||
CreatorId = other.CreatorId;
|
||||
}
|
||||
if (other.Duration != 0F) {
|
||||
Duration = other.Duration;
|
||||
}
|
||||
if (other.audioData_ != null) {
|
||||
if (audioData_ == null) {
|
||||
AudioData = new global::RecRoom.Protobuf.AudioStreamData();
|
||||
}
|
||||
AudioData.MergeFrom(other.AudioData);
|
||||
}
|
||||
_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: {
|
||||
CreatorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Duration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (audioData_ == null) {
|
||||
AudioData = new global::RecRoom.Protobuf.AudioStreamData();
|
||||
}
|
||||
input.ReadMessage(AudioData);
|
||||
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: {
|
||||
CreatorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Duration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (audioData_ == null) {
|
||||
AudioData = new global::RecRoom.Protobuf.AudioStreamData();
|
||||
}
|
||||
input.ReadMessage(AudioData);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AudioSamplerPersistenceData : pb::IMessage<AudioSamplerPersistenceData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AudioSamplerPersistenceData> _parser = new pb::MessageParser<AudioSamplerPersistenceData>(() => new AudioSamplerPersistenceData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AudioSamplerPersistenceData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AudioSamplerDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 AudioSamplerPersistenceData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioSamplerPersistenceData(AudioSamplerPersistenceData other) : this() {
|
||||
blobName_ = other.blobName_;
|
||||
use2DAudio_ = other.use2DAudio_;
|
||||
channel_ = other.channel_;
|
||||
startOffset_ = other.startOffset_;
|
||||
endOffset_ = other.endOffset_;
|
||||
interruptCurrentSound_ = other.interruptCurrentSound_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioSamplerPersistenceData Clone() {
|
||||
return new AudioSamplerPersistenceData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "blob_name" field.</summary>
|
||||
public const int BlobNameFieldNumber = 1;
|
||||
private string blobName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string BlobName {
|
||||
get { return blobName_; }
|
||||
set {
|
||||
blobName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "use_2d_audio" field.</summary>
|
||||
public const int Use2DAudioFieldNumber = 3;
|
||||
private bool use2DAudio_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Use2DAudio {
|
||||
get { return use2DAudio_; }
|
||||
set {
|
||||
use2DAudio_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "channel" field.</summary>
|
||||
public const int ChannelFieldNumber = 4;
|
||||
private int channel_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Channel {
|
||||
get { return channel_; }
|
||||
set {
|
||||
channel_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "start_offset" field.</summary>
|
||||
public const int StartOffsetFieldNumber = 5;
|
||||
private float startOffset_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float StartOffset {
|
||||
get { return startOffset_; }
|
||||
set {
|
||||
startOffset_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "end_offset" field.</summary>
|
||||
public const int EndOffsetFieldNumber = 6;
|
||||
private float endOffset_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float EndOffset {
|
||||
get { return endOffset_; }
|
||||
set {
|
||||
endOffset_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "interrupt_current_sound" field.</summary>
|
||||
public const int InterruptCurrentSoundFieldNumber = 7;
|
||||
private bool interruptCurrentSound_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool InterruptCurrentSound {
|
||||
get { return interruptCurrentSound_; }
|
||||
set {
|
||||
interruptCurrentSound_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AudioSamplerPersistenceData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AudioSamplerPersistenceData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BlobName != other.BlobName) return false;
|
||||
if (Use2DAudio != other.Use2DAudio) return false;
|
||||
if (Channel != other.Channel) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(StartOffset, other.StartOffset)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EndOffset, other.EndOffset)) return false;
|
||||
if (InterruptCurrentSound != other.InterruptCurrentSound) 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 (BlobName.Length != 0) hash ^= BlobName.GetHashCode();
|
||||
if (Use2DAudio != false) hash ^= Use2DAudio.GetHashCode();
|
||||
if (Channel != 0) hash ^= Channel.GetHashCode();
|
||||
if (StartOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartOffset);
|
||||
if (EndOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EndOffset);
|
||||
if (InterruptCurrentSound != false) hash ^= InterruptCurrentSound.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 (BlobName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(BlobName);
|
||||
}
|
||||
if (Use2DAudio != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(Use2DAudio);
|
||||
}
|
||||
if (Channel != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Channel);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(StartOffset);
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(EndOffset);
|
||||
}
|
||||
if (InterruptCurrentSound != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(InterruptCurrentSound);
|
||||
}
|
||||
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 (BlobName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(BlobName);
|
||||
}
|
||||
if (Use2DAudio != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(Use2DAudio);
|
||||
}
|
||||
if (Channel != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Channel);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(StartOffset);
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(EndOffset);
|
||||
}
|
||||
if (InterruptCurrentSound != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(InterruptCurrentSound);
|
||||
}
|
||||
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 (BlobName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(BlobName);
|
||||
}
|
||||
if (Use2DAudio != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Channel != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channel);
|
||||
}
|
||||
if (StartOffset != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (EndOffset != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (InterruptCurrentSound != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AudioSamplerPersistenceData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BlobName.Length != 0) {
|
||||
BlobName = other.BlobName;
|
||||
}
|
||||
if (other.Use2DAudio != false) {
|
||||
Use2DAudio = other.Use2DAudio;
|
||||
}
|
||||
if (other.Channel != 0) {
|
||||
Channel = other.Channel;
|
||||
}
|
||||
if (other.StartOffset != 0F) {
|
||||
StartOffset = other.StartOffset;
|
||||
}
|
||||
if (other.EndOffset != 0F) {
|
||||
EndOffset = other.EndOffset;
|
||||
}
|
||||
if (other.InterruptCurrentSound != false) {
|
||||
InterruptCurrentSound = other.InterruptCurrentSound;
|
||||
}
|
||||
_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: {
|
||||
BlobName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Use2DAudio = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Channel = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
StartOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
EndOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
InterruptCurrentSound = input.ReadBool();
|
||||
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: {
|
||||
BlobName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Use2DAudio = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Channel = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
StartOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
EndOffset = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
InterruptCurrentSound = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
501
AudioStreamData.cs
Normal file
501
AudioStreamData.cs
Normal file
@@ -0,0 +1,501 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/audio_stream_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/audio_stream_data.proto</summary>
|
||||
public static partial class AudioStreamDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/audio_stream_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AudioStreamDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiByZWNfcm9vbS9hdWRpb19zdHJlYW1fZGF0YS5wcm90bxIIcmVjX3Jvb20i",
|
||||
"mgIKD0F1ZGlvU3RyZWFtRGF0YRIQCghjaGFubmVscxgBIAEoBRITCgtzYW1w",
|
||||
"bGVfcmF0ZRgCIAEoBRIUCgxzYW1wbGVfY291bnQYAyABKAUSMAoGZm9ybWF0",
|
||||
"GAogASgOMiAucmVjX3Jvb20uQXVkaW9TdHJlYW1EYXRhLkZvcm1hdBIcChR1",
|
||||
"bmNvbXByZXNzZWRfc2FtcGxlcxgLIAMoAhIXCg9jb21wcmVzc2VkX2RhdGEY",
|
||||
"DCABKAwSGgoSY29tcHJlc3NlZF9iaXRyYXRlGA0gASgCEh8KF2NvbXByZXNz",
|
||||
"ZWRfcGFja2V0X3NpemVzGA4gAygFIiQKBkZvcm1hdBIQCgxVTkNPTVBSRVNT",
|
||||
"RUQQABIICgRPUFVTEAFCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioStreamData), global::RecRoom.Protobuf.AudioStreamData.Parser, new[]{ "Channels", "SampleRate", "SampleCount", "Format", "UncompressedSamples", "CompressedData", "CompressedBitrate", "CompressedPacketSizes" }, null, new[]{ typeof(global::RecRoom.Protobuf.AudioStreamData.Types.Format) }, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AudioStreamData : pb::IMessage<AudioStreamData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AudioStreamData> _parser = new pb::MessageParser<AudioStreamData>(() => new AudioStreamData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AudioStreamData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AudioStreamDataReflection.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 AudioStreamData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioStreamData(AudioStreamData other) : this() {
|
||||
channels_ = other.channels_;
|
||||
sampleRate_ = other.sampleRate_;
|
||||
sampleCount_ = other.sampleCount_;
|
||||
format_ = other.format_;
|
||||
uncompressedSamples_ = other.uncompressedSamples_.Clone();
|
||||
compressedData_ = other.compressedData_;
|
||||
compressedBitrate_ = other.compressedBitrate_;
|
||||
compressedPacketSizes_ = other.compressedPacketSizes_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AudioStreamData Clone() {
|
||||
return new AudioStreamData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "channels" field.</summary>
|
||||
public const int ChannelsFieldNumber = 1;
|
||||
private int channels_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Channels {
|
||||
get { return channels_; }
|
||||
set {
|
||||
channels_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sample_rate" field.</summary>
|
||||
public const int SampleRateFieldNumber = 2;
|
||||
private int sampleRate_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SampleRate {
|
||||
get { return sampleRate_; }
|
||||
set {
|
||||
sampleRate_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sample_count" field.</summary>
|
||||
public const int SampleCountFieldNumber = 3;
|
||||
private int sampleCount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SampleCount {
|
||||
get { return sampleCount_; }
|
||||
set {
|
||||
sampleCount_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "format" field.</summary>
|
||||
public const int FormatFieldNumber = 10;
|
||||
private global::RecRoom.Protobuf.AudioStreamData.Types.Format format_ = global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.AudioStreamData.Types.Format Format {
|
||||
get { return format_; }
|
||||
set {
|
||||
format_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "uncompressed_samples" field.</summary>
|
||||
public const int UncompressedSamplesFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<float> _repeated_uncompressedSamples_codec
|
||||
= pb::FieldCodec.ForFloat(90);
|
||||
private readonly pbc::RepeatedField<float> uncompressedSamples_ = new pbc::RepeatedField<float>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<float> UncompressedSamples {
|
||||
get { return uncompressedSamples_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "compressed_data" field.</summary>
|
||||
public const int CompressedDataFieldNumber = 12;
|
||||
private pb::ByteString compressedData_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString CompressedData {
|
||||
get { return compressedData_; }
|
||||
set {
|
||||
compressedData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "compressed_bitrate" field.</summary>
|
||||
public const int CompressedBitrateFieldNumber = 13;
|
||||
private float compressedBitrate_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float CompressedBitrate {
|
||||
get { return compressedBitrate_; }
|
||||
set {
|
||||
compressedBitrate_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "compressed_packet_sizes" field.</summary>
|
||||
public const int CompressedPacketSizesFieldNumber = 14;
|
||||
private static readonly pb::FieldCodec<int> _repeated_compressedPacketSizes_codec
|
||||
= pb::FieldCodec.ForInt32(114);
|
||||
private readonly pbc::RepeatedField<int> compressedPacketSizes_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> CompressedPacketSizes {
|
||||
get { return compressedPacketSizes_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AudioStreamData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AudioStreamData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Channels != other.Channels) return false;
|
||||
if (SampleRate != other.SampleRate) return false;
|
||||
if (SampleCount != other.SampleCount) return false;
|
||||
if (Format != other.Format) return false;
|
||||
if(!uncompressedSamples_.Equals(other.uncompressedSamples_)) return false;
|
||||
if (CompressedData != other.CompressedData) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CompressedBitrate, other.CompressedBitrate)) return false;
|
||||
if(!compressedPacketSizes_.Equals(other.compressedPacketSizes_)) 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 (Channels != 0) hash ^= Channels.GetHashCode();
|
||||
if (SampleRate != 0) hash ^= SampleRate.GetHashCode();
|
||||
if (SampleCount != 0) hash ^= SampleCount.GetHashCode();
|
||||
if (Format != global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed) hash ^= Format.GetHashCode();
|
||||
hash ^= uncompressedSamples_.GetHashCode();
|
||||
if (CompressedData.Length != 0) hash ^= CompressedData.GetHashCode();
|
||||
if (CompressedBitrate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CompressedBitrate);
|
||||
hash ^= compressedPacketSizes_.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 (Channels != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Channels);
|
||||
}
|
||||
if (SampleRate != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(SampleRate);
|
||||
}
|
||||
if (SampleCount != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(SampleCount);
|
||||
}
|
||||
if (Format != global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteEnum((int) Format);
|
||||
}
|
||||
uncompressedSamples_.WriteTo(output, _repeated_uncompressedSamples_codec);
|
||||
if (CompressedData.Length != 0) {
|
||||
output.WriteRawTag(98);
|
||||
output.WriteBytes(CompressedData);
|
||||
}
|
||||
if (CompressedBitrate != 0F) {
|
||||
output.WriteRawTag(109);
|
||||
output.WriteFloat(CompressedBitrate);
|
||||
}
|
||||
compressedPacketSizes_.WriteTo(output, _repeated_compressedPacketSizes_codec);
|
||||
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 (Channels != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Channels);
|
||||
}
|
||||
if (SampleRate != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(SampleRate);
|
||||
}
|
||||
if (SampleCount != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(SampleCount);
|
||||
}
|
||||
if (Format != global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteEnum((int) Format);
|
||||
}
|
||||
uncompressedSamples_.WriteTo(ref output, _repeated_uncompressedSamples_codec);
|
||||
if (CompressedData.Length != 0) {
|
||||
output.WriteRawTag(98);
|
||||
output.WriteBytes(CompressedData);
|
||||
}
|
||||
if (CompressedBitrate != 0F) {
|
||||
output.WriteRawTag(109);
|
||||
output.WriteFloat(CompressedBitrate);
|
||||
}
|
||||
compressedPacketSizes_.WriteTo(ref output, _repeated_compressedPacketSizes_codec);
|
||||
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 (Channels != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channels);
|
||||
}
|
||||
if (SampleRate != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SampleRate);
|
||||
}
|
||||
if (SampleCount != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SampleCount);
|
||||
}
|
||||
if (Format != global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Format);
|
||||
}
|
||||
size += uncompressedSamples_.CalculateSize(_repeated_uncompressedSamples_codec);
|
||||
if (CompressedData.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(CompressedData);
|
||||
}
|
||||
if (CompressedBitrate != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
size += compressedPacketSizes_.CalculateSize(_repeated_compressedPacketSizes_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AudioStreamData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Channels != 0) {
|
||||
Channels = other.Channels;
|
||||
}
|
||||
if (other.SampleRate != 0) {
|
||||
SampleRate = other.SampleRate;
|
||||
}
|
||||
if (other.SampleCount != 0) {
|
||||
SampleCount = other.SampleCount;
|
||||
}
|
||||
if (other.Format != global::RecRoom.Protobuf.AudioStreamData.Types.Format.Uncompressed) {
|
||||
Format = other.Format;
|
||||
}
|
||||
uncompressedSamples_.Add(other.uncompressedSamples_);
|
||||
if (other.CompressedData.Length != 0) {
|
||||
CompressedData = other.CompressedData;
|
||||
}
|
||||
if (other.CompressedBitrate != 0F) {
|
||||
CompressedBitrate = other.CompressedBitrate;
|
||||
}
|
||||
compressedPacketSizes_.Add(other.compressedPacketSizes_);
|
||||
_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: {
|
||||
Channels = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SampleRate = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SampleCount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
Format = (global::RecRoom.Protobuf.AudioStreamData.Types.Format) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 90:
|
||||
case 93: {
|
||||
uncompressedSamples_.AddEntriesFrom(input, _repeated_uncompressedSamples_codec);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
CompressedData = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 109: {
|
||||
CompressedBitrate = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 114:
|
||||
case 112: {
|
||||
compressedPacketSizes_.AddEntriesFrom(input, _repeated_compressedPacketSizes_codec);
|
||||
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: {
|
||||
Channels = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SampleRate = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SampleCount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
Format = (global::RecRoom.Protobuf.AudioStreamData.Types.Format) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 90:
|
||||
case 93: {
|
||||
uncompressedSamples_.AddEntriesFrom(ref input, _repeated_uncompressedSamples_codec);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
CompressedData = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 109: {
|
||||
CompressedBitrate = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 114:
|
||||
case 112: {
|
||||
compressedPacketSizes_.AddEntriesFrom(ref input, _repeated_compressedPacketSizes_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Nested types
|
||||
/// <summary>Container for nested types declared in the AudioStreamData message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Types {
|
||||
public enum Format {
|
||||
[pbr::OriginalName("UNCOMPRESSED")] Uncompressed = 0,
|
||||
[pbr::OriginalName("OPUS")] Opus = 1,
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
353
AutosaveData.cs
Normal file
353
AutosaveData.cs
Normal file
@@ -0,0 +1,353 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/autosave_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/autosave_data.proto</summary>
|
||||
public static partial class AutosaveDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/autosave_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AutosaveDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihyZWNfcm9vbS9wZXJzaXN0ZW5jZS9hdXRvc2F2ZV9kYXRhLnByb3RvEghy",
|
||||
"ZWNfcm9vbSKpAQoMQXV0b3NhdmVEYXRhEhwKFHJlZmVyZW5jZWRfZmlsZW5h",
|
||||
"bWVzGAEgAygJEi4KJmxlZ2FjeV9hZGRpdGlvbmFsX3JlZmVyZW5jZWRfZmls",
|
||||
"ZW5hbWVzGAIgAygJEhUKDWludmVudGlvbl9pZHMYAyADKAMSHAoUaW52ZW50",
|
||||
"aW9uX3JlZmVyZW5jZXMYBCADKAUSFgoOdW5pdHlfYXNzZXRfaWQYBSABKAlC",
|
||||
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AutosaveData), global::RecRoom.Protobuf.AutosaveData.Parser, new[]{ "ReferencedFilenames", "LegacyAdditionalReferencedFilenames", "InventionIds", "InventionReferences", "UnityAssetId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AutosaveData : pb::IMessage<AutosaveData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AutosaveData> _parser = new pb::MessageParser<AutosaveData>(() => new AutosaveData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AutosaveData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AutosaveDataReflection.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 AutosaveData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AutosaveData(AutosaveData other) : this() {
|
||||
referencedFilenames_ = other.referencedFilenames_.Clone();
|
||||
legacyAdditionalReferencedFilenames_ = other.legacyAdditionalReferencedFilenames_.Clone();
|
||||
inventionIds_ = other.inventionIds_.Clone();
|
||||
inventionReferences_ = other.inventionReferences_.Clone();
|
||||
unityAssetId_ = other.unityAssetId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AutosaveData Clone() {
|
||||
return new AutosaveData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "referenced_filenames" field.</summary>
|
||||
public const int ReferencedFilenamesFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<string> _repeated_referencedFilenames_codec
|
||||
= pb::FieldCodec.ForString(10);
|
||||
private readonly pbc::RepeatedField<string> referencedFilenames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> ReferencedFilenames {
|
||||
get { return referencedFilenames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "legacy_additional_referenced_filenames" field.</summary>
|
||||
public const int LegacyAdditionalReferencedFilenamesFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<string> _repeated_legacyAdditionalReferencedFilenames_codec
|
||||
= pb::FieldCodec.ForString(18);
|
||||
private readonly pbc::RepeatedField<string> legacyAdditionalReferencedFilenames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> LegacyAdditionalReferencedFilenames {
|
||||
get { return legacyAdditionalReferencedFilenames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "invention_ids" field.</summary>
|
||||
public const int InventionIdsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<long> _repeated_inventionIds_codec
|
||||
= pb::FieldCodec.ForInt64(26);
|
||||
private readonly pbc::RepeatedField<long> inventionIds_ = new pbc::RepeatedField<long>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<long> InventionIds {
|
||||
get { return inventionIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "invention_references" field.</summary>
|
||||
public const int InventionReferencesFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<int> _repeated_inventionReferences_codec
|
||||
= pb::FieldCodec.ForInt32(34);
|
||||
private readonly pbc::RepeatedField<int> inventionReferences_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> InventionReferences {
|
||||
get { return inventionReferences_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_id" field.</summary>
|
||||
public const int UnityAssetIdFieldNumber = 5;
|
||||
private string unityAssetId_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string UnityAssetId {
|
||||
get { return unityAssetId_; }
|
||||
set {
|
||||
unityAssetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AutosaveData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AutosaveData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!referencedFilenames_.Equals(other.referencedFilenames_)) return false;
|
||||
if(!legacyAdditionalReferencedFilenames_.Equals(other.legacyAdditionalReferencedFilenames_)) return false;
|
||||
if(!inventionIds_.Equals(other.inventionIds_)) return false;
|
||||
if(!inventionReferences_.Equals(other.inventionReferences_)) return false;
|
||||
if (UnityAssetId != other.UnityAssetId) 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;
|
||||
hash ^= referencedFilenames_.GetHashCode();
|
||||
hash ^= legacyAdditionalReferencedFilenames_.GetHashCode();
|
||||
hash ^= inventionIds_.GetHashCode();
|
||||
hash ^= inventionReferences_.GetHashCode();
|
||||
if (UnityAssetId.Length != 0) hash ^= UnityAssetId.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
|
||||
referencedFilenames_.WriteTo(output, _repeated_referencedFilenames_codec);
|
||||
legacyAdditionalReferencedFilenames_.WriteTo(output, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
inventionIds_.WriteTo(output, _repeated_inventionIds_codec);
|
||||
inventionReferences_.WriteTo(output, _repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(UnityAssetId);
|
||||
}
|
||||
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) {
|
||||
referencedFilenames_.WriteTo(ref output, _repeated_referencedFilenames_codec);
|
||||
legacyAdditionalReferencedFilenames_.WriteTo(ref output, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
inventionIds_.WriteTo(ref output, _repeated_inventionIds_codec);
|
||||
inventionReferences_.WriteTo(ref output, _repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(UnityAssetId);
|
||||
}
|
||||
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;
|
||||
size += referencedFilenames_.CalculateSize(_repeated_referencedFilenames_codec);
|
||||
size += legacyAdditionalReferencedFilenames_.CalculateSize(_repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
size += inventionIds_.CalculateSize(_repeated_inventionIds_codec);
|
||||
size += inventionReferences_.CalculateSize(_repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnityAssetId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AutosaveData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
referencedFilenames_.Add(other.referencedFilenames_);
|
||||
legacyAdditionalReferencedFilenames_.Add(other.legacyAdditionalReferencedFilenames_);
|
||||
inventionIds_.Add(other.inventionIds_);
|
||||
inventionReferences_.Add(other.inventionReferences_);
|
||||
if (other.UnityAssetId.Length != 0) {
|
||||
UnityAssetId = other.UnityAssetId;
|
||||
}
|
||||
_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: {
|
||||
referencedFilenames_.AddEntriesFrom(input, _repeated_referencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
legacyAdditionalReferencedFilenames_.AddEntriesFrom(input, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
inventionIds_.AddEntriesFrom(input, _repeated_inventionIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34:
|
||||
case 32: {
|
||||
inventionReferences_.AddEntriesFrom(input, _repeated_inventionReferences_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
UnityAssetId = input.ReadString();
|
||||
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: {
|
||||
referencedFilenames_.AddEntriesFrom(ref input, _repeated_referencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
legacyAdditionalReferencedFilenames_.AddEntriesFrom(ref input, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
inventionIds_.AddEntriesFrom(ref input, _repeated_inventionIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34:
|
||||
case 32: {
|
||||
inventionReferences_.AddEntriesFrom(ref input, _repeated_inventionReferences_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
UnityAssetId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
504
AutosaveFileData.cs
Normal file
504
AutosaveFileData.cs
Normal file
@@ -0,0 +1,504 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/autosaves/autosave_file_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/autosaves/autosave_file_data.proto</summary>
|
||||
public static partial class AutosaveFileDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/autosaves/autosave_file_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AutosaveFileDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CityZWNfcm9vbS9hdXRvc2F2ZXMvYXV0b3NhdmVfZmlsZV9kYXRhLnByb3Rv",
|
||||
"EghyZWNfcm9vbRoucmVjX3Jvb20vcGVyc2lzdGVuY2UvcGVyc2lzdGVkX3Jv",
|
||||
"b21fZGF0YS5wcm90bxoUY29yZS9ndWlkX2RhdGEucHJvdG8ivgIKEEF1dG9z",
|
||||
"YXZlRmlsZURhdGESDgoGcm9vbUlkGAEgASgDEhEKCXN1YnJvb21JZBgCIAEo",
|
||||
"AxIcChRyZWZlcmVuY2VkX2ZpbGVuYW1lcxgDIAMoCRIuCiZsZWdhY3lfYWRk",
|
||||
"aXRpb25hbF9yZWZlcmVuY2VkX2ZpbGVuYW1lcxgEIAMoCRIVCg1pbnZlbnRp",
|
||||
"b25faWRzGAUgAygDEhwKFGludmVudGlvbl9yZWZlcmVuY2VzGAYgAygFEhYK",
|
||||
"DnVuaXR5X2Fzc2V0X2lkGAcgASgJEjgKE3BlcnNpc3RlZF9yb29tX2RhdGEY",
|
||||
"CCABKAsyGy5yZWNfcm9vbS5QZXJzaXN0ZWRSb29tRGF0YRIyChpyZWZlcmVu",
|
||||
"Y2VkX3VuaXR5X2Fzc2V0X2lkcxgJIAMoCzIOLmNvcmUuR3VpZERhdGFCE6oC",
|
||||
"EFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.PersistedRoomDataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AutosaveFileData), global::RecRoom.Protobuf.AutosaveFileData.Parser, new[]{ "RoomId", "SubroomId", "ReferencedFilenames", "LegacyAdditionalReferencedFilenames", "InventionIds", "InventionReferences", "UnityAssetId", "PersistedRoomData", "ReferencedUnityAssetIds" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AutosaveFileData : pb::IMessage<AutosaveFileData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AutosaveFileData> _parser = new pb::MessageParser<AutosaveFileData>(() => new AutosaveFileData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AutosaveFileData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.AutosaveFileDataReflection.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 AutosaveFileData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AutosaveFileData(AutosaveFileData other) : this() {
|
||||
roomId_ = other.roomId_;
|
||||
subroomId_ = other.subroomId_;
|
||||
referencedFilenames_ = other.referencedFilenames_.Clone();
|
||||
legacyAdditionalReferencedFilenames_ = other.legacyAdditionalReferencedFilenames_.Clone();
|
||||
inventionIds_ = other.inventionIds_.Clone();
|
||||
inventionReferences_ = other.inventionReferences_.Clone();
|
||||
unityAssetId_ = other.unityAssetId_;
|
||||
persistedRoomData_ = other.persistedRoomData_ != null ? other.persistedRoomData_.Clone() : null;
|
||||
referencedUnityAssetIds_ = other.referencedUnityAssetIds_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AutosaveFileData Clone() {
|
||||
return new AutosaveFileData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "roomId" field.</summary>
|
||||
public const int RoomIdFieldNumber = 1;
|
||||
private long roomId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long RoomId {
|
||||
get { return roomId_; }
|
||||
set {
|
||||
roomId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "subroomId" field.</summary>
|
||||
public const int SubroomIdFieldNumber = 2;
|
||||
private long subroomId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long SubroomId {
|
||||
get { return subroomId_; }
|
||||
set {
|
||||
subroomId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "referenced_filenames" field.</summary>
|
||||
public const int ReferencedFilenamesFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<string> _repeated_referencedFilenames_codec
|
||||
= pb::FieldCodec.ForString(26);
|
||||
private readonly pbc::RepeatedField<string> referencedFilenames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> ReferencedFilenames {
|
||||
get { return referencedFilenames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "legacy_additional_referenced_filenames" field.</summary>
|
||||
public const int LegacyAdditionalReferencedFilenamesFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<string> _repeated_legacyAdditionalReferencedFilenames_codec
|
||||
= pb::FieldCodec.ForString(34);
|
||||
private readonly pbc::RepeatedField<string> legacyAdditionalReferencedFilenames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> LegacyAdditionalReferencedFilenames {
|
||||
get { return legacyAdditionalReferencedFilenames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "invention_ids" field.</summary>
|
||||
public const int InventionIdsFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<long> _repeated_inventionIds_codec
|
||||
= pb::FieldCodec.ForInt64(42);
|
||||
private readonly pbc::RepeatedField<long> inventionIds_ = new pbc::RepeatedField<long>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<long> InventionIds {
|
||||
get { return inventionIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "invention_references" field.</summary>
|
||||
public const int InventionReferencesFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<int> _repeated_inventionReferences_codec
|
||||
= pb::FieldCodec.ForInt32(50);
|
||||
private readonly pbc::RepeatedField<int> inventionReferences_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> InventionReferences {
|
||||
get { return inventionReferences_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_id" field.</summary>
|
||||
public const int UnityAssetIdFieldNumber = 7;
|
||||
private string unityAssetId_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string UnityAssetId {
|
||||
get { return unityAssetId_; }
|
||||
set {
|
||||
unityAssetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "persisted_room_data" field.</summary>
|
||||
public const int PersistedRoomDataFieldNumber = 8;
|
||||
private global::RecRoom.Protobuf.PersistedRoomData persistedRoomData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.PersistedRoomData PersistedRoomData {
|
||||
get { return persistedRoomData_; }
|
||||
set {
|
||||
persistedRoomData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "referenced_unity_asset_ids" field.</summary>
|
||||
public const int ReferencedUnityAssetIdsFieldNumber = 9;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_referencedUnityAssetIds_codec
|
||||
= pb::FieldCodec.ForMessage(74, global::RecRoom.Protobuf.Core.GuidData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> referencedUnityAssetIds_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> ReferencedUnityAssetIds {
|
||||
get { return referencedUnityAssetIds_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AutosaveFileData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AutosaveFileData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (RoomId != other.RoomId) return false;
|
||||
if (SubroomId != other.SubroomId) return false;
|
||||
if(!referencedFilenames_.Equals(other.referencedFilenames_)) return false;
|
||||
if(!legacyAdditionalReferencedFilenames_.Equals(other.legacyAdditionalReferencedFilenames_)) return false;
|
||||
if(!inventionIds_.Equals(other.inventionIds_)) return false;
|
||||
if(!inventionReferences_.Equals(other.inventionReferences_)) return false;
|
||||
if (UnityAssetId != other.UnityAssetId) return false;
|
||||
if (!object.Equals(PersistedRoomData, other.PersistedRoomData)) return false;
|
||||
if(!referencedUnityAssetIds_.Equals(other.referencedUnityAssetIds_)) 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 (RoomId != 0L) hash ^= RoomId.GetHashCode();
|
||||
if (SubroomId != 0L) hash ^= SubroomId.GetHashCode();
|
||||
hash ^= referencedFilenames_.GetHashCode();
|
||||
hash ^= legacyAdditionalReferencedFilenames_.GetHashCode();
|
||||
hash ^= inventionIds_.GetHashCode();
|
||||
hash ^= inventionReferences_.GetHashCode();
|
||||
if (UnityAssetId.Length != 0) hash ^= UnityAssetId.GetHashCode();
|
||||
if (persistedRoomData_ != null) hash ^= PersistedRoomData.GetHashCode();
|
||||
hash ^= referencedUnityAssetIds_.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 (RoomId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(RoomId);
|
||||
}
|
||||
if (SubroomId != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(SubroomId);
|
||||
}
|
||||
referencedFilenames_.WriteTo(output, _repeated_referencedFilenames_codec);
|
||||
legacyAdditionalReferencedFilenames_.WriteTo(output, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
inventionIds_.WriteTo(output, _repeated_inventionIds_codec);
|
||||
inventionReferences_.WriteTo(output, _repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(UnityAssetId);
|
||||
}
|
||||
if (persistedRoomData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(PersistedRoomData);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(output, _repeated_referencedUnityAssetIds_codec);
|
||||
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 (RoomId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(RoomId);
|
||||
}
|
||||
if (SubroomId != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(SubroomId);
|
||||
}
|
||||
referencedFilenames_.WriteTo(ref output, _repeated_referencedFilenames_codec);
|
||||
legacyAdditionalReferencedFilenames_.WriteTo(ref output, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
inventionIds_.WriteTo(ref output, _repeated_inventionIds_codec);
|
||||
inventionReferences_.WriteTo(ref output, _repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(UnityAssetId);
|
||||
}
|
||||
if (persistedRoomData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(PersistedRoomData);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(ref output, _repeated_referencedUnityAssetIds_codec);
|
||||
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 (RoomId != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoomId);
|
||||
}
|
||||
if (SubroomId != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(SubroomId);
|
||||
}
|
||||
size += referencedFilenames_.CalculateSize(_repeated_referencedFilenames_codec);
|
||||
size += legacyAdditionalReferencedFilenames_.CalculateSize(_repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
size += inventionIds_.CalculateSize(_repeated_inventionIds_codec);
|
||||
size += inventionReferences_.CalculateSize(_repeated_inventionReferences_codec);
|
||||
if (UnityAssetId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnityAssetId);
|
||||
}
|
||||
if (persistedRoomData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PersistedRoomData);
|
||||
}
|
||||
size += referencedUnityAssetIds_.CalculateSize(_repeated_referencedUnityAssetIds_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AutosaveFileData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.RoomId != 0L) {
|
||||
RoomId = other.RoomId;
|
||||
}
|
||||
if (other.SubroomId != 0L) {
|
||||
SubroomId = other.SubroomId;
|
||||
}
|
||||
referencedFilenames_.Add(other.referencedFilenames_);
|
||||
legacyAdditionalReferencedFilenames_.Add(other.legacyAdditionalReferencedFilenames_);
|
||||
inventionIds_.Add(other.inventionIds_);
|
||||
inventionReferences_.Add(other.inventionReferences_);
|
||||
if (other.UnityAssetId.Length != 0) {
|
||||
UnityAssetId = other.UnityAssetId;
|
||||
}
|
||||
if (other.persistedRoomData_ != null) {
|
||||
if (persistedRoomData_ == null) {
|
||||
PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData();
|
||||
}
|
||||
PersistedRoomData.MergeFrom(other.PersistedRoomData);
|
||||
}
|
||||
referencedUnityAssetIds_.Add(other.referencedUnityAssetIds_);
|
||||
_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: {
|
||||
RoomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SubroomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
referencedFilenames_.AddEntriesFrom(input, _repeated_referencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
legacyAdditionalReferencedFilenames_.AddEntriesFrom(input, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
inventionIds_.AddEntriesFrom(input, _repeated_inventionIds_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
inventionReferences_.AddEntriesFrom(input, _repeated_inventionReferences_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
UnityAssetId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (persistedRoomData_ == null) {
|
||||
PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData();
|
||||
}
|
||||
input.ReadMessage(PersistedRoomData);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(input, _repeated_referencedUnityAssetIds_codec);
|
||||
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: {
|
||||
RoomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SubroomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
referencedFilenames_.AddEntriesFrom(ref input, _repeated_referencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
legacyAdditionalReferencedFilenames_.AddEntriesFrom(ref input, _repeated_legacyAdditionalReferencedFilenames_codec);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
inventionIds_.AddEntriesFrom(ref input, _repeated_inventionIds_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
inventionReferences_.AddEntriesFrom(ref input, _repeated_inventionReferences_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
UnityAssetId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (persistedRoomData_ == null) {
|
||||
PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData();
|
||||
}
|
||||
input.ReadMessage(PersistedRoomData);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(ref input, _repeated_referencedUnityAssetIds_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
5219
AvatarData.cs
Normal file
5219
AvatarData.cs
Normal file
File diff suppressed because it is too large
Load Diff
243
AwardConsumableNodeData.cs
Normal file
243
AwardConsumableNodeData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/award_consumable_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/award_consumable_node_data.proto</summary>
|
||||
public static partial class AwardConsumableNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/award_consumable_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AwardConsumableNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CixjaXJjdWl0c192Mi9hd2FyZF9jb25zdW1hYmxlX25vZGVfZGF0YS5wcm90",
|
||||
"bxILY2lyY3VpdHNfdjIiLAoXQXdhcmRDb25zdW1hYmxlTm9kZURhdGESEQoJ",
|
||||
"bG9nT3V0cHV0GAEgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90",
|
||||
"bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AwardConsumableNodeData), global::CircuitsV2.Protobuf.AwardConsumableNodeData.Parser, new[]{ "LogOutput" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AwardConsumableNodeData : pb::IMessage<AwardConsumableNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AwardConsumableNodeData> _parser = new pb::MessageParser<AwardConsumableNodeData>(() => new AwardConsumableNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AwardConsumableNodeData> 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.AwardConsumableNodeDataReflection.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 AwardConsumableNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardConsumableNodeData(AwardConsumableNodeData other) : this() {
|
||||
logOutput_ = other.logOutput_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardConsumableNodeData Clone() {
|
||||
return new AwardConsumableNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "logOutput" field.</summary>
|
||||
public const int LogOutputFieldNumber = 1;
|
||||
private bool logOutput_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LogOutput {
|
||||
get { return logOutput_; }
|
||||
set {
|
||||
logOutput_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AwardConsumableNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AwardConsumableNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (LogOutput != other.LogOutput) 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 (LogOutput != false) hash ^= LogOutput.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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AwardConsumableNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.LogOutput != false) {
|
||||
LogOutput = other.LogOutput;
|
||||
}
|
||||
_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: {
|
||||
LogOutput = input.ReadBool();
|
||||
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: {
|
||||
LogOutput = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
AwardCurrencyFromConstantNodeData.cs
Normal file
243
AwardCurrencyFromConstantNodeData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/award_currency_from_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/award_currency_from_constant_node_data.proto</summary>
|
||||
public static partial class AwardCurrencyFromConstantNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/award_currency_from_constant_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AwardCurrencyFromConstantNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjhjaXJjdWl0c192Mi9hd2FyZF9jdXJyZW5jeV9mcm9tX2NvbnN0YW50X25v",
|
||||
"ZGVfZGF0YS5wcm90bxILY2lyY3VpdHNfdjIiNgohQXdhcmRDdXJyZW5jeUZy",
|
||||
"b21Db25zdGFudE5vZGVEYXRhEhEKCWxvZ091dHB1dBgBIAEoCEIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AwardCurrencyFromConstantNodeData), global::CircuitsV2.Protobuf.AwardCurrencyFromConstantNodeData.Parser, new[]{ "LogOutput" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AwardCurrencyFromConstantNodeData : pb::IMessage<AwardCurrencyFromConstantNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AwardCurrencyFromConstantNodeData> _parser = new pb::MessageParser<AwardCurrencyFromConstantNodeData>(() => new AwardCurrencyFromConstantNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AwardCurrencyFromConstantNodeData> 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.AwardCurrencyFromConstantNodeDataReflection.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 AwardCurrencyFromConstantNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardCurrencyFromConstantNodeData(AwardCurrencyFromConstantNodeData other) : this() {
|
||||
logOutput_ = other.logOutput_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardCurrencyFromConstantNodeData Clone() {
|
||||
return new AwardCurrencyFromConstantNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "logOutput" field.</summary>
|
||||
public const int LogOutputFieldNumber = 1;
|
||||
private bool logOutput_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LogOutput {
|
||||
get { return logOutput_; }
|
||||
set {
|
||||
logOutput_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AwardCurrencyFromConstantNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AwardCurrencyFromConstantNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (LogOutput != other.LogOutput) 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 (LogOutput != false) hash ^= LogOutput.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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AwardCurrencyFromConstantNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.LogOutput != false) {
|
||||
LogOutput = other.LogOutput;
|
||||
}
|
||||
_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: {
|
||||
LogOutput = input.ReadBool();
|
||||
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: {
|
||||
LogOutput = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
328
AwardCurrencyNodeData.cs
Normal file
328
AwardCurrencyNodeData.cs
Normal file
@@ -0,0 +1,328 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/award_currency_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/award_currency_node_data.proto</summary>
|
||||
public static partial class AwardCurrencyNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/award_currency_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AwardCurrencyNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CipjaXJjdWl0c192Mi9hd2FyZF9jdXJyZW5jeV9ub2RlX2RhdGEucHJvdG8S",
|
||||
"C2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byKHAQoVQXdhcmRD",
|
||||
"dXJyZW5jeU5vZGVEYXRhEhEKCWxvZ091dHB1dBgDIAEoCBIvChdjdXJyZW5j",
|
||||
"eV9yZXBsaWNhdGlvbl9pZBgCIAEoCzIOLmNvcmUuR3VpZERhdGESKgoiREVQ",
|
||||
"UkVDQVRFRF9jdXJyZW5jeV9yZXBsaWNhdGlvbl9pZBgBIAEoDEIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AwardCurrencyNodeData), global::CircuitsV2.Protobuf.AwardCurrencyNodeData.Parser, new[]{ "LogOutput", "CurrencyReplicationId", "DEPRECATEDCurrencyReplicationId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AwardCurrencyNodeData : pb::IMessage<AwardCurrencyNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AwardCurrencyNodeData> _parser = new pb::MessageParser<AwardCurrencyNodeData>(() => new AwardCurrencyNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AwardCurrencyNodeData> 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.AwardCurrencyNodeDataReflection.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 AwardCurrencyNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardCurrencyNodeData(AwardCurrencyNodeData other) : this() {
|
||||
logOutput_ = other.logOutput_;
|
||||
currencyReplicationId_ = other.currencyReplicationId_ != null ? other.currencyReplicationId_.Clone() : null;
|
||||
dEPRECATEDCurrencyReplicationId_ = other.dEPRECATEDCurrencyReplicationId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardCurrencyNodeData Clone() {
|
||||
return new AwardCurrencyNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "logOutput" field.</summary>
|
||||
public const int LogOutputFieldNumber = 3;
|
||||
private bool logOutput_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LogOutput {
|
||||
get { return logOutput_; }
|
||||
set {
|
||||
logOutput_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "currency_replication_id" field.</summary>
|
||||
public const int CurrencyReplicationIdFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.GuidData currencyReplicationId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData CurrencyReplicationId {
|
||||
get { return currencyReplicationId_; }
|
||||
set {
|
||||
currencyReplicationId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_currency_replication_id" field.</summary>
|
||||
public const int DEPRECATEDCurrencyReplicationIdFieldNumber = 1;
|
||||
private pb::ByteString dEPRECATEDCurrencyReplicationId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDCurrencyReplicationId {
|
||||
get { return dEPRECATEDCurrencyReplicationId_; }
|
||||
set {
|
||||
dEPRECATEDCurrencyReplicationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AwardCurrencyNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AwardCurrencyNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (LogOutput != other.LogOutput) return false;
|
||||
if (!object.Equals(CurrencyReplicationId, other.CurrencyReplicationId)) return false;
|
||||
if (DEPRECATEDCurrencyReplicationId != other.DEPRECATEDCurrencyReplicationId) 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 (LogOutput != false) hash ^= LogOutput.GetHashCode();
|
||||
if (currencyReplicationId_ != null) hash ^= CurrencyReplicationId.GetHashCode();
|
||||
if (DEPRECATEDCurrencyReplicationId.Length != 0) hash ^= DEPRECATEDCurrencyReplicationId.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 (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDCurrencyReplicationId);
|
||||
}
|
||||
if (currencyReplicationId_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(CurrencyReplicationId);
|
||||
}
|
||||
if (LogOutput != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDCurrencyReplicationId);
|
||||
}
|
||||
if (currencyReplicationId_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(CurrencyReplicationId);
|
||||
}
|
||||
if (LogOutput != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (currencyReplicationId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrencyReplicationId);
|
||||
}
|
||||
if (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDCurrencyReplicationId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AwardCurrencyNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.LogOutput != false) {
|
||||
LogOutput = other.LogOutput;
|
||||
}
|
||||
if (other.currencyReplicationId_ != null) {
|
||||
if (currencyReplicationId_ == null) {
|
||||
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
CurrencyReplicationId.MergeFrom(other.CurrencyReplicationId);
|
||||
}
|
||||
if (other.DEPRECATEDCurrencyReplicationId.Length != 0) {
|
||||
DEPRECATEDCurrencyReplicationId = other.DEPRECATEDCurrencyReplicationId;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDCurrencyReplicationId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (currencyReplicationId_ == null) {
|
||||
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(CurrencyReplicationId);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
LogOutput = input.ReadBool();
|
||||
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: {
|
||||
DEPRECATEDCurrencyReplicationId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (currencyReplicationId_ == null) {
|
||||
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(CurrencyReplicationId);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
LogOutput = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
AwardRoomKeyNodeData.cs
Normal file
242
AwardRoomKeyNodeData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/award_room_key_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/award_room_key_node_data.proto</summary>
|
||||
public static partial class AwardRoomKeyNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/award_room_key_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AwardRoomKeyNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CipjaXJjdWl0c192Mi9hd2FyZF9yb29tX2tleV9ub2RlX2RhdGEucHJvdG8S",
|
||||
"C2NpcmN1aXRzX3YyIikKFEF3YXJkUm9vbUtleU5vZGVEYXRhEhEKCWxvZ091",
|
||||
"dHB1dBgBIAEoCEIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.AwardRoomKeyNodeData), global::CircuitsV2.Protobuf.AwardRoomKeyNodeData.Parser, new[]{ "LogOutput" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AwardRoomKeyNodeData : pb::IMessage<AwardRoomKeyNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AwardRoomKeyNodeData> _parser = new pb::MessageParser<AwardRoomKeyNodeData>(() => new AwardRoomKeyNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AwardRoomKeyNodeData> 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.AwardRoomKeyNodeDataReflection.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 AwardRoomKeyNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardRoomKeyNodeData(AwardRoomKeyNodeData other) : this() {
|
||||
logOutput_ = other.logOutput_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AwardRoomKeyNodeData Clone() {
|
||||
return new AwardRoomKeyNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "logOutput" field.</summary>
|
||||
public const int LogOutputFieldNumber = 1;
|
||||
private bool logOutput_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LogOutput {
|
||||
get { return logOutput_; }
|
||||
set {
|
||||
logOutput_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AwardRoomKeyNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AwardRoomKeyNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (LogOutput != other.LogOutput) 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 (LogOutput != false) hash ^= LogOutput.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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(LogOutput);
|
||||
}
|
||||
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 (LogOutput != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AwardRoomKeyNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.LogOutput != false) {
|
||||
LogOutput = other.LogOutput;
|
||||
}
|
||||
_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: {
|
||||
LogOutput = input.ReadBool();
|
||||
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: {
|
||||
LogOutput = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
235
BackgroundObjectsConstantNodeData.cs
Normal file
235
BackgroundObjectsConstantNodeData.cs
Normal file
@@ -0,0 +1,235 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/background_objects_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/background_objects_constant_node_data.proto</summary>
|
||||
public static partial class BackgroundObjectsConstantNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/background_objects_constant_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BackgroundObjectsConstantNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjdjaXJjdWl0c192Mi9iYWNrZ3JvdW5kX29iamVjdHNfY29uc3RhbnRfbm9k",
|
||||
"ZV9kYXRhLnByb3RvEgtjaXJjdWl0c192Mho4Y2lyY3VpdHNfdjIvcm9vbV9t",
|
||||
"b29kX2JhY2tncm91bmRfb2JqZWN0c190eXBlX2RhdGEucHJvdG8idAohQmFj",
|
||||
"a2dyb3VuZE9iamVjdHNDb25zdGFudE5vZGVEYXRhEk8KF2JhY2tncm91bmRf",
|
||||
"b2JqZWN0c19kYXRhGAEgAygLMi4uY2lyY3VpdHNfdjIuUm9vbU1vb2RCYWNr",
|
||||
"Z3JvdW5kT2JqZWN0c1R5cGVEYXRhQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVm",
|
||||
"YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BackgroundObjectsConstantNodeData), global::CircuitsV2.Protobuf.BackgroundObjectsConstantNodeData.Parser, new[]{ "BackgroundObjectsData" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BackgroundObjectsConstantNodeData : pb::IMessage<BackgroundObjectsConstantNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BackgroundObjectsConstantNodeData> _parser = new pb::MessageParser<BackgroundObjectsConstantNodeData>(() => new BackgroundObjectsConstantNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BackgroundObjectsConstantNodeData> 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.BackgroundObjectsConstantNodeDataReflection.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 BackgroundObjectsConstantNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BackgroundObjectsConstantNodeData(BackgroundObjectsConstantNodeData other) : this() {
|
||||
backgroundObjectsData_ = other.backgroundObjectsData_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BackgroundObjectsConstantNodeData Clone() {
|
||||
return new BackgroundObjectsConstantNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "background_objects_data" field.</summary>
|
||||
public const int BackgroundObjectsDataFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeData> _repeated_backgroundObjectsData_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeData> backgroundObjectsData_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsTypeData> BackgroundObjectsData {
|
||||
get { return backgroundObjectsData_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BackgroundObjectsConstantNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BackgroundObjectsConstantNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!backgroundObjectsData_.Equals(other.backgroundObjectsData_)) 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;
|
||||
hash ^= backgroundObjectsData_.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
|
||||
backgroundObjectsData_.WriteTo(output, _repeated_backgroundObjectsData_codec);
|
||||
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) {
|
||||
backgroundObjectsData_.WriteTo(ref output, _repeated_backgroundObjectsData_codec);
|
||||
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;
|
||||
size += backgroundObjectsData_.CalculateSize(_repeated_backgroundObjectsData_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BackgroundObjectsConstantNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
backgroundObjectsData_.Add(other.backgroundObjectsData_);
|
||||
_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: {
|
||||
backgroundObjectsData_.AddEntriesFrom(input, _repeated_backgroundObjectsData_codec);
|
||||
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: {
|
||||
backgroundObjectsData_.AddEntriesFrom(ref input, _repeated_backgroundObjectsData_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
544
BannerNotificationNodeData.cs
Normal file
544
BannerNotificationNodeData.cs
Normal file
@@ -0,0 +1,544 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/notification/banner_notification_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/notification/banner_notification_node_data.proto</summary>
|
||||
public static partial class BannerNotificationNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/notification/banner_notification_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BannerNotificationNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjxjaXJjdWl0c192Mi9ub3RpZmljYXRpb24vYmFubmVyX25vdGlmaWNhdGlv",
|
||||
"bl9ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyIv8BChpCYW5uZXJOb3Rp",
|
||||
"ZmljYXRpb25Ob2RlRGF0YRIQCghwb3NpdGlvbhgBIAEoBRIYChB0aXRsZV90",
|
||||
"ZXh0X2NvbG9yGAIgASgFEh4KFnRpdGxlX2JhY2tncm91bmRfY29sb3IYAyAB",
|
||||
"KAUSFwoPdGl0bGVfdGV4dF9zaXplGAQgASgFEhcKD21haW5fdGV4dF9jb2xv",
|
||||
"chgFIAEoBRIiChptYWluX3RleHRfYmFja2dyb3VuZF9jb2xvchgGIAEoBRIW",
|
||||
"Cg5tYWluX3RleHRfc2l6ZRgHIAEoBRISCgpsZWZ0X2Vtb2ppGAggASgJEhMK",
|
||||
"C3JpZ2h0X2Vtb2ppGAkgASgJQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BannerNotificationNodeData), global::CircuitsV2.Protobuf.BannerNotificationNodeData.Parser, new[]{ "Position", "TitleTextColor", "TitleBackgroundColor", "TitleTextSize", "MainTextColor", "MainTextBackgroundColor", "MainTextSize", "LeftEmoji", "RightEmoji" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BannerNotificationNodeData : pb::IMessage<BannerNotificationNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BannerNotificationNodeData> _parser = new pb::MessageParser<BannerNotificationNodeData>(() => new BannerNotificationNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BannerNotificationNodeData> 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.BannerNotificationNodeDataReflection.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 BannerNotificationNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BannerNotificationNodeData(BannerNotificationNodeData other) : this() {
|
||||
position_ = other.position_;
|
||||
titleTextColor_ = other.titleTextColor_;
|
||||
titleBackgroundColor_ = other.titleBackgroundColor_;
|
||||
titleTextSize_ = other.titleTextSize_;
|
||||
mainTextColor_ = other.mainTextColor_;
|
||||
mainTextBackgroundColor_ = other.mainTextBackgroundColor_;
|
||||
mainTextSize_ = other.mainTextSize_;
|
||||
leftEmoji_ = other.leftEmoji_;
|
||||
rightEmoji_ = other.rightEmoji_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BannerNotificationNodeData Clone() {
|
||||
return new BannerNotificationNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "position" field.</summary>
|
||||
public const int PositionFieldNumber = 1;
|
||||
private int position_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Position {
|
||||
get { return position_; }
|
||||
set {
|
||||
position_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "title_text_color" field.</summary>
|
||||
public const int TitleTextColorFieldNumber = 2;
|
||||
private int titleTextColor_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TitleTextColor {
|
||||
get { return titleTextColor_; }
|
||||
set {
|
||||
titleTextColor_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "title_background_color" field.</summary>
|
||||
public const int TitleBackgroundColorFieldNumber = 3;
|
||||
private int titleBackgroundColor_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TitleBackgroundColor {
|
||||
get { return titleBackgroundColor_; }
|
||||
set {
|
||||
titleBackgroundColor_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "title_text_size" field.</summary>
|
||||
public const int TitleTextSizeFieldNumber = 4;
|
||||
private int titleTextSize_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TitleTextSize {
|
||||
get { return titleTextSize_; }
|
||||
set {
|
||||
titleTextSize_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "main_text_color" field.</summary>
|
||||
public const int MainTextColorFieldNumber = 5;
|
||||
private int mainTextColor_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MainTextColor {
|
||||
get { return mainTextColor_; }
|
||||
set {
|
||||
mainTextColor_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "main_text_background_color" field.</summary>
|
||||
public const int MainTextBackgroundColorFieldNumber = 6;
|
||||
private int mainTextBackgroundColor_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MainTextBackgroundColor {
|
||||
get { return mainTextBackgroundColor_; }
|
||||
set {
|
||||
mainTextBackgroundColor_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "main_text_size" field.</summary>
|
||||
public const int MainTextSizeFieldNumber = 7;
|
||||
private int mainTextSize_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MainTextSize {
|
||||
get { return mainTextSize_; }
|
||||
set {
|
||||
mainTextSize_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "left_emoji" field.</summary>
|
||||
public const int LeftEmojiFieldNumber = 8;
|
||||
private string leftEmoji_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string LeftEmoji {
|
||||
get { return leftEmoji_; }
|
||||
set {
|
||||
leftEmoji_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "right_emoji" field.</summary>
|
||||
public const int RightEmojiFieldNumber = 9;
|
||||
private string rightEmoji_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string RightEmoji {
|
||||
get { return rightEmoji_; }
|
||||
set {
|
||||
rightEmoji_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BannerNotificationNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BannerNotificationNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Position != other.Position) return false;
|
||||
if (TitleTextColor != other.TitleTextColor) return false;
|
||||
if (TitleBackgroundColor != other.TitleBackgroundColor) return false;
|
||||
if (TitleTextSize != other.TitleTextSize) return false;
|
||||
if (MainTextColor != other.MainTextColor) return false;
|
||||
if (MainTextBackgroundColor != other.MainTextBackgroundColor) return false;
|
||||
if (MainTextSize != other.MainTextSize) return false;
|
||||
if (LeftEmoji != other.LeftEmoji) return false;
|
||||
if (RightEmoji != other.RightEmoji) 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 (Position != 0) hash ^= Position.GetHashCode();
|
||||
if (TitleTextColor != 0) hash ^= TitleTextColor.GetHashCode();
|
||||
if (TitleBackgroundColor != 0) hash ^= TitleBackgroundColor.GetHashCode();
|
||||
if (TitleTextSize != 0) hash ^= TitleTextSize.GetHashCode();
|
||||
if (MainTextColor != 0) hash ^= MainTextColor.GetHashCode();
|
||||
if (MainTextBackgroundColor != 0) hash ^= MainTextBackgroundColor.GetHashCode();
|
||||
if (MainTextSize != 0) hash ^= MainTextSize.GetHashCode();
|
||||
if (LeftEmoji.Length != 0) hash ^= LeftEmoji.GetHashCode();
|
||||
if (RightEmoji.Length != 0) hash ^= RightEmoji.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 (Position != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Position);
|
||||
}
|
||||
if (TitleTextColor != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(TitleTextColor);
|
||||
}
|
||||
if (TitleBackgroundColor != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(TitleBackgroundColor);
|
||||
}
|
||||
if (TitleTextSize != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(TitleTextSize);
|
||||
}
|
||||
if (MainTextColor != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(MainTextColor);
|
||||
}
|
||||
if (MainTextBackgroundColor != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(MainTextBackgroundColor);
|
||||
}
|
||||
if (MainTextSize != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(MainTextSize);
|
||||
}
|
||||
if (LeftEmoji.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(LeftEmoji);
|
||||
}
|
||||
if (RightEmoji.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(RightEmoji);
|
||||
}
|
||||
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 (Position != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Position);
|
||||
}
|
||||
if (TitleTextColor != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(TitleTextColor);
|
||||
}
|
||||
if (TitleBackgroundColor != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(TitleBackgroundColor);
|
||||
}
|
||||
if (TitleTextSize != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(TitleTextSize);
|
||||
}
|
||||
if (MainTextColor != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(MainTextColor);
|
||||
}
|
||||
if (MainTextBackgroundColor != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(MainTextBackgroundColor);
|
||||
}
|
||||
if (MainTextSize != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(MainTextSize);
|
||||
}
|
||||
if (LeftEmoji.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(LeftEmoji);
|
||||
}
|
||||
if (RightEmoji.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(RightEmoji);
|
||||
}
|
||||
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 (Position != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Position);
|
||||
}
|
||||
if (TitleTextColor != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextColor);
|
||||
}
|
||||
if (TitleBackgroundColor != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleBackgroundColor);
|
||||
}
|
||||
if (TitleTextSize != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextSize);
|
||||
}
|
||||
if (MainTextColor != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextColor);
|
||||
}
|
||||
if (MainTextBackgroundColor != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextBackgroundColor);
|
||||
}
|
||||
if (MainTextSize != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextSize);
|
||||
}
|
||||
if (LeftEmoji.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(LeftEmoji);
|
||||
}
|
||||
if (RightEmoji.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RightEmoji);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BannerNotificationNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Position != 0) {
|
||||
Position = other.Position;
|
||||
}
|
||||
if (other.TitleTextColor != 0) {
|
||||
TitleTextColor = other.TitleTextColor;
|
||||
}
|
||||
if (other.TitleBackgroundColor != 0) {
|
||||
TitleBackgroundColor = other.TitleBackgroundColor;
|
||||
}
|
||||
if (other.TitleTextSize != 0) {
|
||||
TitleTextSize = other.TitleTextSize;
|
||||
}
|
||||
if (other.MainTextColor != 0) {
|
||||
MainTextColor = other.MainTextColor;
|
||||
}
|
||||
if (other.MainTextBackgroundColor != 0) {
|
||||
MainTextBackgroundColor = other.MainTextBackgroundColor;
|
||||
}
|
||||
if (other.MainTextSize != 0) {
|
||||
MainTextSize = other.MainTextSize;
|
||||
}
|
||||
if (other.LeftEmoji.Length != 0) {
|
||||
LeftEmoji = other.LeftEmoji;
|
||||
}
|
||||
if (other.RightEmoji.Length != 0) {
|
||||
RightEmoji = other.RightEmoji;
|
||||
}
|
||||
_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: {
|
||||
Position = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TitleTextColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TitleBackgroundColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TitleTextSize = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
MainTextColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
MainTextBackgroundColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
MainTextSize = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
LeftEmoji = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
RightEmoji = input.ReadString();
|
||||
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: {
|
||||
Position = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TitleTextColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TitleBackgroundColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TitleTextSize = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
MainTextColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
MainTextBackgroundColor = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
MainTextSize = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
LeftEmoji = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
RightEmoji = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
BaseHandleData.cs
Normal file
242
BaseHandleData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/base_handle_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/base_handle_data.proto</summary>
|
||||
public static partial class BaseHandleDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/base_handle_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BaseHandleDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CityZWNfcm9vbS9wZXJzaXN0ZW5jZS9iYXNlX2hhbmRsZV9kYXRhLnByb3Rv",
|
||||
"EghyZWNfcm9vbSIoCg5CYXNlSGFuZGxlRGF0YRIWCg5jb250cm9sX3Byb21w",
|
||||
"dBgBIAEoCUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BaseHandleData), global::RecRoom.Protobuf.BaseHandleData.Parser, new[]{ "ControlPrompt" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BaseHandleData : pb::IMessage<BaseHandleData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BaseHandleData> _parser = new pb::MessageParser<BaseHandleData>(() => new BaseHandleData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BaseHandleData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BaseHandleDataReflection.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 BaseHandleData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BaseHandleData(BaseHandleData other) : this() {
|
||||
controlPrompt_ = other.controlPrompt_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BaseHandleData Clone() {
|
||||
return new BaseHandleData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "control_prompt" field.</summary>
|
||||
public const int ControlPromptFieldNumber = 1;
|
||||
private string controlPrompt_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ControlPrompt {
|
||||
get { return controlPrompt_; }
|
||||
set {
|
||||
controlPrompt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BaseHandleData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BaseHandleData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ControlPrompt != other.ControlPrompt) 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 (ControlPrompt.Length != 0) hash ^= ControlPrompt.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 (ControlPrompt.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(ControlPrompt);
|
||||
}
|
||||
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 (ControlPrompt.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(ControlPrompt);
|
||||
}
|
||||
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 (ControlPrompt.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ControlPrompt);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BaseHandleData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ControlPrompt.Length != 0) {
|
||||
ControlPrompt = other.ControlPrompt;
|
||||
}
|
||||
_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: {
|
||||
ControlPrompt = input.ReadString();
|
||||
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: {
|
||||
ControlPrompt = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
764
BattleRoyaleGearData.cs
Normal file
764
BattleRoyaleGearData.cs
Normal file
@@ -0,0 +1,764 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/gameplay/battle_royale_gear_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/gameplay/battle_royale_gear_data.proto</summary>
|
||||
public static partial class BattleRoyaleGearDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/gameplay/battle_royale_gear_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BattleRoyaleGearDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9yZWNfcm9vbS9nYW1lcGxheS9iYXR0bGVfcm95YWxlX2dlYXJfZGF0YS5w",
|
||||
"cm90bxIIcmVjX3Jvb20aJ3JlY19yb29tL2dhbWVwbGF5L2FtbXVuaXRpb25f",
|
||||
"ZGF0YS5wcm90bxoqcmVjX3Jvb20vZ2FtZXBsYXkvcmFuZ2VkX3dlYXBvbl9k",
|
||||
"YXRhLnByb3RvGi1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9oZWFsdGhfcG90aW9u",
|
||||
"X2RhdGEucHJvdG8iRwoXQmF0dGxlUm95YWxlQXJzZW5hbERhdGESLAoEZ2Vh",
|
||||
"chgBIAMoCzIeLnJlY19yb29tLkJhdHRsZVJveWFsZUdlYXJEYXRhIrQCChRC",
|
||||
"YXR0bGVSb3lhbGVHZWFyRGF0YRIUCgxkaXNwbGF5X25hbWUYASABKAkSFAoM",
|
||||
"aXNfYXZhaWxhYmxlGAIgASgIEhEKCWdlYXJfdHlwZRgDIAEoBRIPCgdxdWFs",
|
||||
"aXR5GAQgASgFEhMKC2Ryb3Bfd2VpZ2h0GAUgASgFEhQKDGVxdWlwbWVudF9p",
|
||||
"ZBgGIAEoDBI2ChJyYW5nZWRfd2VhcG9uX2RhdGEYByABKAsyGi5yZWNfcm9v",
|
||||
"bS5SYW5nZWRXZWFwb25EYXRhEjYKEmhlYWx0aF9wb3Rpb25fZGF0YRgIIAEo",
|
||||
"CzIaLnJlY19yb29tLkhlYWx0aFBvdGlvbkRhdGESMQoPYW1tdW5pdGlvbl9k",
|
||||
"YXRhGAkgASgLMhgucmVjX3Jvb20uQW1tdW5pdGlvbkRhdGFCE6oCEFJlY1Jv",
|
||||
"b20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.AmmunitionDataReflection.Descriptor, global::RecRoom.Protobuf.RangedWeaponDataReflection.Descriptor, global::RecRoom.Protobuf.HealthPotionDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BattleRoyaleArsenalData), global::RecRoom.Protobuf.BattleRoyaleArsenalData.Parser, new[]{ "Gear" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BattleRoyaleGearData), global::RecRoom.Protobuf.BattleRoyaleGearData.Parser, new[]{ "DisplayName", "IsAvailable", "GearType", "Quality", "DropWeight", "EquipmentId", "RangedWeaponData", "HealthPotionData", "AmmunitionData" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BattleRoyaleArsenalData : pb::IMessage<BattleRoyaleArsenalData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BattleRoyaleArsenalData> _parser = new pb::MessageParser<BattleRoyaleArsenalData>(() => new BattleRoyaleArsenalData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BattleRoyaleArsenalData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BattleRoyaleGearDataReflection.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 BattleRoyaleArsenalData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BattleRoyaleArsenalData(BattleRoyaleArsenalData other) : this() {
|
||||
gear_ = other.gear_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BattleRoyaleArsenalData Clone() {
|
||||
return new BattleRoyaleArsenalData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "gear" field.</summary>
|
||||
public const int GearFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.BattleRoyaleGearData> _repeated_gear_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.BattleRoyaleGearData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.BattleRoyaleGearData> gear_ = new pbc::RepeatedField<global::RecRoom.Protobuf.BattleRoyaleGearData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.BattleRoyaleGearData> Gear {
|
||||
get { return gear_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BattleRoyaleArsenalData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BattleRoyaleArsenalData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!gear_.Equals(other.gear_)) 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;
|
||||
hash ^= gear_.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
|
||||
gear_.WriteTo(output, _repeated_gear_codec);
|
||||
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) {
|
||||
gear_.WriteTo(ref output, _repeated_gear_codec);
|
||||
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;
|
||||
size += gear_.CalculateSize(_repeated_gear_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BattleRoyaleArsenalData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
gear_.Add(other.gear_);
|
||||
_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: {
|
||||
gear_.AddEntriesFrom(input, _repeated_gear_codec);
|
||||
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: {
|
||||
gear_.AddEntriesFrom(ref input, _repeated_gear_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BattleRoyaleGearData : pb::IMessage<BattleRoyaleGearData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BattleRoyaleGearData> _parser = new pb::MessageParser<BattleRoyaleGearData>(() => new BattleRoyaleGearData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BattleRoyaleGearData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BattleRoyaleGearDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 BattleRoyaleGearData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BattleRoyaleGearData(BattleRoyaleGearData other) : this() {
|
||||
displayName_ = other.displayName_;
|
||||
isAvailable_ = other.isAvailable_;
|
||||
gearType_ = other.gearType_;
|
||||
quality_ = other.quality_;
|
||||
dropWeight_ = other.dropWeight_;
|
||||
equipmentId_ = other.equipmentId_;
|
||||
rangedWeaponData_ = other.rangedWeaponData_ != null ? other.rangedWeaponData_.Clone() : null;
|
||||
healthPotionData_ = other.healthPotionData_ != null ? other.healthPotionData_.Clone() : null;
|
||||
ammunitionData_ = other.ammunitionData_ != null ? other.ammunitionData_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BattleRoyaleGearData Clone() {
|
||||
return new BattleRoyaleGearData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "display_name" field.</summary>
|
||||
public const int DisplayNameFieldNumber = 1;
|
||||
private string displayName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string DisplayName {
|
||||
get { return displayName_; }
|
||||
set {
|
||||
displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_available" field.</summary>
|
||||
public const int IsAvailableFieldNumber = 2;
|
||||
private bool isAvailable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsAvailable {
|
||||
get { return isAvailable_; }
|
||||
set {
|
||||
isAvailable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "gear_type" field.</summary>
|
||||
public const int GearTypeFieldNumber = 3;
|
||||
private int gearType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int GearType {
|
||||
get { return gearType_; }
|
||||
set {
|
||||
gearType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "quality" field.</summary>
|
||||
public const int QualityFieldNumber = 4;
|
||||
private int quality_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Quality {
|
||||
get { return quality_; }
|
||||
set {
|
||||
quality_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "drop_weight" field.</summary>
|
||||
public const int DropWeightFieldNumber = 5;
|
||||
private int dropWeight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DropWeight {
|
||||
get { return dropWeight_; }
|
||||
set {
|
||||
dropWeight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "equipment_id" field.</summary>
|
||||
public const int EquipmentIdFieldNumber = 6;
|
||||
private pb::ByteString equipmentId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString EquipmentId {
|
||||
get { return equipmentId_; }
|
||||
set {
|
||||
equipmentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ranged_weapon_data" field.</summary>
|
||||
public const int RangedWeaponDataFieldNumber = 7;
|
||||
private global::RecRoom.Protobuf.RangedWeaponData rangedWeaponData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.RangedWeaponData RangedWeaponData {
|
||||
get { return rangedWeaponData_; }
|
||||
set {
|
||||
rangedWeaponData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "health_potion_data" field.</summary>
|
||||
public const int HealthPotionDataFieldNumber = 8;
|
||||
private global::RecRoom.Protobuf.HealthPotionData healthPotionData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.HealthPotionData HealthPotionData {
|
||||
get { return healthPotionData_; }
|
||||
set {
|
||||
healthPotionData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ammunition_data" field.</summary>
|
||||
public const int AmmunitionDataFieldNumber = 9;
|
||||
private global::RecRoom.Protobuf.AmmunitionData ammunitionData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.AmmunitionData AmmunitionData {
|
||||
get { return ammunitionData_; }
|
||||
set {
|
||||
ammunitionData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BattleRoyaleGearData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BattleRoyaleGearData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (DisplayName != other.DisplayName) return false;
|
||||
if (IsAvailable != other.IsAvailable) return false;
|
||||
if (GearType != other.GearType) return false;
|
||||
if (Quality != other.Quality) return false;
|
||||
if (DropWeight != other.DropWeight) return false;
|
||||
if (EquipmentId != other.EquipmentId) return false;
|
||||
if (!object.Equals(RangedWeaponData, other.RangedWeaponData)) return false;
|
||||
if (!object.Equals(HealthPotionData, other.HealthPotionData)) return false;
|
||||
if (!object.Equals(AmmunitionData, other.AmmunitionData)) 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 (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode();
|
||||
if (IsAvailable != false) hash ^= IsAvailable.GetHashCode();
|
||||
if (GearType != 0) hash ^= GearType.GetHashCode();
|
||||
if (Quality != 0) hash ^= Quality.GetHashCode();
|
||||
if (DropWeight != 0) hash ^= DropWeight.GetHashCode();
|
||||
if (EquipmentId.Length != 0) hash ^= EquipmentId.GetHashCode();
|
||||
if (rangedWeaponData_ != null) hash ^= RangedWeaponData.GetHashCode();
|
||||
if (healthPotionData_ != null) hash ^= HealthPotionData.GetHashCode();
|
||||
if (ammunitionData_ != null) hash ^= AmmunitionData.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 (DisplayName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(DisplayName);
|
||||
}
|
||||
if (IsAvailable != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(IsAvailable);
|
||||
}
|
||||
if (GearType != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(GearType);
|
||||
}
|
||||
if (Quality != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Quality);
|
||||
}
|
||||
if (DropWeight != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(DropWeight);
|
||||
}
|
||||
if (EquipmentId.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteBytes(EquipmentId);
|
||||
}
|
||||
if (rangedWeaponData_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(RangedWeaponData);
|
||||
}
|
||||
if (healthPotionData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(HealthPotionData);
|
||||
}
|
||||
if (ammunitionData_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(AmmunitionData);
|
||||
}
|
||||
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 (DisplayName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(DisplayName);
|
||||
}
|
||||
if (IsAvailable != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(IsAvailable);
|
||||
}
|
||||
if (GearType != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(GearType);
|
||||
}
|
||||
if (Quality != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Quality);
|
||||
}
|
||||
if (DropWeight != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(DropWeight);
|
||||
}
|
||||
if (EquipmentId.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteBytes(EquipmentId);
|
||||
}
|
||||
if (rangedWeaponData_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(RangedWeaponData);
|
||||
}
|
||||
if (healthPotionData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(HealthPotionData);
|
||||
}
|
||||
if (ammunitionData_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(AmmunitionData);
|
||||
}
|
||||
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 (DisplayName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName);
|
||||
}
|
||||
if (IsAvailable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (GearType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GearType);
|
||||
}
|
||||
if (Quality != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Quality);
|
||||
}
|
||||
if (DropWeight != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropWeight);
|
||||
}
|
||||
if (EquipmentId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EquipmentId);
|
||||
}
|
||||
if (rangedWeaponData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RangedWeaponData);
|
||||
}
|
||||
if (healthPotionData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HealthPotionData);
|
||||
}
|
||||
if (ammunitionData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AmmunitionData);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BattleRoyaleGearData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.DisplayName.Length != 0) {
|
||||
DisplayName = other.DisplayName;
|
||||
}
|
||||
if (other.IsAvailable != false) {
|
||||
IsAvailable = other.IsAvailable;
|
||||
}
|
||||
if (other.GearType != 0) {
|
||||
GearType = other.GearType;
|
||||
}
|
||||
if (other.Quality != 0) {
|
||||
Quality = other.Quality;
|
||||
}
|
||||
if (other.DropWeight != 0) {
|
||||
DropWeight = other.DropWeight;
|
||||
}
|
||||
if (other.EquipmentId.Length != 0) {
|
||||
EquipmentId = other.EquipmentId;
|
||||
}
|
||||
if (other.rangedWeaponData_ != null) {
|
||||
if (rangedWeaponData_ == null) {
|
||||
RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData();
|
||||
}
|
||||
RangedWeaponData.MergeFrom(other.RangedWeaponData);
|
||||
}
|
||||
if (other.healthPotionData_ != null) {
|
||||
if (healthPotionData_ == null) {
|
||||
HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData();
|
||||
}
|
||||
HealthPotionData.MergeFrom(other.HealthPotionData);
|
||||
}
|
||||
if (other.ammunitionData_ != null) {
|
||||
if (ammunitionData_ == null) {
|
||||
AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData();
|
||||
}
|
||||
AmmunitionData.MergeFrom(other.AmmunitionData);
|
||||
}
|
||||
_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: {
|
||||
DisplayName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
IsAvailable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
GearType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Quality = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DropWeight = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
EquipmentId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (rangedWeaponData_ == null) {
|
||||
RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData();
|
||||
}
|
||||
input.ReadMessage(RangedWeaponData);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (healthPotionData_ == null) {
|
||||
HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData();
|
||||
}
|
||||
input.ReadMessage(HealthPotionData);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (ammunitionData_ == null) {
|
||||
AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData();
|
||||
}
|
||||
input.ReadMessage(AmmunitionData);
|
||||
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: {
|
||||
DisplayName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
IsAvailable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
GearType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Quality = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DropWeight = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
EquipmentId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (rangedWeaponData_ == null) {
|
||||
RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData();
|
||||
}
|
||||
input.ReadMessage(RangedWeaponData);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (healthPotionData_ == null) {
|
||||
HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData();
|
||||
}
|
||||
input.ReadMessage(HealthPotionData);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (ammunitionData_ == null) {
|
||||
AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData();
|
||||
}
|
||||
input.ReadMessage(AmmunitionData);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
279
Beacon.cs
Normal file
279
Beacon.cs
Normal file
@@ -0,0 +1,279 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/beacon.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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/beacon.proto</summary>
|
||||
public static partial class BeaconReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/beacon.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BeaconReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiFyZWNfcm9vbS9wZXJzaXN0ZW5jZS9iZWFjb24ucHJvdG8SCHJlY19yb29t",
|
||||
"Ii0KCkJlYWNvbkRhdGESDwoHZW5hYmxlZBgBIAEoCBIOCgZoZWlnaHQYAiAB",
|
||||
"KAJCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BeaconData), global::RecRoom.Protobuf.BeaconData.Parser, new[]{ "Enabled", "Height" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BeaconData : pb::IMessage<BeaconData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BeaconData> _parser = new pb::MessageParser<BeaconData>(() => new BeaconData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BeaconData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BeaconReflection.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 BeaconData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BeaconData(BeaconData other) : this() {
|
||||
enabled_ = other.enabled_;
|
||||
height_ = other.height_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BeaconData Clone() {
|
||||
return new BeaconData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "enabled" field.</summary>
|
||||
public const int EnabledFieldNumber = 1;
|
||||
private bool enabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Enabled {
|
||||
get { return enabled_; }
|
||||
set {
|
||||
enabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "height" field.</summary>
|
||||
public const int HeightFieldNumber = 2;
|
||||
private float height_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Height {
|
||||
get { return height_; }
|
||||
set {
|
||||
height_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BeaconData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BeaconData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Enabled != other.Enabled) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) 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 (Enabled != false) hash ^= Enabled.GetHashCode();
|
||||
if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
|
||||
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 (Enabled != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(Enabled);
|
||||
}
|
||||
if (Height != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Height);
|
||||
}
|
||||
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 (Enabled != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(Enabled);
|
||||
}
|
||||
if (Height != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Height);
|
||||
}
|
||||
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 (Enabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Height != 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(BeaconData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Enabled != false) {
|
||||
Enabled = other.Enabled;
|
||||
}
|
||||
if (other.Height != 0F) {
|
||||
Height = other.Height;
|
||||
}
|
||||
_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: {
|
||||
Enabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Height = 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: {
|
||||
Enabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Height = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
BehaviorBoardInstData.cs
Normal file
280
BehaviorBoardInstData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/behaviors/behavior_board_inst_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/behaviors/behavior_board_inst_data.proto</summary>
|
||||
public static partial class BehaviorBoardInstDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/behaviors/behavior_board_inst_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BehaviorBoardInstDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjRjaXJjdWl0c192Mi9iZWhhdmlvcnMvYmVoYXZpb3JfYm9hcmRfaW5zdF9k",
|
||||
"YXRhLnByb3RvEgtjaXJjdWl0c192MiI/ChVCZWhhdmlvckJvYXJkSW5zdERh",
|
||||
"dGESEwoLYmVoYXZpb3JfaWQYASABKAUSEQoJZ2xvYmFsX2lkGAIgASgFQhaq",
|
||||
"AhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BehaviorBoardInstData), global::CircuitsV2.Protobuf.BehaviorBoardInstData.Parser, new[]{ "BehaviorId", "GlobalId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BehaviorBoardInstData : pb::IMessage<BehaviorBoardInstData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BehaviorBoardInstData> _parser = new pb::MessageParser<BehaviorBoardInstData>(() => new BehaviorBoardInstData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BehaviorBoardInstData> 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.BehaviorBoardInstDataReflection.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 BehaviorBoardInstData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorBoardInstData(BehaviorBoardInstData other) : this() {
|
||||
behaviorId_ = other.behaviorId_;
|
||||
globalId_ = other.globalId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorBoardInstData Clone() {
|
||||
return new BehaviorBoardInstData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_id" field.</summary>
|
||||
public const int BehaviorIdFieldNumber = 1;
|
||||
private int behaviorId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BehaviorId {
|
||||
get { return behaviorId_; }
|
||||
set {
|
||||
behaviorId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "global_id" field.</summary>
|
||||
public const int GlobalIdFieldNumber = 2;
|
||||
private int globalId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int GlobalId {
|
||||
get { return globalId_; }
|
||||
set {
|
||||
globalId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BehaviorBoardInstData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BehaviorBoardInstData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BehaviorId != other.BehaviorId) return false;
|
||||
if (GlobalId != other.GlobalId) 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 (BehaviorId != 0) hash ^= BehaviorId.GetHashCode();
|
||||
if (GlobalId != 0) hash ^= GlobalId.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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
if (GlobalId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(GlobalId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
if (GlobalId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(GlobalId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BehaviorId);
|
||||
}
|
||||
if (GlobalId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GlobalId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BehaviorBoardInstData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BehaviorId != 0) {
|
||||
BehaviorId = other.BehaviorId;
|
||||
}
|
||||
if (other.GlobalId != 0) {
|
||||
GlobalId = other.GlobalId;
|
||||
}
|
||||
_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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
GlobalId = input.ReadInt32();
|
||||
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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
GlobalId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
BehaviorDefNodeInstData.cs
Normal file
243
BehaviorDefNodeInstData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/behaviors/behavior_def_node_inst_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/behaviors/behavior_def_node_inst_data.proto</summary>
|
||||
public static partial class BehaviorDefNodeInstDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/behaviors/behavior_def_node_inst_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BehaviorDefNodeInstDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjdjaXJjdWl0c192Mi9iZWhhdmlvcnMvYmVoYXZpb3JfZGVmX25vZGVfaW5z",
|
||||
"dF9kYXRhLnByb3RvEgtjaXJjdWl0c192MiIuChdCZWhhdmlvckRlZk5vZGVJ",
|
||||
"bnN0RGF0YRITCgtiZWhhdmlvcl9pZBgBIAEoBUIWqgITQ2lyY3VpdHNWMi5Q",
|
||||
"cm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BehaviorDefNodeInstData), global::CircuitsV2.Protobuf.BehaviorDefNodeInstData.Parser, new[]{ "BehaviorId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BehaviorDefNodeInstData : pb::IMessage<BehaviorDefNodeInstData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BehaviorDefNodeInstData> _parser = new pb::MessageParser<BehaviorDefNodeInstData>(() => new BehaviorDefNodeInstData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BehaviorDefNodeInstData> 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.BehaviorDefNodeInstDataReflection.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 BehaviorDefNodeInstData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorDefNodeInstData(BehaviorDefNodeInstData other) : this() {
|
||||
behaviorId_ = other.behaviorId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorDefNodeInstData Clone() {
|
||||
return new BehaviorDefNodeInstData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_id" field.</summary>
|
||||
public const int BehaviorIdFieldNumber = 1;
|
||||
private int behaviorId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BehaviorId {
|
||||
get { return behaviorId_; }
|
||||
set {
|
||||
behaviorId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BehaviorDefNodeInstData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BehaviorDefNodeInstData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BehaviorId != other.BehaviorId) 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 (BehaviorId != 0) hash ^= BehaviorId.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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BehaviorId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BehaviorDefNodeInstData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BehaviorId != 0) {
|
||||
BehaviorId = other.BehaviorId;
|
||||
}
|
||||
_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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
BehaviorGraphInstData.cs
Normal file
280
BehaviorGraphInstData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/graph/behavior_graph_inst_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/graph/behavior_graph_inst_data.proto</summary>
|
||||
public static partial class BehaviorGraphInstDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/graph/behavior_graph_inst_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BehaviorGraphInstDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjBjaXJjdWl0c192Mi9ncmFwaC9iZWhhdmlvcl9ncmFwaF9pbnN0X2RhdGEu",
|
||||
"cHJvdG8SC2NpcmN1aXRzX3YyIkUKFUJlaGF2aW9yR3JhcGhJbnN0RGF0YRIT",
|
||||
"CgtiZWhhdmlvcl9pZBgBIAEoBRIXCg9pbl9vdXRfZ3JhcGhfaWQYAiABKAVC",
|
||||
"FqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BehaviorGraphInstData), global::CircuitsV2.Protobuf.BehaviorGraphInstData.Parser, new[]{ "BehaviorId", "InOutGraphId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BehaviorGraphInstData : pb::IMessage<BehaviorGraphInstData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BehaviorGraphInstData> _parser = new pb::MessageParser<BehaviorGraphInstData>(() => new BehaviorGraphInstData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BehaviorGraphInstData> 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.BehaviorGraphInstDataReflection.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 BehaviorGraphInstData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorGraphInstData(BehaviorGraphInstData other) : this() {
|
||||
behaviorId_ = other.behaviorId_;
|
||||
inOutGraphId_ = other.inOutGraphId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorGraphInstData Clone() {
|
||||
return new BehaviorGraphInstData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_id" field.</summary>
|
||||
public const int BehaviorIdFieldNumber = 1;
|
||||
private int behaviorId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BehaviorId {
|
||||
get { return behaviorId_; }
|
||||
set {
|
||||
behaviorId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "in_out_graph_id" field.</summary>
|
||||
public const int InOutGraphIdFieldNumber = 2;
|
||||
private int inOutGraphId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int InOutGraphId {
|
||||
get { return inOutGraphId_; }
|
||||
set {
|
||||
inOutGraphId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BehaviorGraphInstData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BehaviorGraphInstData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BehaviorId != other.BehaviorId) return false;
|
||||
if (InOutGraphId != other.InOutGraphId) 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 (BehaviorId != 0) hash ^= BehaviorId.GetHashCode();
|
||||
if (InOutGraphId != 0) hash ^= InOutGraphId.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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
if (InOutGraphId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(InOutGraphId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BehaviorId);
|
||||
}
|
||||
if (InOutGraphId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(InOutGraphId);
|
||||
}
|
||||
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 (BehaviorId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BehaviorId);
|
||||
}
|
||||
if (InOutGraphId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InOutGraphId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BehaviorGraphInstData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BehaviorId != 0) {
|
||||
BehaviorId = other.BehaviorId;
|
||||
}
|
||||
if (other.InOutGraphId != 0) {
|
||||
InOutGraphId = other.InOutGraphId;
|
||||
}
|
||||
_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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
InOutGraphId = input.ReadInt32();
|
||||
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: {
|
||||
BehaviorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
InOutGraphId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
336
BehaviorsStateData.cs
Normal file
336
BehaviorsStateData.cs
Normal file
@@ -0,0 +1,336 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/behaviors/behaviors_state_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/behaviors/behaviors_state_data.proto</summary>
|
||||
public static partial class BehaviorsStateDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/behaviors/behaviors_state_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BehaviorsStateDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjBjaXJjdWl0c192Mi9iZWhhdmlvcnMvYmVoYXZpb3JzX3N0YXRlX2RhdGEu",
|
||||
"cHJvdG8SC2NpcmN1aXRzX3YyGi5jaXJjdWl0cy9zaGFyZWQvdXRpbGl0aWVz",
|
||||
"L3NvYV9pZF8zMl9kYXRhLnByb3RvGiVjaXJjdWl0cy9zaGFyZWQvYXBpL2lk",
|
||||
"XzEyOF9kYXRhLnByb3RvIowBChJCZWhhdmlvcnNTdGF0ZURhdGESKwoMYmVo",
|
||||
"YXZpb3JfaWRzGAEgASgLMhUuY2lyY3VpdHMuU09BSWQzMkRhdGESDQoFbmFt",
|
||||
"ZXMYAiADKAkSJwoKdW5pcXVlX2lkcxgDIAMoCzITLmNpcmN1aXRzLklkMTI4",
|
||||
"RGF0YRIRCglncmFwaF9pZHMYBCADKAVCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
|
||||
"dWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BehaviorsStateData), global::CircuitsV2.Protobuf.BehaviorsStateData.Parser, new[]{ "BehaviorIds", "Names", "UniqueIds", "GraphIds" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BehaviorsStateData : pb::IMessage<BehaviorsStateData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BehaviorsStateData> _parser = new pb::MessageParser<BehaviorsStateData>(() => new BehaviorsStateData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BehaviorsStateData> 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.BehaviorsStateDataReflection.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 BehaviorsStateData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorsStateData(BehaviorsStateData other) : this() {
|
||||
behaviorIds_ = other.behaviorIds_ != null ? other.behaviorIds_.Clone() : null;
|
||||
names_ = other.names_.Clone();
|
||||
uniqueIds_ = other.uniqueIds_.Clone();
|
||||
graphIds_ = other.graphIds_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BehaviorsStateData Clone() {
|
||||
return new BehaviorsStateData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_ids" field.</summary>
|
||||
public const int BehaviorIdsFieldNumber = 1;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data behaviorIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data BehaviorIds {
|
||||
get { return behaviorIds_; }
|
||||
set {
|
||||
behaviorIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "names" field.</summary>
|
||||
public const int NamesFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<string> _repeated_names_codec
|
||||
= pb::FieldCodec.ForString(18);
|
||||
private readonly pbc::RepeatedField<string> names_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> Names {
|
||||
get { return names_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unique_ids" field.</summary>
|
||||
public const int UniqueIdsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_uniqueIds_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> uniqueIds_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> UniqueIds {
|
||||
get { return uniqueIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "graph_ids" field.</summary>
|
||||
public const int GraphIdsFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<int> _repeated_graphIds_codec
|
||||
= pb::FieldCodec.ForInt32(34);
|
||||
private readonly pbc::RepeatedField<int> graphIds_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> GraphIds {
|
||||
get { return graphIds_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BehaviorsStateData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BehaviorsStateData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(BehaviorIds, other.BehaviorIds)) return false;
|
||||
if(!names_.Equals(other.names_)) return false;
|
||||
if(!uniqueIds_.Equals(other.uniqueIds_)) return false;
|
||||
if(!graphIds_.Equals(other.graphIds_)) 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 (behaviorIds_ != null) hash ^= BehaviorIds.GetHashCode();
|
||||
hash ^= names_.GetHashCode();
|
||||
hash ^= uniqueIds_.GetHashCode();
|
||||
hash ^= graphIds_.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 (behaviorIds_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(BehaviorIds);
|
||||
}
|
||||
names_.WriteTo(output, _repeated_names_codec);
|
||||
uniqueIds_.WriteTo(output, _repeated_uniqueIds_codec);
|
||||
graphIds_.WriteTo(output, _repeated_graphIds_codec);
|
||||
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 (behaviorIds_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(BehaviorIds);
|
||||
}
|
||||
names_.WriteTo(ref output, _repeated_names_codec);
|
||||
uniqueIds_.WriteTo(ref output, _repeated_uniqueIds_codec);
|
||||
graphIds_.WriteTo(ref output, _repeated_graphIds_codec);
|
||||
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 (behaviorIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BehaviorIds);
|
||||
}
|
||||
size += names_.CalculateSize(_repeated_names_codec);
|
||||
size += uniqueIds_.CalculateSize(_repeated_uniqueIds_codec);
|
||||
size += graphIds_.CalculateSize(_repeated_graphIds_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BehaviorsStateData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.behaviorIds_ != null) {
|
||||
if (behaviorIds_ == null) {
|
||||
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
BehaviorIds.MergeFrom(other.BehaviorIds);
|
||||
}
|
||||
names_.Add(other.names_);
|
||||
uniqueIds_.Add(other.uniqueIds_);
|
||||
graphIds_.Add(other.graphIds_);
|
||||
_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 (behaviorIds_ == null) {
|
||||
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorIds);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
names_.AddEntriesFrom(input, _repeated_names_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
uniqueIds_.AddEntriesFrom(input, _repeated_uniqueIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34:
|
||||
case 32: {
|
||||
graphIds_.AddEntriesFrom(input, _repeated_graphIds_codec);
|
||||
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 (behaviorIds_ == null) {
|
||||
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorIds);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
names_.AddEntriesFrom(ref input, _repeated_names_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
uniqueIds_.AddEntriesFrom(ref input, _repeated_uniqueIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34:
|
||||
case 32: {
|
||||
graphIds_.AddEntriesFrom(ref input, _repeated_graphIds_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
BigDebugChipData.cs
Normal file
242
BigDebugChipData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/big_debug_chip_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/big_debug_chip_data.proto</summary>
|
||||
public static partial class BigDebugChipDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/big_debug_chip_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BigDebugChipDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiVjaXJjdWl0c192Mi9iaWdfZGVidWdfY2hpcF9kYXRhLnByb3RvEgtjaXJj",
|
||||
"dWl0c192MiIgChBCaWdEZWJ1Z0NoaXBEYXRhEgwKBGRhdGEYASABKAxCFqoC",
|
||||
"E0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BigDebugChipData), global::CircuitsV2.Protobuf.BigDebugChipData.Parser, new[]{ "Data" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BigDebugChipData : pb::IMessage<BigDebugChipData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BigDebugChipData> _parser = new pb::MessageParser<BigDebugChipData>(() => new BigDebugChipData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BigDebugChipData> 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.BigDebugChipDataReflection.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 BigDebugChipData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BigDebugChipData(BigDebugChipData other) : this() {
|
||||
data_ = other.data_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BigDebugChipData Clone() {
|
||||
return new BigDebugChipData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "data" field.</summary>
|
||||
public const int DataFieldNumber = 1;
|
||||
private pb::ByteString data_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString Data {
|
||||
get { return data_; }
|
||||
set {
|
||||
data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BigDebugChipData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BigDebugChipData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Data != other.Data) 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 (Data.Length != 0) hash ^= Data.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 (Data.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(Data);
|
||||
}
|
||||
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 (Data.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(Data);
|
||||
}
|
||||
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 (Data.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BigDebugChipData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Data.Length != 0) {
|
||||
Data = other.Data;
|
||||
}
|
||||
_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: {
|
||||
Data = input.ReadBytes();
|
||||
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: {
|
||||
Data = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
261
BoardBusData.cs
Normal file
261
BoardBusData.cs
Normal file
@@ -0,0 +1,261 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/board_bus_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/board_bus_data.proto</summary>
|
||||
public static partial class BoardBusDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/board_bus_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BoardBusDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiBjaXJjdWl0c192Mi9ib2FyZF9idXNfZGF0YS5wcm90bxILY2lyY3VpdHNf",
|
||||
"djIaPGNpcmN1aXRzX3YyL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9rZXllZF9u",
|
||||
"b2RlX2Rlc2NfZGF0YS5wcm90bxogY2lyY3VpdHNfdjIvbm9kZV9kZXNjX2Rh",
|
||||
"dGEucHJvdG8ihwEKDEJvYXJkQnVzRGF0YRItCgpub2RlX2Rlc2NzGAIgAygL",
|
||||
"MhkuY2lyY3VpdHNfdjIuTm9kZURlc2NEYXRhEkgKFURFUFJFQ0FURURfbm9k",
|
||||
"ZV9kZXNjcxgBIAMoCzIpLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfS2V5ZWRO",
|
||||
"b2RlRGVzY0RhdGFCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDKeyedNodeDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.NodeDescDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BoardBusData), global::CircuitsV2.Protobuf.BoardBusData.Parser, new[]{ "NodeDescs", "DEPRECATEDNodeDescs" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BoardBusData : pb::IMessage<BoardBusData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BoardBusData> _parser = new pb::MessageParser<BoardBusData>(() => new BoardBusData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BoardBusData> 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.BoardBusDataReflection.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 BoardBusData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BoardBusData(BoardBusData other) : this() {
|
||||
nodeDescs_ = other.nodeDescs_.Clone();
|
||||
dEPRECATEDNodeDescs_ = other.dEPRECATEDNodeDescs_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BoardBusData Clone() {
|
||||
return new BoardBusData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_descs" field.</summary>
|
||||
public const int NodeDescsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.NodeDescData> _repeated_nodeDescs_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::CircuitsV2.Protobuf.NodeDescData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData> nodeDescs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData> NodeDescs {
|
||||
get { return nodeDescs_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_node_descs" field.</summary>
|
||||
public const int DEPRECATEDNodeDescsFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> _repeated_dEPRECATEDNodeDescs_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> dEPRECATEDNodeDescs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> DEPRECATEDNodeDescs {
|
||||
get { return dEPRECATEDNodeDescs_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BoardBusData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BoardBusData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!nodeDescs_.Equals(other.nodeDescs_)) return false;
|
||||
if(!dEPRECATEDNodeDescs_.Equals(other.dEPRECATEDNodeDescs_)) 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;
|
||||
hash ^= nodeDescs_.GetHashCode();
|
||||
hash ^= dEPRECATEDNodeDescs_.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
|
||||
dEPRECATEDNodeDescs_.WriteTo(output, _repeated_dEPRECATEDNodeDescs_codec);
|
||||
nodeDescs_.WriteTo(output, _repeated_nodeDescs_codec);
|
||||
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) {
|
||||
dEPRECATEDNodeDescs_.WriteTo(ref output, _repeated_dEPRECATEDNodeDescs_codec);
|
||||
nodeDescs_.WriteTo(ref output, _repeated_nodeDescs_codec);
|
||||
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;
|
||||
size += nodeDescs_.CalculateSize(_repeated_nodeDescs_codec);
|
||||
size += dEPRECATEDNodeDescs_.CalculateSize(_repeated_dEPRECATEDNodeDescs_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BoardBusData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
nodeDescs_.Add(other.nodeDescs_);
|
||||
dEPRECATEDNodeDescs_.Add(other.dEPRECATEDNodeDescs_);
|
||||
_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: {
|
||||
dEPRECATEDNodeDescs_.AddEntriesFrom(input, _repeated_dEPRECATEDNodeDescs_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
nodeDescs_.AddEntriesFrom(input, _repeated_nodeDescs_codec);
|
||||
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: {
|
||||
dEPRECATEDNodeDescs_.AddEntriesFrom(ref input, _repeated_dEPRECATEDNodeDescs_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
nodeDescs_.AddEntriesFrom(ref input, _repeated_nodeDescs_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
468
BouncePadData.cs
Normal file
468
BouncePadData.cs
Normal file
@@ -0,0 +1,468 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/bounce_pad_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/bounce_pad_data.proto</summary>
|
||||
public static partial class BouncePadDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/bounce_pad_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BouncePadDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CipyZWNfcm9vbS9wZXJzaXN0ZW5jZS9ib3VuY2VfcGFkX2RhdGEucHJvdG8S",
|
||||
"CHJlY19yb29tIroBCg1Cb3VuY2VQYWREYXRhEgwKBG1vZGUYASABKAUSEwoL",
|
||||
"aXNfYWRkaXRpdmUYAiABKAgSGwoTdmVsb2NpdHlfbXVsdGlwbGllchgDIAEo",
|
||||
"AhIZChF2ZWxvY2l0eV9hZGRpdGl2ZRgEIAEoAhIUCgxtYXhfdmVsb2NpdHkY",
|
||||
"BSABKAISGAoQaW1wdWxzZV92ZWxvY2l0eRgGIAEoAhIeChZhaXJfY29udHJv",
|
||||
"bF9wZXJjZW50YWdlGAcgASgFQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90",
|
||||
"bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BouncePadData), global::RecRoom.Protobuf.BouncePadData.Parser, new[]{ "Mode", "IsAdditive", "VelocityMultiplier", "VelocityAdditive", "MaxVelocity", "ImpulseVelocity", "AirControlPercentage" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BouncePadData : pb::IMessage<BouncePadData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BouncePadData> _parser = new pb::MessageParser<BouncePadData>(() => new BouncePadData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BouncePadData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BouncePadDataReflection.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 BouncePadData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BouncePadData(BouncePadData other) : this() {
|
||||
mode_ = other.mode_;
|
||||
isAdditive_ = other.isAdditive_;
|
||||
velocityMultiplier_ = other.velocityMultiplier_;
|
||||
velocityAdditive_ = other.velocityAdditive_;
|
||||
maxVelocity_ = other.maxVelocity_;
|
||||
impulseVelocity_ = other.impulseVelocity_;
|
||||
airControlPercentage_ = other.airControlPercentage_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BouncePadData Clone() {
|
||||
return new BouncePadData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "mode" field.</summary>
|
||||
public const int ModeFieldNumber = 1;
|
||||
private int mode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Mode {
|
||||
get { return mode_; }
|
||||
set {
|
||||
mode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_additive" field.</summary>
|
||||
public const int IsAdditiveFieldNumber = 2;
|
||||
private bool isAdditive_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsAdditive {
|
||||
get { return isAdditive_; }
|
||||
set {
|
||||
isAdditive_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "velocity_multiplier" field.</summary>
|
||||
public const int VelocityMultiplierFieldNumber = 3;
|
||||
private float velocityMultiplier_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float VelocityMultiplier {
|
||||
get { return velocityMultiplier_; }
|
||||
set {
|
||||
velocityMultiplier_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "velocity_additive" field.</summary>
|
||||
public const int VelocityAdditiveFieldNumber = 4;
|
||||
private float velocityAdditive_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float VelocityAdditive {
|
||||
get { return velocityAdditive_; }
|
||||
set {
|
||||
velocityAdditive_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_velocity" field.</summary>
|
||||
public const int MaxVelocityFieldNumber = 5;
|
||||
private float maxVelocity_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxVelocity {
|
||||
get { return maxVelocity_; }
|
||||
set {
|
||||
maxVelocity_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "impulse_velocity" field.</summary>
|
||||
public const int ImpulseVelocityFieldNumber = 6;
|
||||
private float impulseVelocity_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ImpulseVelocity {
|
||||
get { return impulseVelocity_; }
|
||||
set {
|
||||
impulseVelocity_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "air_control_percentage" field.</summary>
|
||||
public const int AirControlPercentageFieldNumber = 7;
|
||||
private int airControlPercentage_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AirControlPercentage {
|
||||
get { return airControlPercentage_; }
|
||||
set {
|
||||
airControlPercentage_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BouncePadData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BouncePadData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Mode != other.Mode) return false;
|
||||
if (IsAdditive != other.IsAdditive) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VelocityMultiplier, other.VelocityMultiplier)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VelocityAdditive, other.VelocityAdditive)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxVelocity, other.MaxVelocity)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ImpulseVelocity, other.ImpulseVelocity)) return false;
|
||||
if (AirControlPercentage != other.AirControlPercentage) 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 (Mode != 0) hash ^= Mode.GetHashCode();
|
||||
if (IsAdditive != false) hash ^= IsAdditive.GetHashCode();
|
||||
if (VelocityMultiplier != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VelocityMultiplier);
|
||||
if (VelocityAdditive != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VelocityAdditive);
|
||||
if (MaxVelocity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxVelocity);
|
||||
if (ImpulseVelocity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ImpulseVelocity);
|
||||
if (AirControlPercentage != 0) hash ^= AirControlPercentage.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 (Mode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Mode);
|
||||
}
|
||||
if (IsAdditive != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(IsAdditive);
|
||||
}
|
||||
if (VelocityMultiplier != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(VelocityMultiplier);
|
||||
}
|
||||
if (VelocityAdditive != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(VelocityAdditive);
|
||||
}
|
||||
if (MaxVelocity != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(MaxVelocity);
|
||||
}
|
||||
if (ImpulseVelocity != 0F) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(ImpulseVelocity);
|
||||
}
|
||||
if (AirControlPercentage != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(AirControlPercentage);
|
||||
}
|
||||
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 (Mode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Mode);
|
||||
}
|
||||
if (IsAdditive != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(IsAdditive);
|
||||
}
|
||||
if (VelocityMultiplier != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(VelocityMultiplier);
|
||||
}
|
||||
if (VelocityAdditive != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(VelocityAdditive);
|
||||
}
|
||||
if (MaxVelocity != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(MaxVelocity);
|
||||
}
|
||||
if (ImpulseVelocity != 0F) {
|
||||
output.WriteRawTag(53);
|
||||
output.WriteFloat(ImpulseVelocity);
|
||||
}
|
||||
if (AirControlPercentage != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(AirControlPercentage);
|
||||
}
|
||||
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 (Mode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mode);
|
||||
}
|
||||
if (IsAdditive != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (VelocityMultiplier != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (VelocityAdditive != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (MaxVelocity != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (ImpulseVelocity != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (AirControlPercentage != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AirControlPercentage);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BouncePadData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Mode != 0) {
|
||||
Mode = other.Mode;
|
||||
}
|
||||
if (other.IsAdditive != false) {
|
||||
IsAdditive = other.IsAdditive;
|
||||
}
|
||||
if (other.VelocityMultiplier != 0F) {
|
||||
VelocityMultiplier = other.VelocityMultiplier;
|
||||
}
|
||||
if (other.VelocityAdditive != 0F) {
|
||||
VelocityAdditive = other.VelocityAdditive;
|
||||
}
|
||||
if (other.MaxVelocity != 0F) {
|
||||
MaxVelocity = other.MaxVelocity;
|
||||
}
|
||||
if (other.ImpulseVelocity != 0F) {
|
||||
ImpulseVelocity = other.ImpulseVelocity;
|
||||
}
|
||||
if (other.AirControlPercentage != 0) {
|
||||
AirControlPercentage = other.AirControlPercentage;
|
||||
}
|
||||
_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: {
|
||||
Mode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
IsAdditive = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
VelocityMultiplier = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
VelocityAdditive = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
MaxVelocity = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
ImpulseVelocity = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
AirControlPercentage = input.ReadInt32();
|
||||
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: {
|
||||
Mode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
IsAdditive = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
VelocityMultiplier = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
VelocityAdditive = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
MaxVelocity = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 53: {
|
||||
ImpulseVelocity = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
AirControlPercentage = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
BreakableObjectData.cs
Normal file
242
BreakableObjectData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/breakable_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/breakable_object_data.proto</summary>
|
||||
public static partial class BreakableObjectDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/breakable_object_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BreakableObjectDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjByZWNfcm9vbS9wZXJzaXN0ZW5jZS9icmVha2FibGVfb2JqZWN0X2RhdGEu",
|
||||
"cHJvdG8SCHJlY19yb29tIisKE0JyZWFrYWJsZU9iamVjdERhdGESFAoMaXNf",
|
||||
"YnJlYWthYmxlGAEgASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BreakableObjectData), global::RecRoom.Protobuf.BreakableObjectData.Parser, new[]{ "IsBreakable" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class BreakableObjectData : pb::IMessage<BreakableObjectData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BreakableObjectData> _parser = new pb::MessageParser<BreakableObjectData>(() => new BreakableObjectData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BreakableObjectData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.BreakableObjectDataReflection.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 BreakableObjectData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BreakableObjectData(BreakableObjectData other) : this() {
|
||||
isBreakable_ = other.isBreakable_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BreakableObjectData Clone() {
|
||||
return new BreakableObjectData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_breakable" field.</summary>
|
||||
public const int IsBreakableFieldNumber = 1;
|
||||
private bool isBreakable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsBreakable {
|
||||
get { return isBreakable_; }
|
||||
set {
|
||||
isBreakable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as BreakableObjectData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BreakableObjectData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (IsBreakable != other.IsBreakable) 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 (IsBreakable != false) hash ^= IsBreakable.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 (IsBreakable != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(IsBreakable);
|
||||
}
|
||||
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 (IsBreakable != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(IsBreakable);
|
||||
}
|
||||
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 (IsBreakable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BreakableObjectData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.IsBreakable != false) {
|
||||
IsBreakable = other.IsBreakable;
|
||||
}
|
||||
_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: {
|
||||
IsBreakable = input.ReadBool();
|
||||
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: {
|
||||
IsBreakable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
1077
ButtonData.cs
Normal file
1077
ButtonData.cs
Normal file
File diff suppressed because it is too large
Load Diff
281
CharadesCoopClassicGameRuleData.cs
Normal file
281
CharadesCoopClassicGameRuleData.cs
Normal file
@@ -0,0 +1,281 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/game_configuration/charades_coop_classic_game_rule_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/game_configuration/charades_coop_classic_game_rule_data.proto</summary>
|
||||
public static partial class CharadesCoopClassicGameRuleDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/game_configuration/charades_coop_classic_game_rule_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CharadesCoopClassicGameRuleDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkZyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vY2hhcmFkZXNfY29vcF9j",
|
||||
"bGFzc2ljX2dhbWVfcnVsZV9kYXRhLnByb3RvEghyZWNfcm9vbSJYCh9DaGFy",
|
||||
"YWRlc0NvT3BDbGFzc2ljR2FtZVJ1bGVEYXRhEhkKEW1heF9nYW1lX2R1cmF0",
|
||||
"aW9uGAEgASgCEhoKEm1heF9yb3VuZF9kdXJhdGlvbhgCIAEoAkITqgIQUmVj",
|
||||
"Um9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData), global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData.Parser, new[]{ "MaxGameDuration", "MaxRoundDuration" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CharadesCoOpClassicGameRuleData : pb::IMessage<CharadesCoOpClassicGameRuleData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CharadesCoOpClassicGameRuleData> _parser = new pb::MessageParser<CharadesCoOpClassicGameRuleData>(() => new CharadesCoOpClassicGameRuleData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CharadesCoOpClassicGameRuleData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CharadesCoopClassicGameRuleDataReflection.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 CharadesCoOpClassicGameRuleData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharadesCoOpClassicGameRuleData(CharadesCoOpClassicGameRuleData other) : this() {
|
||||
maxGameDuration_ = other.maxGameDuration_;
|
||||
maxRoundDuration_ = other.maxRoundDuration_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharadesCoOpClassicGameRuleData Clone() {
|
||||
return new CharadesCoOpClassicGameRuleData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_game_duration" field.</summary>
|
||||
public const int MaxGameDurationFieldNumber = 1;
|
||||
private float maxGameDuration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxGameDuration {
|
||||
get { return maxGameDuration_; }
|
||||
set {
|
||||
maxGameDuration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_round_duration" field.</summary>
|
||||
public const int MaxRoundDurationFieldNumber = 2;
|
||||
private float maxRoundDuration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxRoundDuration {
|
||||
get { return maxRoundDuration_; }
|
||||
set {
|
||||
maxRoundDuration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CharadesCoOpClassicGameRuleData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CharadesCoOpClassicGameRuleData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxGameDuration, other.MaxGameDuration)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxRoundDuration, other.MaxRoundDuration)) 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 (MaxGameDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxGameDuration);
|
||||
if (MaxRoundDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxRoundDuration);
|
||||
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 (MaxGameDuration != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(MaxGameDuration);
|
||||
}
|
||||
if (MaxRoundDuration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(MaxRoundDuration);
|
||||
}
|
||||
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 (MaxGameDuration != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(MaxGameDuration);
|
||||
}
|
||||
if (MaxRoundDuration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(MaxRoundDuration);
|
||||
}
|
||||
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 (MaxGameDuration != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (MaxRoundDuration != 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(CharadesCoOpClassicGameRuleData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.MaxGameDuration != 0F) {
|
||||
MaxGameDuration = other.MaxGameDuration;
|
||||
}
|
||||
if (other.MaxRoundDuration != 0F) {
|
||||
MaxRoundDuration = other.MaxRoundDuration;
|
||||
}
|
||||
_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 13: {
|
||||
MaxGameDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
MaxRoundDuration = 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 13: {
|
||||
MaxGameDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
MaxRoundDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
319
CharadesTeamLightningGameRuleData.cs
Normal file
319
CharadesTeamLightningGameRuleData.cs
Normal file
@@ -0,0 +1,319 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/game_configuration/charades_team_lightning_game_rule_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/game_configuration/charades_team_lightning_game_rule_data.proto</summary>
|
||||
public static partial class CharadesTeamLightningGameRuleDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/game_configuration/charades_team_lightning_game_rule_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CharadesTeamLightningGameRuleDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkhyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vY2hhcmFkZXNfdGVhbV9s",
|
||||
"aWdodG5pbmdfZ2FtZV9ydWxlX2RhdGEucHJvdG8SCHJlY19yb29tInUKIUNo",
|
||||
"YXJhZGVzVGVhbUxpZ2h0bmluZ0dhbWVSdWxlRGF0YRIXCg9tYXhfcm91bmRf",
|
||||
"Y291bnQYASABKAUSGgoScGVyZm9ybWVyX2R1cmF0aW9uGAIgASgCEhsKE3Rl",
|
||||
"YW1fcm91bmRfZHVyYXRpb24YAyABKAJCE6oCEFJlY1Jvb20uUHJvdG9idWZi",
|
||||
"BnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData), global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData.Parser, new[]{ "MaxRoundCount", "PerformerDuration", "TeamRoundDuration" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CharadesTeamLightningGameRuleData : pb::IMessage<CharadesTeamLightningGameRuleData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CharadesTeamLightningGameRuleData> _parser = new pb::MessageParser<CharadesTeamLightningGameRuleData>(() => new CharadesTeamLightningGameRuleData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CharadesTeamLightningGameRuleData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CharadesTeamLightningGameRuleDataReflection.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 CharadesTeamLightningGameRuleData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharadesTeamLightningGameRuleData(CharadesTeamLightningGameRuleData other) : this() {
|
||||
maxRoundCount_ = other.maxRoundCount_;
|
||||
performerDuration_ = other.performerDuration_;
|
||||
teamRoundDuration_ = other.teamRoundDuration_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharadesTeamLightningGameRuleData Clone() {
|
||||
return new CharadesTeamLightningGameRuleData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "max_round_count" field.</summary>
|
||||
public const int MaxRoundCountFieldNumber = 1;
|
||||
private int maxRoundCount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MaxRoundCount {
|
||||
get { return maxRoundCount_; }
|
||||
set {
|
||||
maxRoundCount_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "performer_duration" field.</summary>
|
||||
public const int PerformerDurationFieldNumber = 2;
|
||||
private float performerDuration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float PerformerDuration {
|
||||
get { return performerDuration_; }
|
||||
set {
|
||||
performerDuration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_round_duration" field.</summary>
|
||||
public const int TeamRoundDurationFieldNumber = 3;
|
||||
private float teamRoundDuration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float TeamRoundDuration {
|
||||
get { return teamRoundDuration_; }
|
||||
set {
|
||||
teamRoundDuration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CharadesTeamLightningGameRuleData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CharadesTeamLightningGameRuleData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (MaxRoundCount != other.MaxRoundCount) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PerformerDuration, other.PerformerDuration)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TeamRoundDuration, other.TeamRoundDuration)) 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 (MaxRoundCount != 0) hash ^= MaxRoundCount.GetHashCode();
|
||||
if (PerformerDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PerformerDuration);
|
||||
if (TeamRoundDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TeamRoundDuration);
|
||||
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 (MaxRoundCount != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(MaxRoundCount);
|
||||
}
|
||||
if (PerformerDuration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(PerformerDuration);
|
||||
}
|
||||
if (TeamRoundDuration != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(TeamRoundDuration);
|
||||
}
|
||||
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 (MaxRoundCount != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(MaxRoundCount);
|
||||
}
|
||||
if (PerformerDuration != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(PerformerDuration);
|
||||
}
|
||||
if (TeamRoundDuration != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(TeamRoundDuration);
|
||||
}
|
||||
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 (MaxRoundCount != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxRoundCount);
|
||||
}
|
||||
if (PerformerDuration != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (TeamRoundDuration != 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(CharadesTeamLightningGameRuleData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.MaxRoundCount != 0) {
|
||||
MaxRoundCount = other.MaxRoundCount;
|
||||
}
|
||||
if (other.PerformerDuration != 0F) {
|
||||
PerformerDuration = other.PerformerDuration;
|
||||
}
|
||||
if (other.TeamRoundDuration != 0F) {
|
||||
TeamRoundDuration = other.TeamRoundDuration;
|
||||
}
|
||||
_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: {
|
||||
MaxRoundCount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
PerformerDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
TeamRoundDuration = 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: {
|
||||
MaxRoundCount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
PerformerDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
TeamRoundDuration = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
ChatAiModelNodeData.cs
Normal file
242
ChatAiModelNodeData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/chat_ai_model_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/chat_ai_model_node_data.proto</summary>
|
||||
public static partial class ChatAiModelNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/chat_ai_model_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ChatAiModelNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiljaXJjdWl0c192Mi9jaGF0X2FpX21vZGVsX25vZGVfZGF0YS5wcm90bxIL",
|
||||
"Y2lyY3VpdHNfdjIiJAoTQ2hhdEFpTW9kZWxOb2RlRGF0YRINCgVtb2RlbBgB",
|
||||
"IAEoCUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ChatAiModelNodeData), global::CircuitsV2.Protobuf.ChatAiModelNodeData.Parser, new[]{ "Model" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ChatAiModelNodeData : pb::IMessage<ChatAiModelNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ChatAiModelNodeData> _parser = new pb::MessageParser<ChatAiModelNodeData>(() => new ChatAiModelNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ChatAiModelNodeData> 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.ChatAiModelNodeDataReflection.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 ChatAiModelNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ChatAiModelNodeData(ChatAiModelNodeData other) : this() {
|
||||
model_ = other.model_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ChatAiModelNodeData Clone() {
|
||||
return new ChatAiModelNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "model" field.</summary>
|
||||
public const int ModelFieldNumber = 1;
|
||||
private string model_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Model {
|
||||
get { return model_; }
|
||||
set {
|
||||
model_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ChatAiModelNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ChatAiModelNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Model != other.Model) 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 (Model.Length != 0) hash ^= Model.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 (Model.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Model);
|
||||
}
|
||||
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 (Model.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Model);
|
||||
}
|
||||
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 (Model.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Model);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ChatAiModelNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Model.Length != 0) {
|
||||
Model = other.Model;
|
||||
}
|
||||
_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: {
|
||||
Model = input.ReadString();
|
||||
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: {
|
||||
Model = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
CheckpointData.cs
Normal file
242
CheckpointData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/checkpoint_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/checkpoint_data.proto</summary>
|
||||
public static partial class CheckpointDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/checkpoint_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CheckpointDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CipyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jaGVja3BvaW50X2RhdGEucHJvdG8S",
|
||||
"CHJlY19yb29tIikKDkNoZWNrcG9pbnREYXRhEhcKD3NwYXduX3BvaW50X3Rh",
|
||||
"ZxgBIAEoCUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CheckpointData), global::RecRoom.Protobuf.CheckpointData.Parser, new[]{ "SpawnPointTag" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CheckpointData : pb::IMessage<CheckpointData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CheckpointData> _parser = new pb::MessageParser<CheckpointData>(() => new CheckpointData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CheckpointData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CheckpointDataReflection.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 CheckpointData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CheckpointData(CheckpointData other) : this() {
|
||||
spawnPointTag_ = other.spawnPointTag_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CheckpointData Clone() {
|
||||
return new CheckpointData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "spawn_point_tag" field.</summary>
|
||||
public const int SpawnPointTagFieldNumber = 1;
|
||||
private string spawnPointTag_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string SpawnPointTag {
|
||||
get { return spawnPointTag_; }
|
||||
set {
|
||||
spawnPointTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CheckpointData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CheckpointData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SpawnPointTag != other.SpawnPointTag) 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 (SpawnPointTag.Length != 0) hash ^= SpawnPointTag.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 (SpawnPointTag.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(SpawnPointTag);
|
||||
}
|
||||
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 (SpawnPointTag.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(SpawnPointTag);
|
||||
}
|
||||
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 (SpawnPointTag.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(SpawnPointTag);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CheckpointData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SpawnPointTag.Length != 0) {
|
||||
SpawnPointTag = other.SpawnPointTag;
|
||||
}
|
||||
_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: {
|
||||
SpawnPointTag = input.ReadString();
|
||||
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: {
|
||||
SpawnPointTag = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
1062
CircuitGlobalEntitiesData.cs
Normal file
1062
CircuitGlobalEntitiesData.cs
Normal file
File diff suppressed because it is too large
Load Diff
967
CircuitGraphData.cs
Normal file
967
CircuitGraphData.cs
Normal file
@@ -0,0 +1,967 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_graph_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_graph_data.proto</summary>
|
||||
public static partial class CircuitGraphDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_graph_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitGraphDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiRjaXJjdWl0c192Mi9jaXJjdWl0X2dyYXBoX2RhdGEucHJvdG8SC2NpcmN1",
|
||||
"aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90bxoqY2lyY3VpdHMvc3RhdGlj",
|
||||
"L2FwaS9zdGF0aWNfZWRnZV9kYXRhLnByb3RvGkVjaXJjdWl0c192Mi9kZXBy",
|
||||
"ZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9zZXJpYWxpemF0aW9uX3ZlcnNp",
|
||||
"b24ucHJvdG8aNmNpcmN1aXRzX3YyL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9l",
|
||||
"dmVudF9idXNfZGF0YS5wcm90bxo6Y2lyY3VpdHNfdjIvZGVwcmVjYXRlZC9E",
|
||||
"RVBSRUNBVEVEX2NpcmN1aXRfZ3JhcGhfa2luZC5wcm90bxojY2lyY3VpdHNf",
|
||||
"djIvY2lyY3VpdF9ub2RlX2RhdGEucHJvdG8aI2NpcmN1aXRzX3YyL3BsYXll",
|
||||
"cl9ncmFwaF9kYXRhLnByb3RvGh1jaXJjdWl0c192Mi9tZW1vcnlfZGF0YS5w",
|
||||
"cm90byLBBwoQQ2lyY3VpdEdyYXBoRGF0YRIgCghncmFwaF9pZBgGIAEoCzIO",
|
||||
"LmNvcmUuR3VpZERhdGESJwoFZWRnZXMYBSADKAsyGC5jaXJjdWl0cy5TdGF0",
|
||||
"aWNFZGdlRGF0YRIwCgpub2RlX2RhdGFzGAsgAygLMhwuY2lyY3VpdHNfdjIu",
|
||||
"Q2lyY3VpdE5vZGVEYXRhEjMKDGNoaWxkX2dyYXBocxgOIAMoCzIdLmNpcmN1",
|
||||
"aXRzX3YyLkNpcmN1aXRHcmFwaERhdGESHgoWZGV0ZXJtaXN0aWNfZ3VpZF9p",
|
||||
"bmRleBgPIAEoBBIwCg92YXJpYWJsZV9tZW1vcnkYEiABKAsyFy5jaXJjdWl0",
|
||||
"c192Mi5NZW1vcnlEYXRhEjYKHmFjdGl2ZV9wbGF5ZXJfZGVmaW5pdGlvbl9i",
|
||||
"b2FyZBgUIAEoCzIOLmNvcmUuR3VpZERhdGESOgoiYWN0aXZlX3BsYXllcl93",
|
||||
"b3JsZF91aV9jb25maWdfbm9kZRgVIAEoCzIOLmNvcmUuR3VpZERhdGESHAoU",
|
||||
"b2JqZWN0X2RlZmluaXRpb25faWQYFiABKAUSNwoRcGxheWVyX2dyYXBoX2Rh",
|
||||
"dGEYFyABKAsyHC5jaXJjdWl0c192Mi5QbGF5ZXJHcmFwaERhdGESHQoVaXNf",
|
||||
"cmVwbGljYXRvcl9jcmVhdGVkGBggASgIEhsKE0RFUFJFQ0FURURfZ3JhcGhf",
|
||||
"aWQYASABKAwSJAocREVQUkVDQVRFRF9ncmFwaF90ZW1wbGF0ZV9pZBgCIAEo",
|
||||
"DBJdCiBERVBSRUNBVEVEX3NlcmlhbGl6YXRpb25fdmVyc2lvbhgDIAEoDjIz",
|
||||
"LmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3VpdFNlcmlhbGl6YXRpb25W",
|
||||
"ZXJzaW9uEiEKGURFUFJFQ0FURURfcGFyZW50X25vZGVfaWQYBCABKAwSRwoZ",
|
||||
"REVQUkVDQVRFRF9ldmVudF9idXNfZGF0YRgKIAEoCzIkLmNpcmN1aXRzX3Yy",
|
||||
"LkRFUFJFQ0FURURfRXZlbnRCdXNEYXRhEkEKD0RFUFJFQ0FURURfa2luZBgQ",
|
||||
"IAEoDjIoLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3VpdEdyYXBoS2lu",
|
||||
"ZBIxCilERVBSRUNBVEVEX2FjdGl2ZV9wbGF5ZXJfZGVmaW5pdGlvbl9ib2Fy",
|
||||
"ZBgRIAEoDBI7ChpERVBSRUNBVEVEX3ZhcmlhYmxlX21lbW9yeRgTIAEoCzIX",
|
||||
"LmNpcmN1aXRzX3YyLk1lbW9yeURhdGFCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
|
||||
"dWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::Circuits.Static.Api.Protobuf.StaticEdgeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitSerializationVersionReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDEventBusDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitGraphKindReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitNodeDataReflection.Descriptor, global::CircuitsV2.Protobuf.PlayerGraphDataReflection.Descriptor, global::CircuitsV2.Protobuf.MemoryDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphData), global::CircuitsV2.Protobuf.CircuitGraphData.Parser, new[]{ "GraphId", "Edges", "NodeDatas", "ChildGraphs", "DetermisticGuidIndex", "VariableMemory", "ActivePlayerDefinitionBoard", "ActivePlayerWorldUiConfigNode", "ObjectDefinitionId", "PlayerGraphData", "IsReplicatorCreated", "DEPRECATEDGraphId", "DEPRECATEDGraphTemplateId", "DEPRECATEDSerializationVersion", "DEPRECATEDParentNodeId", "DEPRECATEDEventBusData", "DEPRECATEDKind", "DEPRECATEDActivePlayerDefinitionBoard", "DEPRECATEDVariableMemory" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitGraphData : pb::IMessage<CircuitGraphData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitGraphData> _parser = new pb::MessageParser<CircuitGraphData>(() => new CircuitGraphData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitGraphData> 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.CircuitGraphDataReflection.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 CircuitGraphData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphData(CircuitGraphData other) : this() {
|
||||
graphId_ = other.graphId_ != null ? other.graphId_.Clone() : null;
|
||||
edges_ = other.edges_.Clone();
|
||||
nodeDatas_ = other.nodeDatas_.Clone();
|
||||
childGraphs_ = other.childGraphs_.Clone();
|
||||
determisticGuidIndex_ = other.determisticGuidIndex_;
|
||||
variableMemory_ = other.variableMemory_ != null ? other.variableMemory_.Clone() : null;
|
||||
activePlayerDefinitionBoard_ = other.activePlayerDefinitionBoard_ != null ? other.activePlayerDefinitionBoard_.Clone() : null;
|
||||
activePlayerWorldUiConfigNode_ = other.activePlayerWorldUiConfigNode_ != null ? other.activePlayerWorldUiConfigNode_.Clone() : null;
|
||||
objectDefinitionId_ = other.objectDefinitionId_;
|
||||
playerGraphData_ = other.playerGraphData_ != null ? other.playerGraphData_.Clone() : null;
|
||||
isReplicatorCreated_ = other.isReplicatorCreated_;
|
||||
dEPRECATEDGraphId_ = other.dEPRECATEDGraphId_;
|
||||
dEPRECATEDGraphTemplateId_ = other.dEPRECATEDGraphTemplateId_;
|
||||
dEPRECATEDSerializationVersion_ = other.dEPRECATEDSerializationVersion_;
|
||||
dEPRECATEDParentNodeId_ = other.dEPRECATEDParentNodeId_;
|
||||
dEPRECATEDEventBusData_ = other.dEPRECATEDEventBusData_ != null ? other.dEPRECATEDEventBusData_.Clone() : null;
|
||||
dEPRECATEDKind_ = other.dEPRECATEDKind_;
|
||||
dEPRECATEDActivePlayerDefinitionBoard_ = other.dEPRECATEDActivePlayerDefinitionBoard_;
|
||||
dEPRECATEDVariableMemory_ = other.dEPRECATEDVariableMemory_ != null ? other.dEPRECATEDVariableMemory_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphData Clone() {
|
||||
return new CircuitGraphData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "graph_id" field.</summary>
|
||||
public const int GraphIdFieldNumber = 6;
|
||||
private global::RecRoom.Protobuf.Core.GuidData graphId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData GraphId {
|
||||
get { return graphId_; }
|
||||
set {
|
||||
graphId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "edges" field.</summary>
|
||||
public const int EdgesFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.Api.Protobuf.StaticEdgeData> _repeated_edges_codec
|
||||
= pb::FieldCodec.ForMessage(42, global::Circuits.Static.Api.Protobuf.StaticEdgeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.Api.Protobuf.StaticEdgeData> edges_ = new pbc::RepeatedField<global::Circuits.Static.Api.Protobuf.StaticEdgeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.Api.Protobuf.StaticEdgeData> Edges {
|
||||
get { return edges_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_datas" field.</summary>
|
||||
public const int NodeDatasFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitNodeData> _repeated_nodeDatas_codec
|
||||
= pb::FieldCodec.ForMessage(90, global::CircuitsV2.Protobuf.CircuitNodeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitNodeData> nodeDatas_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitNodeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitNodeData> NodeDatas {
|
||||
get { return nodeDatas_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "child_graphs" field.</summary>
|
||||
public const int ChildGraphsFieldNumber = 14;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitGraphData> _repeated_childGraphs_codec
|
||||
= pb::FieldCodec.ForMessage(114, global::CircuitsV2.Protobuf.CircuitGraphData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphData> childGraphs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphData> ChildGraphs {
|
||||
get { return childGraphs_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "determistic_guid_index" field.</summary>
|
||||
public const int DetermisticGuidIndexFieldNumber = 15;
|
||||
private ulong determisticGuidIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ulong DetermisticGuidIndex {
|
||||
get { return determisticGuidIndex_; }
|
||||
set {
|
||||
determisticGuidIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "variable_memory" field.</summary>
|
||||
public const int VariableMemoryFieldNumber = 18;
|
||||
private global::CircuitsV2.Protobuf.MemoryData variableMemory_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.MemoryData VariableMemory {
|
||||
get { return variableMemory_; }
|
||||
set {
|
||||
variableMemory_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "active_player_definition_board" field.</summary>
|
||||
public const int ActivePlayerDefinitionBoardFieldNumber = 20;
|
||||
private global::RecRoom.Protobuf.Core.GuidData activePlayerDefinitionBoard_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData ActivePlayerDefinitionBoard {
|
||||
get { return activePlayerDefinitionBoard_; }
|
||||
set {
|
||||
activePlayerDefinitionBoard_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "active_player_world_ui_config_node" field.</summary>
|
||||
public const int ActivePlayerWorldUiConfigNodeFieldNumber = 21;
|
||||
private global::RecRoom.Protobuf.Core.GuidData activePlayerWorldUiConfigNode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData ActivePlayerWorldUiConfigNode {
|
||||
get { return activePlayerWorldUiConfigNode_; }
|
||||
set {
|
||||
activePlayerWorldUiConfigNode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "object_definition_id" field.</summary>
|
||||
public const int ObjectDefinitionIdFieldNumber = 22;
|
||||
private int objectDefinitionId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ObjectDefinitionId {
|
||||
get { return objectDefinitionId_; }
|
||||
set {
|
||||
objectDefinitionId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_graph_data" field.</summary>
|
||||
public const int PlayerGraphDataFieldNumber = 23;
|
||||
private global::CircuitsV2.Protobuf.PlayerGraphData playerGraphData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.PlayerGraphData PlayerGraphData {
|
||||
get { return playerGraphData_; }
|
||||
set {
|
||||
playerGraphData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_replicator_created" field.</summary>
|
||||
public const int IsReplicatorCreatedFieldNumber = 24;
|
||||
private bool isReplicatorCreated_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsReplicatorCreated {
|
||||
get { return isReplicatorCreated_; }
|
||||
set {
|
||||
isReplicatorCreated_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_graph_id" field.</summary>
|
||||
public const int DEPRECATEDGraphIdFieldNumber = 1;
|
||||
private pb::ByteString dEPRECATEDGraphId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDGraphId {
|
||||
get { return dEPRECATEDGraphId_; }
|
||||
set {
|
||||
dEPRECATEDGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_graph_template_id" field.</summary>
|
||||
public const int DEPRECATEDGraphTemplateIdFieldNumber = 2;
|
||||
private pb::ByteString dEPRECATEDGraphTemplateId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDGraphTemplateId {
|
||||
get { return dEPRECATEDGraphTemplateId_; }
|
||||
set {
|
||||
dEPRECATEDGraphTemplateId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_serialization_version" field.</summary>
|
||||
public const int DEPRECATEDSerializationVersionFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion dEPRECATEDSerializationVersion_ = global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion DEPRECATEDSerializationVersion {
|
||||
get { return dEPRECATEDSerializationVersion_; }
|
||||
set {
|
||||
dEPRECATEDSerializationVersion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_parent_node_id" field.</summary>
|
||||
public const int DEPRECATEDParentNodeIdFieldNumber = 4;
|
||||
private pb::ByteString dEPRECATEDParentNodeId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDParentNodeId {
|
||||
get { return dEPRECATEDParentNodeId_; }
|
||||
set {
|
||||
dEPRECATEDParentNodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_event_bus_data" field.</summary>
|
||||
public const int DEPRECATEDEventBusDataFieldNumber = 10;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_EventBusData dEPRECATEDEventBusData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_EventBusData DEPRECATEDEventBusData {
|
||||
get { return dEPRECATEDEventBusData_; }
|
||||
set {
|
||||
dEPRECATEDEventBusData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_kind" field.</summary>
|
||||
public const int DEPRECATEDKindFieldNumber = 16;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind dEPRECATEDKind_ = global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind DEPRECATEDKind {
|
||||
get { return dEPRECATEDKind_; }
|
||||
set {
|
||||
dEPRECATEDKind_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_active_player_definition_board" field.</summary>
|
||||
public const int DEPRECATEDActivePlayerDefinitionBoardFieldNumber = 17;
|
||||
private pb::ByteString dEPRECATEDActivePlayerDefinitionBoard_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDActivePlayerDefinitionBoard {
|
||||
get { return dEPRECATEDActivePlayerDefinitionBoard_; }
|
||||
set {
|
||||
dEPRECATEDActivePlayerDefinitionBoard_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_variable_memory" field.</summary>
|
||||
public const int DEPRECATEDVariableMemoryFieldNumber = 19;
|
||||
private global::CircuitsV2.Protobuf.MemoryData dEPRECATEDVariableMemory_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.MemoryData DEPRECATEDVariableMemory {
|
||||
get { return dEPRECATEDVariableMemory_; }
|
||||
set {
|
||||
dEPRECATEDVariableMemory_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitGraphData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitGraphData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(GraphId, other.GraphId)) return false;
|
||||
if(!edges_.Equals(other.edges_)) return false;
|
||||
if(!nodeDatas_.Equals(other.nodeDatas_)) return false;
|
||||
if(!childGraphs_.Equals(other.childGraphs_)) return false;
|
||||
if (DetermisticGuidIndex != other.DetermisticGuidIndex) return false;
|
||||
if (!object.Equals(VariableMemory, other.VariableMemory)) return false;
|
||||
if (!object.Equals(ActivePlayerDefinitionBoard, other.ActivePlayerDefinitionBoard)) return false;
|
||||
if (!object.Equals(ActivePlayerWorldUiConfigNode, other.ActivePlayerWorldUiConfigNode)) return false;
|
||||
if (ObjectDefinitionId != other.ObjectDefinitionId) return false;
|
||||
if (!object.Equals(PlayerGraphData, other.PlayerGraphData)) return false;
|
||||
if (IsReplicatorCreated != other.IsReplicatorCreated) return false;
|
||||
if (DEPRECATEDGraphId != other.DEPRECATEDGraphId) return false;
|
||||
if (DEPRECATEDGraphTemplateId != other.DEPRECATEDGraphTemplateId) return false;
|
||||
if (DEPRECATEDSerializationVersion != other.DEPRECATEDSerializationVersion) return false;
|
||||
if (DEPRECATEDParentNodeId != other.DEPRECATEDParentNodeId) return false;
|
||||
if (!object.Equals(DEPRECATEDEventBusData, other.DEPRECATEDEventBusData)) return false;
|
||||
if (DEPRECATEDKind != other.DEPRECATEDKind) return false;
|
||||
if (DEPRECATEDActivePlayerDefinitionBoard != other.DEPRECATEDActivePlayerDefinitionBoard) return false;
|
||||
if (!object.Equals(DEPRECATEDVariableMemory, other.DEPRECATEDVariableMemory)) 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 (graphId_ != null) hash ^= GraphId.GetHashCode();
|
||||
hash ^= edges_.GetHashCode();
|
||||
hash ^= nodeDatas_.GetHashCode();
|
||||
hash ^= childGraphs_.GetHashCode();
|
||||
if (DetermisticGuidIndex != 0UL) hash ^= DetermisticGuidIndex.GetHashCode();
|
||||
if (variableMemory_ != null) hash ^= VariableMemory.GetHashCode();
|
||||
if (activePlayerDefinitionBoard_ != null) hash ^= ActivePlayerDefinitionBoard.GetHashCode();
|
||||
if (activePlayerWorldUiConfigNode_ != null) hash ^= ActivePlayerWorldUiConfigNode.GetHashCode();
|
||||
if (ObjectDefinitionId != 0) hash ^= ObjectDefinitionId.GetHashCode();
|
||||
if (playerGraphData_ != null) hash ^= PlayerGraphData.GetHashCode();
|
||||
if (IsReplicatorCreated != false) hash ^= IsReplicatorCreated.GetHashCode();
|
||||
if (DEPRECATEDGraphId.Length != 0) hash ^= DEPRECATEDGraphId.GetHashCode();
|
||||
if (DEPRECATEDGraphTemplateId.Length != 0) hash ^= DEPRECATEDGraphTemplateId.GetHashCode();
|
||||
if (DEPRECATEDSerializationVersion != global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion) hash ^= DEPRECATEDSerializationVersion.GetHashCode();
|
||||
if (DEPRECATEDParentNodeId.Length != 0) hash ^= DEPRECATEDParentNodeId.GetHashCode();
|
||||
if (dEPRECATEDEventBusData_ != null) hash ^= DEPRECATEDEventBusData.GetHashCode();
|
||||
if (DEPRECATEDKind != global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global) hash ^= DEPRECATEDKind.GetHashCode();
|
||||
if (DEPRECATEDActivePlayerDefinitionBoard.Length != 0) hash ^= DEPRECATEDActivePlayerDefinitionBoard.GetHashCode();
|
||||
if (dEPRECATEDVariableMemory_ != null) hash ^= DEPRECATEDVariableMemory.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 (DEPRECATEDGraphId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDGraphId);
|
||||
}
|
||||
if (DEPRECATEDGraphTemplateId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(DEPRECATEDGraphTemplateId);
|
||||
}
|
||||
if (DEPRECATEDSerializationVersion != global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) DEPRECATEDSerializationVersion);
|
||||
}
|
||||
if (DEPRECATEDParentNodeId.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteBytes(DEPRECATEDParentNodeId);
|
||||
}
|
||||
edges_.WriteTo(output, _repeated_edges_codec);
|
||||
if (graphId_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(GraphId);
|
||||
}
|
||||
if (dEPRECATEDEventBusData_ != null) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteMessage(DEPRECATEDEventBusData);
|
||||
}
|
||||
nodeDatas_.WriteTo(output, _repeated_nodeDatas_codec);
|
||||
childGraphs_.WriteTo(output, _repeated_childGraphs_codec);
|
||||
if (DetermisticGuidIndex != 0UL) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt64(DetermisticGuidIndex);
|
||||
}
|
||||
if (DEPRECATEDKind != global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteEnum((int) DEPRECATEDKind);
|
||||
}
|
||||
if (DEPRECATEDActivePlayerDefinitionBoard.Length != 0) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteBytes(DEPRECATEDActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (variableMemory_ != null) {
|
||||
output.WriteRawTag(146, 1);
|
||||
output.WriteMessage(VariableMemory);
|
||||
}
|
||||
if (dEPRECATEDVariableMemory_ != null) {
|
||||
output.WriteRawTag(154, 1);
|
||||
output.WriteMessage(DEPRECATEDVariableMemory);
|
||||
}
|
||||
if (activePlayerDefinitionBoard_ != null) {
|
||||
output.WriteRawTag(162, 1);
|
||||
output.WriteMessage(ActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (activePlayerWorldUiConfigNode_ != null) {
|
||||
output.WriteRawTag(170, 1);
|
||||
output.WriteMessage(ActivePlayerWorldUiConfigNode);
|
||||
}
|
||||
if (ObjectDefinitionId != 0) {
|
||||
output.WriteRawTag(176, 1);
|
||||
output.WriteInt32(ObjectDefinitionId);
|
||||
}
|
||||
if (playerGraphData_ != null) {
|
||||
output.WriteRawTag(186, 1);
|
||||
output.WriteMessage(PlayerGraphData);
|
||||
}
|
||||
if (IsReplicatorCreated != false) {
|
||||
output.WriteRawTag(192, 1);
|
||||
output.WriteBool(IsReplicatorCreated);
|
||||
}
|
||||
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 (DEPRECATEDGraphId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDGraphId);
|
||||
}
|
||||
if (DEPRECATEDGraphTemplateId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(DEPRECATEDGraphTemplateId);
|
||||
}
|
||||
if (DEPRECATEDSerializationVersion != global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) DEPRECATEDSerializationVersion);
|
||||
}
|
||||
if (DEPRECATEDParentNodeId.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteBytes(DEPRECATEDParentNodeId);
|
||||
}
|
||||
edges_.WriteTo(ref output, _repeated_edges_codec);
|
||||
if (graphId_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(GraphId);
|
||||
}
|
||||
if (dEPRECATEDEventBusData_ != null) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteMessage(DEPRECATEDEventBusData);
|
||||
}
|
||||
nodeDatas_.WriteTo(ref output, _repeated_nodeDatas_codec);
|
||||
childGraphs_.WriteTo(ref output, _repeated_childGraphs_codec);
|
||||
if (DetermisticGuidIndex != 0UL) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt64(DetermisticGuidIndex);
|
||||
}
|
||||
if (DEPRECATEDKind != global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteEnum((int) DEPRECATEDKind);
|
||||
}
|
||||
if (DEPRECATEDActivePlayerDefinitionBoard.Length != 0) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteBytes(DEPRECATEDActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (variableMemory_ != null) {
|
||||
output.WriteRawTag(146, 1);
|
||||
output.WriteMessage(VariableMemory);
|
||||
}
|
||||
if (dEPRECATEDVariableMemory_ != null) {
|
||||
output.WriteRawTag(154, 1);
|
||||
output.WriteMessage(DEPRECATEDVariableMemory);
|
||||
}
|
||||
if (activePlayerDefinitionBoard_ != null) {
|
||||
output.WriteRawTag(162, 1);
|
||||
output.WriteMessage(ActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (activePlayerWorldUiConfigNode_ != null) {
|
||||
output.WriteRawTag(170, 1);
|
||||
output.WriteMessage(ActivePlayerWorldUiConfigNode);
|
||||
}
|
||||
if (ObjectDefinitionId != 0) {
|
||||
output.WriteRawTag(176, 1);
|
||||
output.WriteInt32(ObjectDefinitionId);
|
||||
}
|
||||
if (playerGraphData_ != null) {
|
||||
output.WriteRawTag(186, 1);
|
||||
output.WriteMessage(PlayerGraphData);
|
||||
}
|
||||
if (IsReplicatorCreated != false) {
|
||||
output.WriteRawTag(192, 1);
|
||||
output.WriteBool(IsReplicatorCreated);
|
||||
}
|
||||
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 (graphId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GraphId);
|
||||
}
|
||||
size += edges_.CalculateSize(_repeated_edges_codec);
|
||||
size += nodeDatas_.CalculateSize(_repeated_nodeDatas_codec);
|
||||
size += childGraphs_.CalculateSize(_repeated_childGraphs_codec);
|
||||
if (DetermisticGuidIndex != 0UL) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DetermisticGuidIndex);
|
||||
}
|
||||
if (variableMemory_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(VariableMemory);
|
||||
}
|
||||
if (activePlayerDefinitionBoard_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (activePlayerWorldUiConfigNode_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ActivePlayerWorldUiConfigNode);
|
||||
}
|
||||
if (ObjectDefinitionId != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt32Size(ObjectDefinitionId);
|
||||
}
|
||||
if (playerGraphData_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlayerGraphData);
|
||||
}
|
||||
if (IsReplicatorCreated != false) {
|
||||
size += 2 + 1;
|
||||
}
|
||||
if (DEPRECATEDGraphId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDGraphId);
|
||||
}
|
||||
if (DEPRECATEDGraphTemplateId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDGraphTemplateId);
|
||||
}
|
||||
if (DEPRECATEDSerializationVersion != global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DEPRECATEDSerializationVersion);
|
||||
}
|
||||
if (DEPRECATEDParentNodeId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDParentNodeId);
|
||||
}
|
||||
if (dEPRECATEDEventBusData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDEventBusData);
|
||||
}
|
||||
if (DEPRECATEDKind != global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) DEPRECATEDKind);
|
||||
}
|
||||
if (DEPRECATEDActivePlayerDefinitionBoard.Length != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (dEPRECATEDVariableMemory_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDVariableMemory);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitGraphData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.graphId_ != null) {
|
||||
if (graphId_ == null) {
|
||||
GraphId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
GraphId.MergeFrom(other.GraphId);
|
||||
}
|
||||
edges_.Add(other.edges_);
|
||||
nodeDatas_.Add(other.nodeDatas_);
|
||||
childGraphs_.Add(other.childGraphs_);
|
||||
if (other.DetermisticGuidIndex != 0UL) {
|
||||
DetermisticGuidIndex = other.DetermisticGuidIndex;
|
||||
}
|
||||
if (other.variableMemory_ != null) {
|
||||
if (variableMemory_ == null) {
|
||||
VariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
VariableMemory.MergeFrom(other.VariableMemory);
|
||||
}
|
||||
if (other.activePlayerDefinitionBoard_ != null) {
|
||||
if (activePlayerDefinitionBoard_ == null) {
|
||||
ActivePlayerDefinitionBoard = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
ActivePlayerDefinitionBoard.MergeFrom(other.ActivePlayerDefinitionBoard);
|
||||
}
|
||||
if (other.activePlayerWorldUiConfigNode_ != null) {
|
||||
if (activePlayerWorldUiConfigNode_ == null) {
|
||||
ActivePlayerWorldUiConfigNode = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
ActivePlayerWorldUiConfigNode.MergeFrom(other.ActivePlayerWorldUiConfigNode);
|
||||
}
|
||||
if (other.ObjectDefinitionId != 0) {
|
||||
ObjectDefinitionId = other.ObjectDefinitionId;
|
||||
}
|
||||
if (other.playerGraphData_ != null) {
|
||||
if (playerGraphData_ == null) {
|
||||
PlayerGraphData = new global::CircuitsV2.Protobuf.PlayerGraphData();
|
||||
}
|
||||
PlayerGraphData.MergeFrom(other.PlayerGraphData);
|
||||
}
|
||||
if (other.IsReplicatorCreated != false) {
|
||||
IsReplicatorCreated = other.IsReplicatorCreated;
|
||||
}
|
||||
if (other.DEPRECATEDGraphId.Length != 0) {
|
||||
DEPRECATEDGraphId = other.DEPRECATEDGraphId;
|
||||
}
|
||||
if (other.DEPRECATEDGraphTemplateId.Length != 0) {
|
||||
DEPRECATEDGraphTemplateId = other.DEPRECATEDGraphTemplateId;
|
||||
}
|
||||
if (other.DEPRECATEDSerializationVersion != global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion.DeprecatedInitialVersion) {
|
||||
DEPRECATEDSerializationVersion = other.DEPRECATEDSerializationVersion;
|
||||
}
|
||||
if (other.DEPRECATEDParentNodeId.Length != 0) {
|
||||
DEPRECATEDParentNodeId = other.DEPRECATEDParentNodeId;
|
||||
}
|
||||
if (other.dEPRECATEDEventBusData_ != null) {
|
||||
if (dEPRECATEDEventBusData_ == null) {
|
||||
DEPRECATEDEventBusData = new global::CircuitsV2.Protobuf.DEPRECATED_EventBusData();
|
||||
}
|
||||
DEPRECATEDEventBusData.MergeFrom(other.DEPRECATEDEventBusData);
|
||||
}
|
||||
if (other.DEPRECATEDKind != global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind.Global) {
|
||||
DEPRECATEDKind = other.DEPRECATEDKind;
|
||||
}
|
||||
if (other.DEPRECATEDActivePlayerDefinitionBoard.Length != 0) {
|
||||
DEPRECATEDActivePlayerDefinitionBoard = other.DEPRECATEDActivePlayerDefinitionBoard;
|
||||
}
|
||||
if (other.dEPRECATEDVariableMemory_ != null) {
|
||||
if (dEPRECATEDVariableMemory_ == null) {
|
||||
DEPRECATEDVariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
DEPRECATEDVariableMemory.MergeFrom(other.DEPRECATEDVariableMemory);
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
DEPRECATEDGraphTemplateId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDSerializationVersion = (global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
DEPRECATEDParentNodeId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
edges_.AddEntriesFrom(input, _repeated_edges_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (graphId_ == null) {
|
||||
GraphId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(GraphId);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (dEPRECATEDEventBusData_ == null) {
|
||||
DEPRECATEDEventBusData = new global::CircuitsV2.Protobuf.DEPRECATED_EventBusData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDEventBusData);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
nodeDatas_.AddEntriesFrom(input, _repeated_nodeDatas_codec);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
childGraphs_.AddEntriesFrom(input, _repeated_childGraphs_codec);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
DetermisticGuidIndex = input.ReadUInt64();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
DEPRECATEDKind = (global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
DEPRECATEDActivePlayerDefinitionBoard = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
if (variableMemory_ == null) {
|
||||
VariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
input.ReadMessage(VariableMemory);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
if (dEPRECATEDVariableMemory_ == null) {
|
||||
DEPRECATEDVariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDVariableMemory);
|
||||
break;
|
||||
}
|
||||
case 162: {
|
||||
if (activePlayerDefinitionBoard_ == null) {
|
||||
ActivePlayerDefinitionBoard = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ActivePlayerDefinitionBoard);
|
||||
break;
|
||||
}
|
||||
case 170: {
|
||||
if (activePlayerWorldUiConfigNode_ == null) {
|
||||
ActivePlayerWorldUiConfigNode = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ActivePlayerWorldUiConfigNode);
|
||||
break;
|
||||
}
|
||||
case 176: {
|
||||
ObjectDefinitionId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 186: {
|
||||
if (playerGraphData_ == null) {
|
||||
PlayerGraphData = new global::CircuitsV2.Protobuf.PlayerGraphData();
|
||||
}
|
||||
input.ReadMessage(PlayerGraphData);
|
||||
break;
|
||||
}
|
||||
case 192: {
|
||||
IsReplicatorCreated = input.ReadBool();
|
||||
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: {
|
||||
DEPRECATEDGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
DEPRECATEDGraphTemplateId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDSerializationVersion = (global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
DEPRECATEDParentNodeId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
edges_.AddEntriesFrom(ref input, _repeated_edges_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (graphId_ == null) {
|
||||
GraphId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(GraphId);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (dEPRECATEDEventBusData_ == null) {
|
||||
DEPRECATEDEventBusData = new global::CircuitsV2.Protobuf.DEPRECATED_EventBusData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDEventBusData);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
nodeDatas_.AddEntriesFrom(ref input, _repeated_nodeDatas_codec);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
childGraphs_.AddEntriesFrom(ref input, _repeated_childGraphs_codec);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
DetermisticGuidIndex = input.ReadUInt64();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
DEPRECATEDKind = (global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
DEPRECATEDActivePlayerDefinitionBoard = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
if (variableMemory_ == null) {
|
||||
VariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
input.ReadMessage(VariableMemory);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
if (dEPRECATEDVariableMemory_ == null) {
|
||||
DEPRECATEDVariableMemory = new global::CircuitsV2.Protobuf.MemoryData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDVariableMemory);
|
||||
break;
|
||||
}
|
||||
case 162: {
|
||||
if (activePlayerDefinitionBoard_ == null) {
|
||||
ActivePlayerDefinitionBoard = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ActivePlayerDefinitionBoard);
|
||||
break;
|
||||
}
|
||||
case 170: {
|
||||
if (activePlayerWorldUiConfigNode_ == null) {
|
||||
ActivePlayerWorldUiConfigNode = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ActivePlayerWorldUiConfigNode);
|
||||
break;
|
||||
}
|
||||
case 176: {
|
||||
ObjectDefinitionId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 186: {
|
||||
if (playerGraphData_ == null) {
|
||||
PlayerGraphData = new global::CircuitsV2.Protobuf.PlayerGraphData();
|
||||
}
|
||||
input.ReadMessage(PlayerGraphData);
|
||||
break;
|
||||
}
|
||||
case 192: {
|
||||
IsReplicatorCreated = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
946
CircuitGraphEntitiesData.cs
Normal file
946
CircuitGraphEntitiesData.cs
Normal file
@@ -0,0 +1,946 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_graph_entities_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_graph_entities_data.proto</summary>
|
||||
public static partial class CircuitGraphEntitiesDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_graph_entities_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitGraphEntitiesDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci1jaXJjdWl0c192Mi9jaXJjdWl0X2dyYXBoX2VudGl0aWVzX2RhdGEucHJv",
|
||||
"dG8SC2NpcmN1aXRzX3YyGiVjaXJjdWl0cy9zaGFyZWQvYXBpL2lkXzEyOF9k",
|
||||
"YXRhLnByb3RvGi5jaXJjdWl0cy9zaGFyZWQvdXRpbGl0aWVzL3NvYV9pZF8z",
|
||||
"Ml9kYXRhLnByb3RvGjZjaXJjdWl0cy9zdGF0aWMvY29yZS9ncmFwaF9zeXN0",
|
||||
"ZW0vZ3JhcGhfc3lzX2RhdGEucHJvdG8aLmNpcmN1aXRzX3YyL2Z1bmN0aW9u",
|
||||
"X2NhbGxfbm9kZV9pbnN0X2RhdGEucHJvdG8aMGNpcmN1aXRzX3YyL2N1c3Rv",
|
||||
"bV9wcm9wZXJ0eV9ub2RlX2luc3RfZGF0YS5wcm90bxo6Y2lyY3VpdHNfdjIv",
|
||||
"bWVzc2FnZXMvbWVzc2FnZV9yZWNlaXZlcl9ub2RlX2luc3RfZGF0YS5wcm90",
|
||||
"bxo4Y2lyY3VpdHNfdjIvbWVzc2FnZXMvbWVzc2FnZV9zZW5kZXJfbm9kZV9p",
|
||||
"bnN0X2RhdGEucHJvdG8aNGNpcmN1aXRzX3YyL2JlaGF2aW9ycy9iZWhhdmlv",
|
||||
"cl9ib2FyZF9pbnN0X2RhdGEucHJvdG8aN2NpcmN1aXRzX3YyL2JlaGF2aW9y",
|
||||
"cy9iZWhhdmlvcl9kZWZfbm9kZV9pbnN0X2RhdGEucHJvdG8aNWNpcmN1aXRz",
|
||||
"X3YyL2NvbnN0YW50X2FpX2Z1bmN0aW9uX25vZGVfaW5zdF9kYXRhLnByb3Rv",
|
||||
"IpwJChhDaXJjdWl0R3JhcGhFbnRpdGllc0RhdGESJQoFZ3JhcGgYASABKAsy",
|
||||
"Fi5jaXJjdWl0cy5HcmFwaFN5c0RhdGESFAoMbm9kZV9kZWZfaWRzGAIgAygF",
|
||||
"EhUKDW5vZGVfam9pbl9pZHMYAyADKAUSLAoPbGVnYWN5X25vZGVfaWRzGAQg",
|
||||
"AygLMhMuY2lyY3VpdHMuSWQxMjhEYXRhEjUKFmZ1bmN0aW9uX2NhbGxfbm9k",
|
||||
"ZV9pZHMYBSABKAsyFS5jaXJjdWl0cy5TT0FJZDMyRGF0YRJCChNmdW5jdGlv",
|
||||
"bl9jYWxsX25vZGVzGAYgAygLMiUuY2lyY3VpdHNfdjIuRnVuY3Rpb25DYWxs",
|
||||
"Tm9kZUluc3REYXRhEjcKGG9iamVjdF9wcm9wZXJ0eV9ub2RlX2lkcxgHIAEo",
|
||||
"CzIVLmNpcmN1aXRzLlNPQUlkMzJEYXRhEkYKFW9iamVjdF9wcm9wZXJ0eV9u",
|
||||
"b2RlcxgIIAMoCzInLmNpcmN1aXRzX3YyLkN1c3RvbVByb3BlcnR5Tm9kZUlu",
|
||||
"c3REYXRhEjcKGHBsYXllcl9wcm9wZXJ0eV9ub2RlX2lkcxgJIAEoCzIVLmNp",
|
||||
"cmN1aXRzLlNPQUlkMzJEYXRhEkYKFXBsYXllcl9wcm9wZXJ0eV9ub2RlcxgK",
|
||||
"IAMoCzInLmNpcmN1aXRzX3YyLkN1c3RvbVByb3BlcnR5Tm9kZUluc3REYXRh",
|
||||
"EjgKGW1lc3NhZ2VfcmVjZWl2ZXJfbm9kZV9pZHMYCyABKAsyFS5jaXJjdWl0",
|
||||
"cy5TT0FJZDMyRGF0YRJIChZtZXNzYWdlX3JlY2VpdmVyX25vZGVzGAwgAygL",
|
||||
"MiguY2lyY3VpdHNfdjIuTWVzc2FnZVJlY2VpdmVyTm9kZUluc3REYXRhEjYK",
|
||||
"F21lc3NhZ2Vfc2VuZGVyX25vZGVfaWRzGA0gASgLMhUuY2lyY3VpdHMuU09B",
|
||||
"SWQzMkRhdGESRAoUbWVzc2FnZV9zZW5kZXJfbm9kZXMYDiADKAsyJi5jaXJj",
|
||||
"dWl0c192Mi5NZXNzYWdlU2VuZGVyTm9kZUluc3REYXRhEjYKF2JlaGF2aW9y",
|
||||
"X2JvYXJkX25vZGVfaWRzGA8gASgLMhUuY2lyY3VpdHMuU09BSWQzMkRhdGES",
|
||||
"QAoUYmVoYXZpb3JfYm9hcmRfbm9kZXMYECADKAsyIi5jaXJjdWl0c192Mi5C",
|
||||
"ZWhhdmlvckJvYXJkSW5zdERhdGESNAoVYmVoYXZpb3JfZGVmX25vZGVfaWRz",
|
||||
"GBEgASgLMhUuY2lyY3VpdHMuU09BSWQzMkRhdGESQAoSYmVoYXZpb3JfZGVm",
|
||||
"X25vZGVzGBIgAygLMiQuY2lyY3VpdHNfdjIuQmVoYXZpb3JEZWZOb2RlSW5z",
|
||||
"dERhdGESPAodY29uc3RhbnRfYWlfZnVuY3Rpb25fbm9kZV9pZHMYEyABKAsy",
|
||||
"FS5jaXJjdWl0cy5TT0FJZDMyRGF0YRJPChpjb25zdGFudF9haV9mdW5jdGlv",
|
||||
"bl9ub2RlcxgUIAMoCzIrLmNpcmN1aXRzX3YyLkNvbnN0YW50QWlGdW5jdGlv",
|
||||
"bk5vZGVJbnN0RGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysDataReflection.Descriptor, global::CircuitsV2.Protobuf.FunctionCallNodeInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.CustomPropertyNodeInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.MessageReceiverNodeInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.MessageSenderNodeInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.BehaviorBoardInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.BehaviorDefNodeInstDataReflection.Descriptor, global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphEntitiesData), global::CircuitsV2.Protobuf.CircuitGraphEntitiesData.Parser, new[]{ "Graph", "NodeDefIds", "NodeJoinIds", "LegacyNodeIds", "FunctionCallNodeIds", "FunctionCallNodes", "ObjectPropertyNodeIds", "ObjectPropertyNodes", "PlayerPropertyNodeIds", "PlayerPropertyNodes", "MessageReceiverNodeIds", "MessageReceiverNodes", "MessageSenderNodeIds", "MessageSenderNodes", "BehaviorBoardNodeIds", "BehaviorBoardNodes", "BehaviorDefNodeIds", "BehaviorDefNodes", "ConstantAiFunctionNodeIds", "ConstantAiFunctionNodes" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitGraphEntitiesData : pb::IMessage<CircuitGraphEntitiesData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitGraphEntitiesData> _parser = new pb::MessageParser<CircuitGraphEntitiesData>(() => new CircuitGraphEntitiesData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitGraphEntitiesData> 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.CircuitGraphEntitiesDataReflection.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 CircuitGraphEntitiesData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphEntitiesData(CircuitGraphEntitiesData other) : this() {
|
||||
graph_ = other.graph_ != null ? other.graph_.Clone() : null;
|
||||
nodeDefIds_ = other.nodeDefIds_.Clone();
|
||||
nodeJoinIds_ = other.nodeJoinIds_.Clone();
|
||||
legacyNodeIds_ = other.legacyNodeIds_.Clone();
|
||||
functionCallNodeIds_ = other.functionCallNodeIds_ != null ? other.functionCallNodeIds_.Clone() : null;
|
||||
functionCallNodes_ = other.functionCallNodes_.Clone();
|
||||
objectPropertyNodeIds_ = other.objectPropertyNodeIds_ != null ? other.objectPropertyNodeIds_.Clone() : null;
|
||||
objectPropertyNodes_ = other.objectPropertyNodes_.Clone();
|
||||
playerPropertyNodeIds_ = other.playerPropertyNodeIds_ != null ? other.playerPropertyNodeIds_.Clone() : null;
|
||||
playerPropertyNodes_ = other.playerPropertyNodes_.Clone();
|
||||
messageReceiverNodeIds_ = other.messageReceiverNodeIds_ != null ? other.messageReceiverNodeIds_.Clone() : null;
|
||||
messageReceiverNodes_ = other.messageReceiverNodes_.Clone();
|
||||
messageSenderNodeIds_ = other.messageSenderNodeIds_ != null ? other.messageSenderNodeIds_.Clone() : null;
|
||||
messageSenderNodes_ = other.messageSenderNodes_.Clone();
|
||||
behaviorBoardNodeIds_ = other.behaviorBoardNodeIds_ != null ? other.behaviorBoardNodeIds_.Clone() : null;
|
||||
behaviorBoardNodes_ = other.behaviorBoardNodes_.Clone();
|
||||
behaviorDefNodeIds_ = other.behaviorDefNodeIds_ != null ? other.behaviorDefNodeIds_.Clone() : null;
|
||||
behaviorDefNodes_ = other.behaviorDefNodes_.Clone();
|
||||
constantAiFunctionNodeIds_ = other.constantAiFunctionNodeIds_ != null ? other.constantAiFunctionNodeIds_.Clone() : null;
|
||||
constantAiFunctionNodes_ = other.constantAiFunctionNodes_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphEntitiesData Clone() {
|
||||
return new CircuitGraphEntitiesData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "graph" field.</summary>
|
||||
public const int GraphFieldNumber = 1;
|
||||
private global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData graph_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData Graph {
|
||||
get { return graph_; }
|
||||
set {
|
||||
graph_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_def_ids" field.</summary>
|
||||
public const int NodeDefIdsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<int> _repeated_nodeDefIds_codec
|
||||
= pb::FieldCodec.ForInt32(18);
|
||||
private readonly pbc::RepeatedField<int> nodeDefIds_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> NodeDefIds {
|
||||
get { return nodeDefIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_join_ids" field.</summary>
|
||||
public const int NodeJoinIdsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<int> _repeated_nodeJoinIds_codec
|
||||
= pb::FieldCodec.ForInt32(26);
|
||||
private readonly pbc::RepeatedField<int> nodeJoinIds_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> NodeJoinIds {
|
||||
get { return nodeJoinIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "legacy_node_ids" field.</summary>
|
||||
public const int LegacyNodeIdsFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_legacyNodeIds_codec
|
||||
= pb::FieldCodec.ForMessage(34, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> legacyNodeIds_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> LegacyNodeIds {
|
||||
get { return legacyNodeIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "function_call_node_ids" field.</summary>
|
||||
public const int FunctionCallNodeIdsFieldNumber = 5;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data functionCallNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data FunctionCallNodeIds {
|
||||
get { return functionCallNodeIds_; }
|
||||
set {
|
||||
functionCallNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "function_call_nodes" field.</summary>
|
||||
public const int FunctionCallNodesFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.FunctionCallNodeInstData> _repeated_functionCallNodes_codec
|
||||
= pb::FieldCodec.ForMessage(50, global::CircuitsV2.Protobuf.FunctionCallNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.FunctionCallNodeInstData> functionCallNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.FunctionCallNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.FunctionCallNodeInstData> FunctionCallNodes {
|
||||
get { return functionCallNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "object_property_node_ids" field.</summary>
|
||||
public const int ObjectPropertyNodeIdsFieldNumber = 7;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data objectPropertyNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data ObjectPropertyNodeIds {
|
||||
get { return objectPropertyNodeIds_; }
|
||||
set {
|
||||
objectPropertyNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "object_property_nodes" field.</summary>
|
||||
public const int ObjectPropertyNodesFieldNumber = 8;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> _repeated_objectPropertyNodes_codec
|
||||
= pb::FieldCodec.ForMessage(66, global::CircuitsV2.Protobuf.CustomPropertyNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> objectPropertyNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> ObjectPropertyNodes {
|
||||
get { return objectPropertyNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_property_node_ids" field.</summary>
|
||||
public const int PlayerPropertyNodeIdsFieldNumber = 9;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data playerPropertyNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data PlayerPropertyNodeIds {
|
||||
get { return playerPropertyNodeIds_; }
|
||||
set {
|
||||
playerPropertyNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_property_nodes" field.</summary>
|
||||
public const int PlayerPropertyNodesFieldNumber = 10;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> _repeated_playerPropertyNodes_codec
|
||||
= pb::FieldCodec.ForMessage(82, global::CircuitsV2.Protobuf.CustomPropertyNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> playerPropertyNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyNodeInstData> PlayerPropertyNodes {
|
||||
get { return playerPropertyNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message_receiver_node_ids" field.</summary>
|
||||
public const int MessageReceiverNodeIdsFieldNumber = 11;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data messageReceiverNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data MessageReceiverNodeIds {
|
||||
get { return messageReceiverNodeIds_; }
|
||||
set {
|
||||
messageReceiverNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message_receiver_nodes" field.</summary>
|
||||
public const int MessageReceiverNodesFieldNumber = 12;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.MessageReceiverNodeInstData> _repeated_messageReceiverNodes_codec
|
||||
= pb::FieldCodec.ForMessage(98, global::CircuitsV2.Protobuf.MessageReceiverNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageReceiverNodeInstData> messageReceiverNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageReceiverNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageReceiverNodeInstData> MessageReceiverNodes {
|
||||
get { return messageReceiverNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message_sender_node_ids" field.</summary>
|
||||
public const int MessageSenderNodeIdsFieldNumber = 13;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data messageSenderNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data MessageSenderNodeIds {
|
||||
get { return messageSenderNodeIds_; }
|
||||
set {
|
||||
messageSenderNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message_sender_nodes" field.</summary>
|
||||
public const int MessageSenderNodesFieldNumber = 14;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.MessageSenderNodeInstData> _repeated_messageSenderNodes_codec
|
||||
= pb::FieldCodec.ForMessage(114, global::CircuitsV2.Protobuf.MessageSenderNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSenderNodeInstData> messageSenderNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSenderNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSenderNodeInstData> MessageSenderNodes {
|
||||
get { return messageSenderNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_board_node_ids" field.</summary>
|
||||
public const int BehaviorBoardNodeIdsFieldNumber = 15;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data behaviorBoardNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data BehaviorBoardNodeIds {
|
||||
get { return behaviorBoardNodeIds_; }
|
||||
set {
|
||||
behaviorBoardNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_board_nodes" field.</summary>
|
||||
public const int BehaviorBoardNodesFieldNumber = 16;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.BehaviorBoardInstData> _repeated_behaviorBoardNodes_codec
|
||||
= pb::FieldCodec.ForMessage(130, global::CircuitsV2.Protobuf.BehaviorBoardInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorBoardInstData> behaviorBoardNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorBoardInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorBoardInstData> BehaviorBoardNodes {
|
||||
get { return behaviorBoardNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_def_node_ids" field.</summary>
|
||||
public const int BehaviorDefNodeIdsFieldNumber = 17;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data behaviorDefNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data BehaviorDefNodeIds {
|
||||
get { return behaviorDefNodeIds_; }
|
||||
set {
|
||||
behaviorDefNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "behavior_def_nodes" field.</summary>
|
||||
public const int BehaviorDefNodesFieldNumber = 18;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.BehaviorDefNodeInstData> _repeated_behaviorDefNodes_codec
|
||||
= pb::FieldCodec.ForMessage(146, global::CircuitsV2.Protobuf.BehaviorDefNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorDefNodeInstData> behaviorDefNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorDefNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.BehaviorDefNodeInstData> BehaviorDefNodes {
|
||||
get { return behaviorDefNodes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "constant_ai_function_node_ids" field.</summary>
|
||||
public const int ConstantAiFunctionNodeIdsFieldNumber = 19;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data constantAiFunctionNodeIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data ConstantAiFunctionNodeIds {
|
||||
get { return constantAiFunctionNodeIds_; }
|
||||
set {
|
||||
constantAiFunctionNodeIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "constant_ai_function_nodes" field.</summary>
|
||||
public const int ConstantAiFunctionNodesFieldNumber = 20;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData> _repeated_constantAiFunctionNodes_codec
|
||||
= pb::FieldCodec.ForMessage(162, global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData> constantAiFunctionNodes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData> ConstantAiFunctionNodes {
|
||||
get { return constantAiFunctionNodes_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitGraphEntitiesData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitGraphEntitiesData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(Graph, other.Graph)) return false;
|
||||
if(!nodeDefIds_.Equals(other.nodeDefIds_)) return false;
|
||||
if(!nodeJoinIds_.Equals(other.nodeJoinIds_)) return false;
|
||||
if(!legacyNodeIds_.Equals(other.legacyNodeIds_)) return false;
|
||||
if (!object.Equals(FunctionCallNodeIds, other.FunctionCallNodeIds)) return false;
|
||||
if(!functionCallNodes_.Equals(other.functionCallNodes_)) return false;
|
||||
if (!object.Equals(ObjectPropertyNodeIds, other.ObjectPropertyNodeIds)) return false;
|
||||
if(!objectPropertyNodes_.Equals(other.objectPropertyNodes_)) return false;
|
||||
if (!object.Equals(PlayerPropertyNodeIds, other.PlayerPropertyNodeIds)) return false;
|
||||
if(!playerPropertyNodes_.Equals(other.playerPropertyNodes_)) return false;
|
||||
if (!object.Equals(MessageReceiverNodeIds, other.MessageReceiverNodeIds)) return false;
|
||||
if(!messageReceiverNodes_.Equals(other.messageReceiverNodes_)) return false;
|
||||
if (!object.Equals(MessageSenderNodeIds, other.MessageSenderNodeIds)) return false;
|
||||
if(!messageSenderNodes_.Equals(other.messageSenderNodes_)) return false;
|
||||
if (!object.Equals(BehaviorBoardNodeIds, other.BehaviorBoardNodeIds)) return false;
|
||||
if(!behaviorBoardNodes_.Equals(other.behaviorBoardNodes_)) return false;
|
||||
if (!object.Equals(BehaviorDefNodeIds, other.BehaviorDefNodeIds)) return false;
|
||||
if(!behaviorDefNodes_.Equals(other.behaviorDefNodes_)) return false;
|
||||
if (!object.Equals(ConstantAiFunctionNodeIds, other.ConstantAiFunctionNodeIds)) return false;
|
||||
if(!constantAiFunctionNodes_.Equals(other.constantAiFunctionNodes_)) 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 (graph_ != null) hash ^= Graph.GetHashCode();
|
||||
hash ^= nodeDefIds_.GetHashCode();
|
||||
hash ^= nodeJoinIds_.GetHashCode();
|
||||
hash ^= legacyNodeIds_.GetHashCode();
|
||||
if (functionCallNodeIds_ != null) hash ^= FunctionCallNodeIds.GetHashCode();
|
||||
hash ^= functionCallNodes_.GetHashCode();
|
||||
if (objectPropertyNodeIds_ != null) hash ^= ObjectPropertyNodeIds.GetHashCode();
|
||||
hash ^= objectPropertyNodes_.GetHashCode();
|
||||
if (playerPropertyNodeIds_ != null) hash ^= PlayerPropertyNodeIds.GetHashCode();
|
||||
hash ^= playerPropertyNodes_.GetHashCode();
|
||||
if (messageReceiverNodeIds_ != null) hash ^= MessageReceiverNodeIds.GetHashCode();
|
||||
hash ^= messageReceiverNodes_.GetHashCode();
|
||||
if (messageSenderNodeIds_ != null) hash ^= MessageSenderNodeIds.GetHashCode();
|
||||
hash ^= messageSenderNodes_.GetHashCode();
|
||||
if (behaviorBoardNodeIds_ != null) hash ^= BehaviorBoardNodeIds.GetHashCode();
|
||||
hash ^= behaviorBoardNodes_.GetHashCode();
|
||||
if (behaviorDefNodeIds_ != null) hash ^= BehaviorDefNodeIds.GetHashCode();
|
||||
hash ^= behaviorDefNodes_.GetHashCode();
|
||||
if (constantAiFunctionNodeIds_ != null) hash ^= ConstantAiFunctionNodeIds.GetHashCode();
|
||||
hash ^= constantAiFunctionNodes_.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 (graph_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(Graph);
|
||||
}
|
||||
nodeDefIds_.WriteTo(output, _repeated_nodeDefIds_codec);
|
||||
nodeJoinIds_.WriteTo(output, _repeated_nodeJoinIds_codec);
|
||||
legacyNodeIds_.WriteTo(output, _repeated_legacyNodeIds_codec);
|
||||
if (functionCallNodeIds_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(FunctionCallNodeIds);
|
||||
}
|
||||
functionCallNodes_.WriteTo(output, _repeated_functionCallNodes_codec);
|
||||
if (objectPropertyNodeIds_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(ObjectPropertyNodeIds);
|
||||
}
|
||||
objectPropertyNodes_.WriteTo(output, _repeated_objectPropertyNodes_codec);
|
||||
if (playerPropertyNodeIds_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(PlayerPropertyNodeIds);
|
||||
}
|
||||
playerPropertyNodes_.WriteTo(output, _repeated_playerPropertyNodes_codec);
|
||||
if (messageReceiverNodeIds_ != null) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteMessage(MessageReceiverNodeIds);
|
||||
}
|
||||
messageReceiverNodes_.WriteTo(output, _repeated_messageReceiverNodes_codec);
|
||||
if (messageSenderNodeIds_ != null) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteMessage(MessageSenderNodeIds);
|
||||
}
|
||||
messageSenderNodes_.WriteTo(output, _repeated_messageSenderNodes_codec);
|
||||
if (behaviorBoardNodeIds_ != null) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteMessage(BehaviorBoardNodeIds);
|
||||
}
|
||||
behaviorBoardNodes_.WriteTo(output, _repeated_behaviorBoardNodes_codec);
|
||||
if (behaviorDefNodeIds_ != null) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteMessage(BehaviorDefNodeIds);
|
||||
}
|
||||
behaviorDefNodes_.WriteTo(output, _repeated_behaviorDefNodes_codec);
|
||||
if (constantAiFunctionNodeIds_ != null) {
|
||||
output.WriteRawTag(154, 1);
|
||||
output.WriteMessage(ConstantAiFunctionNodeIds);
|
||||
}
|
||||
constantAiFunctionNodes_.WriteTo(output, _repeated_constantAiFunctionNodes_codec);
|
||||
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 (graph_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(Graph);
|
||||
}
|
||||
nodeDefIds_.WriteTo(ref output, _repeated_nodeDefIds_codec);
|
||||
nodeJoinIds_.WriteTo(ref output, _repeated_nodeJoinIds_codec);
|
||||
legacyNodeIds_.WriteTo(ref output, _repeated_legacyNodeIds_codec);
|
||||
if (functionCallNodeIds_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(FunctionCallNodeIds);
|
||||
}
|
||||
functionCallNodes_.WriteTo(ref output, _repeated_functionCallNodes_codec);
|
||||
if (objectPropertyNodeIds_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(ObjectPropertyNodeIds);
|
||||
}
|
||||
objectPropertyNodes_.WriteTo(ref output, _repeated_objectPropertyNodes_codec);
|
||||
if (playerPropertyNodeIds_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(PlayerPropertyNodeIds);
|
||||
}
|
||||
playerPropertyNodes_.WriteTo(ref output, _repeated_playerPropertyNodes_codec);
|
||||
if (messageReceiverNodeIds_ != null) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteMessage(MessageReceiverNodeIds);
|
||||
}
|
||||
messageReceiverNodes_.WriteTo(ref output, _repeated_messageReceiverNodes_codec);
|
||||
if (messageSenderNodeIds_ != null) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteMessage(MessageSenderNodeIds);
|
||||
}
|
||||
messageSenderNodes_.WriteTo(ref output, _repeated_messageSenderNodes_codec);
|
||||
if (behaviorBoardNodeIds_ != null) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteMessage(BehaviorBoardNodeIds);
|
||||
}
|
||||
behaviorBoardNodes_.WriteTo(ref output, _repeated_behaviorBoardNodes_codec);
|
||||
if (behaviorDefNodeIds_ != null) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteMessage(BehaviorDefNodeIds);
|
||||
}
|
||||
behaviorDefNodes_.WriteTo(ref output, _repeated_behaviorDefNodes_codec);
|
||||
if (constantAiFunctionNodeIds_ != null) {
|
||||
output.WriteRawTag(154, 1);
|
||||
output.WriteMessage(ConstantAiFunctionNodeIds);
|
||||
}
|
||||
constantAiFunctionNodes_.WriteTo(ref output, _repeated_constantAiFunctionNodes_codec);
|
||||
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 (graph_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Graph);
|
||||
}
|
||||
size += nodeDefIds_.CalculateSize(_repeated_nodeDefIds_codec);
|
||||
size += nodeJoinIds_.CalculateSize(_repeated_nodeJoinIds_codec);
|
||||
size += legacyNodeIds_.CalculateSize(_repeated_legacyNodeIds_codec);
|
||||
if (functionCallNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FunctionCallNodeIds);
|
||||
}
|
||||
size += functionCallNodes_.CalculateSize(_repeated_functionCallNodes_codec);
|
||||
if (objectPropertyNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjectPropertyNodeIds);
|
||||
}
|
||||
size += objectPropertyNodes_.CalculateSize(_repeated_objectPropertyNodes_codec);
|
||||
if (playerPropertyNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerPropertyNodeIds);
|
||||
}
|
||||
size += playerPropertyNodes_.CalculateSize(_repeated_playerPropertyNodes_codec);
|
||||
if (messageReceiverNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageReceiverNodeIds);
|
||||
}
|
||||
size += messageReceiverNodes_.CalculateSize(_repeated_messageReceiverNodes_codec);
|
||||
if (messageSenderNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageSenderNodeIds);
|
||||
}
|
||||
size += messageSenderNodes_.CalculateSize(_repeated_messageSenderNodes_codec);
|
||||
if (behaviorBoardNodeIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BehaviorBoardNodeIds);
|
||||
}
|
||||
size += behaviorBoardNodes_.CalculateSize(_repeated_behaviorBoardNodes_codec);
|
||||
if (behaviorDefNodeIds_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(BehaviorDefNodeIds);
|
||||
}
|
||||
size += behaviorDefNodes_.CalculateSize(_repeated_behaviorDefNodes_codec);
|
||||
if (constantAiFunctionNodeIds_ != null) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConstantAiFunctionNodeIds);
|
||||
}
|
||||
size += constantAiFunctionNodes_.CalculateSize(_repeated_constantAiFunctionNodes_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitGraphEntitiesData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.graph_ != null) {
|
||||
if (graph_ == null) {
|
||||
Graph = new global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData();
|
||||
}
|
||||
Graph.MergeFrom(other.Graph);
|
||||
}
|
||||
nodeDefIds_.Add(other.nodeDefIds_);
|
||||
nodeJoinIds_.Add(other.nodeJoinIds_);
|
||||
legacyNodeIds_.Add(other.legacyNodeIds_);
|
||||
if (other.functionCallNodeIds_ != null) {
|
||||
if (functionCallNodeIds_ == null) {
|
||||
FunctionCallNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
FunctionCallNodeIds.MergeFrom(other.FunctionCallNodeIds);
|
||||
}
|
||||
functionCallNodes_.Add(other.functionCallNodes_);
|
||||
if (other.objectPropertyNodeIds_ != null) {
|
||||
if (objectPropertyNodeIds_ == null) {
|
||||
ObjectPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
ObjectPropertyNodeIds.MergeFrom(other.ObjectPropertyNodeIds);
|
||||
}
|
||||
objectPropertyNodes_.Add(other.objectPropertyNodes_);
|
||||
if (other.playerPropertyNodeIds_ != null) {
|
||||
if (playerPropertyNodeIds_ == null) {
|
||||
PlayerPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
PlayerPropertyNodeIds.MergeFrom(other.PlayerPropertyNodeIds);
|
||||
}
|
||||
playerPropertyNodes_.Add(other.playerPropertyNodes_);
|
||||
if (other.messageReceiverNodeIds_ != null) {
|
||||
if (messageReceiverNodeIds_ == null) {
|
||||
MessageReceiverNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
MessageReceiverNodeIds.MergeFrom(other.MessageReceiverNodeIds);
|
||||
}
|
||||
messageReceiverNodes_.Add(other.messageReceiverNodes_);
|
||||
if (other.messageSenderNodeIds_ != null) {
|
||||
if (messageSenderNodeIds_ == null) {
|
||||
MessageSenderNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
MessageSenderNodeIds.MergeFrom(other.MessageSenderNodeIds);
|
||||
}
|
||||
messageSenderNodes_.Add(other.messageSenderNodes_);
|
||||
if (other.behaviorBoardNodeIds_ != null) {
|
||||
if (behaviorBoardNodeIds_ == null) {
|
||||
BehaviorBoardNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
BehaviorBoardNodeIds.MergeFrom(other.BehaviorBoardNodeIds);
|
||||
}
|
||||
behaviorBoardNodes_.Add(other.behaviorBoardNodes_);
|
||||
if (other.behaviorDefNodeIds_ != null) {
|
||||
if (behaviorDefNodeIds_ == null) {
|
||||
BehaviorDefNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
BehaviorDefNodeIds.MergeFrom(other.BehaviorDefNodeIds);
|
||||
}
|
||||
behaviorDefNodes_.Add(other.behaviorDefNodes_);
|
||||
if (other.constantAiFunctionNodeIds_ != null) {
|
||||
if (constantAiFunctionNodeIds_ == null) {
|
||||
ConstantAiFunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
ConstantAiFunctionNodeIds.MergeFrom(other.ConstantAiFunctionNodeIds);
|
||||
}
|
||||
constantAiFunctionNodes_.Add(other.constantAiFunctionNodes_);
|
||||
_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 (graph_ == null) {
|
||||
Graph = new global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData();
|
||||
}
|
||||
input.ReadMessage(Graph);
|
||||
break;
|
||||
}
|
||||
case 18:
|
||||
case 16: {
|
||||
nodeDefIds_.AddEntriesFrom(input, _repeated_nodeDefIds_codec);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
nodeJoinIds_.AddEntriesFrom(input, _repeated_nodeJoinIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
legacyNodeIds_.AddEntriesFrom(input, _repeated_legacyNodeIds_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (functionCallNodeIds_ == null) {
|
||||
FunctionCallNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(FunctionCallNodeIds);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
functionCallNodes_.AddEntriesFrom(input, _repeated_functionCallNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (objectPropertyNodeIds_ == null) {
|
||||
ObjectPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(ObjectPropertyNodeIds);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
objectPropertyNodes_.AddEntriesFrom(input, _repeated_objectPropertyNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (playerPropertyNodeIds_ == null) {
|
||||
PlayerPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PlayerPropertyNodeIds);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
playerPropertyNodes_.AddEntriesFrom(input, _repeated_playerPropertyNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
if (messageReceiverNodeIds_ == null) {
|
||||
MessageReceiverNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(MessageReceiverNodeIds);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
messageReceiverNodes_.AddEntriesFrom(input, _repeated_messageReceiverNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
if (messageSenderNodeIds_ == null) {
|
||||
MessageSenderNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(MessageSenderNodeIds);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
messageSenderNodes_.AddEntriesFrom(input, _repeated_messageSenderNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
if (behaviorBoardNodeIds_ == null) {
|
||||
BehaviorBoardNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorBoardNodeIds);
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
behaviorBoardNodes_.AddEntriesFrom(input, _repeated_behaviorBoardNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
if (behaviorDefNodeIds_ == null) {
|
||||
BehaviorDefNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorDefNodeIds);
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
behaviorDefNodes_.AddEntriesFrom(input, _repeated_behaviorDefNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
if (constantAiFunctionNodeIds_ == null) {
|
||||
ConstantAiFunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(ConstantAiFunctionNodeIds);
|
||||
break;
|
||||
}
|
||||
case 162: {
|
||||
constantAiFunctionNodes_.AddEntriesFrom(input, _repeated_constantAiFunctionNodes_codec);
|
||||
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 (graph_ == null) {
|
||||
Graph = new global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData();
|
||||
}
|
||||
input.ReadMessage(Graph);
|
||||
break;
|
||||
}
|
||||
case 18:
|
||||
case 16: {
|
||||
nodeDefIds_.AddEntriesFrom(ref input, _repeated_nodeDefIds_codec);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
nodeJoinIds_.AddEntriesFrom(ref input, _repeated_nodeJoinIds_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
legacyNodeIds_.AddEntriesFrom(ref input, _repeated_legacyNodeIds_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (functionCallNodeIds_ == null) {
|
||||
FunctionCallNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(FunctionCallNodeIds);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
functionCallNodes_.AddEntriesFrom(ref input, _repeated_functionCallNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (objectPropertyNodeIds_ == null) {
|
||||
ObjectPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(ObjectPropertyNodeIds);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
objectPropertyNodes_.AddEntriesFrom(ref input, _repeated_objectPropertyNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (playerPropertyNodeIds_ == null) {
|
||||
PlayerPropertyNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PlayerPropertyNodeIds);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
playerPropertyNodes_.AddEntriesFrom(ref input, _repeated_playerPropertyNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
if (messageReceiverNodeIds_ == null) {
|
||||
MessageReceiverNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(MessageReceiverNodeIds);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
messageReceiverNodes_.AddEntriesFrom(ref input, _repeated_messageReceiverNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
if (messageSenderNodeIds_ == null) {
|
||||
MessageSenderNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(MessageSenderNodeIds);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
messageSenderNodes_.AddEntriesFrom(ref input, _repeated_messageSenderNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
if (behaviorBoardNodeIds_ == null) {
|
||||
BehaviorBoardNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorBoardNodeIds);
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
behaviorBoardNodes_.AddEntriesFrom(ref input, _repeated_behaviorBoardNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
if (behaviorDefNodeIds_ == null) {
|
||||
BehaviorDefNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(BehaviorDefNodeIds);
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
behaviorDefNodes_.AddEntriesFrom(ref input, _repeated_behaviorDefNodes_codec);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
if (constantAiFunctionNodeIds_ == null) {
|
||||
ConstantAiFunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(ConstantAiFunctionNodeIds);
|
||||
break;
|
||||
}
|
||||
case 162: {
|
||||
constantAiFunctionNodes_.AddEntriesFrom(ref input, _repeated_constantAiFunctionNodes_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
492
CircuitGraphToolMappingRegistryData.cs
Normal file
492
CircuitGraphToolMappingRegistryData.cs
Normal file
@@ -0,0 +1,492 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_graph_tool_mapping_registry_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_graph_tool_mapping_registry_data.proto</summary>
|
||||
public static partial class CircuitGraphToolMappingRegistryDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_graph_tool_mapping_registry_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitGraphToolMappingRegistryDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjpjaXJjdWl0c192Mi9jaXJjdWl0X2dyYXBoX3Rvb2xfbWFwcGluZ19yZWdp",
|
||||
"c3RyeV9kYXRhLnByb3RvEgtjaXJjdWl0c192MholY2lyY3VpdHMvc2hhcmVk",
|
||||
"L2FwaS9pZF8xMjhfZGF0YS5wcm90bxoUY29yZS9ndWlkX2RhdGEucHJvdG8i",
|
||||
"dQojQ2lyY3VpdEdyYXBoVG9vbE1hcHBpbmdSZWdpc3RyeURhdGESTgoPbWFw",
|
||||
"cGluZ19lbnRyaWVzGAEgAygLMjUuY2lyY3VpdHNfdjIuQ2lyY3VpdEdyYXBo",
|
||||
"VG9vbE1hcHBpbmdSZWdpc3RyeUVudHJ5RGF0YSKCAQooQ2lyY3VpdEdyYXBo",
|
||||
"VG9vbE1hcHBpbmdSZWdpc3RyeUVudHJ5RGF0YRItChBjaXJjdWl0X2dyYXBo",
|
||||
"X2lkGAEgASgLMhMuY2lyY3VpdHMuSWQxMjhEYXRhEicKD3Rvb2xfbWFwcGlu",
|
||||
"Z19pZBgCIAEoCzIOLmNvcmUuR3VpZERhdGFCFqoCE0NpcmN1aXRzVjIuUHJv",
|
||||
"dG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryData), global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryData.Parser, new[]{ "MappingEntries" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData), global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData.Parser, new[]{ "CircuitGraphId", "ToolMappingId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitGraphToolMappingRegistryData : pb::IMessage<CircuitGraphToolMappingRegistryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitGraphToolMappingRegistryData> _parser = new pb::MessageParser<CircuitGraphToolMappingRegistryData>(() => new CircuitGraphToolMappingRegistryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitGraphToolMappingRegistryData> 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.CircuitGraphToolMappingRegistryDataReflection.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 CircuitGraphToolMappingRegistryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphToolMappingRegistryData(CircuitGraphToolMappingRegistryData other) : this() {
|
||||
mappingEntries_ = other.mappingEntries_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphToolMappingRegistryData Clone() {
|
||||
return new CircuitGraphToolMappingRegistryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "mapping_entries" field.</summary>
|
||||
public const int MappingEntriesFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> _repeated_mappingEntries_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> mappingEntries_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> MappingEntries {
|
||||
get { return mappingEntries_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitGraphToolMappingRegistryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitGraphToolMappingRegistryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!mappingEntries_.Equals(other.mappingEntries_)) 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;
|
||||
hash ^= mappingEntries_.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
|
||||
mappingEntries_.WriteTo(output, _repeated_mappingEntries_codec);
|
||||
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) {
|
||||
mappingEntries_.WriteTo(ref output, _repeated_mappingEntries_codec);
|
||||
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;
|
||||
size += mappingEntries_.CalculateSize(_repeated_mappingEntries_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitGraphToolMappingRegistryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
mappingEntries_.Add(other.mappingEntries_);
|
||||
_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: {
|
||||
mappingEntries_.AddEntriesFrom(input, _repeated_mappingEntries_codec);
|
||||
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: {
|
||||
mappingEntries_.AddEntriesFrom(ref input, _repeated_mappingEntries_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitGraphToolMappingRegistryEntryData : pb::IMessage<CircuitGraphToolMappingRegistryEntryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitGraphToolMappingRegistryEntryData> _parser = new pb::MessageParser<CircuitGraphToolMappingRegistryEntryData>(() => new CircuitGraphToolMappingRegistryEntryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitGraphToolMappingRegistryEntryData> 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.CircuitGraphToolMappingRegistryDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 CircuitGraphToolMappingRegistryEntryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphToolMappingRegistryEntryData(CircuitGraphToolMappingRegistryEntryData other) : this() {
|
||||
circuitGraphId_ = other.circuitGraphId_ != null ? other.circuitGraphId_.Clone() : null;
|
||||
toolMappingId_ = other.toolMappingId_ != null ? other.toolMappingId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitGraphToolMappingRegistryEntryData Clone() {
|
||||
return new CircuitGraphToolMappingRegistryEntryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "circuit_graph_id" field.</summary>
|
||||
public const int CircuitGraphIdFieldNumber = 1;
|
||||
private global::Circuits.Shared.Api.Protobuf.Id128Data circuitGraphId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Api.Protobuf.Id128Data CircuitGraphId {
|
||||
get { return circuitGraphId_; }
|
||||
set {
|
||||
circuitGraphId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "tool_mapping_id" field.</summary>
|
||||
public const int ToolMappingIdFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.GuidData toolMappingId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData ToolMappingId {
|
||||
get { return toolMappingId_; }
|
||||
set {
|
||||
toolMappingId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitGraphToolMappingRegistryEntryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitGraphToolMappingRegistryEntryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(CircuitGraphId, other.CircuitGraphId)) return false;
|
||||
if (!object.Equals(ToolMappingId, other.ToolMappingId)) 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 (circuitGraphId_ != null) hash ^= CircuitGraphId.GetHashCode();
|
||||
if (toolMappingId_ != null) hash ^= ToolMappingId.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 (circuitGraphId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CircuitGraphId);
|
||||
}
|
||||
if (toolMappingId_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(ToolMappingId);
|
||||
}
|
||||
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 (circuitGraphId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CircuitGraphId);
|
||||
}
|
||||
if (toolMappingId_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(ToolMappingId);
|
||||
}
|
||||
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 (circuitGraphId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CircuitGraphId);
|
||||
}
|
||||
if (toolMappingId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ToolMappingId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitGraphToolMappingRegistryEntryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.circuitGraphId_ != null) {
|
||||
if (circuitGraphId_ == null) {
|
||||
CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
||||
}
|
||||
CircuitGraphId.MergeFrom(other.CircuitGraphId);
|
||||
}
|
||||
if (other.toolMappingId_ != null) {
|
||||
if (toolMappingId_ == null) {
|
||||
ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
ToolMappingId.MergeFrom(other.ToolMappingId);
|
||||
}
|
||||
_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 (circuitGraphId_ == null) {
|
||||
CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
||||
}
|
||||
input.ReadMessage(CircuitGraphId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (toolMappingId_ == null) {
|
||||
ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ToolMappingId);
|
||||
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 (circuitGraphId_ == null) {
|
||||
CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
||||
}
|
||||
input.ReadMessage(CircuitGraphId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (toolMappingId_ == null) {
|
||||
ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ToolMappingId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
334
CircuitInteractionFilterData.cs
Normal file
334
CircuitInteractionFilterData.cs
Normal file
@@ -0,0 +1,334 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_interaction_filter_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_interaction_filter_data.proto</summary>
|
||||
public static partial class CircuitInteractionFilterDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_interaction_filter_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitInteractionFilterDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjFjaXJjdWl0c192Mi9jaXJjdWl0X2ludGVyYWN0aW9uX2ZpbHRlcl9kYXRh",
|
||||
"LnByb3RvEgtjaXJjdWl0c192MhoUY29yZS9ndWlkX2RhdGEucHJvdG8igAEK",
|
||||
"HENpcmN1aXRJbnRlcmFjdGlvbkZpbHRlckRhdGESGAoQaW50ZXJhY3Rpb25f",
|
||||
"bW9kZRgBIAEoBRInCg9nYW1lX3JvbGVfZ3VpZHMYAiADKAsyDi5jb3JlLkd1",
|
||||
"aWREYXRhEg8KB2VuYWJsZWQYAyABKAgSDAoEdGFncxgEIAMoCUIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitInteractionFilterData), global::CircuitsV2.Protobuf.CircuitInteractionFilterData.Parser, new[]{ "InteractionMode", "GameRoleGuids", "Enabled", "Tags" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitInteractionFilterData : pb::IMessage<CircuitInteractionFilterData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitInteractionFilterData> _parser = new pb::MessageParser<CircuitInteractionFilterData>(() => new CircuitInteractionFilterData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitInteractionFilterData> 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.CircuitInteractionFilterDataReflection.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 CircuitInteractionFilterData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitInteractionFilterData(CircuitInteractionFilterData other) : this() {
|
||||
interactionMode_ = other.interactionMode_;
|
||||
gameRoleGuids_ = other.gameRoleGuids_.Clone();
|
||||
enabled_ = other.enabled_;
|
||||
tags_ = other.tags_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitInteractionFilterData Clone() {
|
||||
return new CircuitInteractionFilterData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "interaction_mode" field.</summary>
|
||||
public const int InteractionModeFieldNumber = 1;
|
||||
private int interactionMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int InteractionMode {
|
||||
get { return interactionMode_; }
|
||||
set {
|
||||
interactionMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "game_role_guids" field.</summary>
|
||||
public const int GameRoleGuidsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_gameRoleGuids_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.Core.GuidData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> gameRoleGuids_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> GameRoleGuids {
|
||||
get { return gameRoleGuids_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "enabled" field.</summary>
|
||||
public const int EnabledFieldNumber = 3;
|
||||
private bool enabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Enabled {
|
||||
get { return enabled_; }
|
||||
set {
|
||||
enabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "tags" field.</summary>
|
||||
public const int TagsFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<string> _repeated_tags_codec
|
||||
= pb::FieldCodec.ForString(34);
|
||||
private readonly pbc::RepeatedField<string> tags_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> Tags {
|
||||
get { return tags_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitInteractionFilterData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitInteractionFilterData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (InteractionMode != other.InteractionMode) return false;
|
||||
if(!gameRoleGuids_.Equals(other.gameRoleGuids_)) return false;
|
||||
if (Enabled != other.Enabled) return false;
|
||||
if(!tags_.Equals(other.tags_)) 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 (InteractionMode != 0) hash ^= InteractionMode.GetHashCode();
|
||||
hash ^= gameRoleGuids_.GetHashCode();
|
||||
if (Enabled != false) hash ^= Enabled.GetHashCode();
|
||||
hash ^= tags_.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 (InteractionMode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(InteractionMode);
|
||||
}
|
||||
gameRoleGuids_.WriteTo(output, _repeated_gameRoleGuids_codec);
|
||||
if (Enabled != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(Enabled);
|
||||
}
|
||||
tags_.WriteTo(output, _repeated_tags_codec);
|
||||
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 (InteractionMode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(InteractionMode);
|
||||
}
|
||||
gameRoleGuids_.WriteTo(ref output, _repeated_gameRoleGuids_codec);
|
||||
if (Enabled != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(Enabled);
|
||||
}
|
||||
tags_.WriteTo(ref output, _repeated_tags_codec);
|
||||
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 (InteractionMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteractionMode);
|
||||
}
|
||||
size += gameRoleGuids_.CalculateSize(_repeated_gameRoleGuids_codec);
|
||||
if (Enabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
size += tags_.CalculateSize(_repeated_tags_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitInteractionFilterData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.InteractionMode != 0) {
|
||||
InteractionMode = other.InteractionMode;
|
||||
}
|
||||
gameRoleGuids_.Add(other.gameRoleGuids_);
|
||||
if (other.Enabled != false) {
|
||||
Enabled = other.Enabled;
|
||||
}
|
||||
tags_.Add(other.tags_);
|
||||
_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: {
|
||||
InteractionMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
gameRoleGuids_.AddEntriesFrom(input, _repeated_gameRoleGuids_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Enabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
tags_.AddEntriesFrom(input, _repeated_tags_codec);
|
||||
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: {
|
||||
InteractionMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
gameRoleGuids_.AddEntriesFrom(ref input, _repeated_gameRoleGuids_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Enabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
392
CircuitLinkData.cs
Normal file
392
CircuitLinkData.cs
Normal file
@@ -0,0 +1,392 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v1/circuit_link_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 RecRoom.CircuitsV1.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits_v1/circuit_link_data.proto</summary>
|
||||
public static partial class CircuitLinkDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v1/circuit_link_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitLinkDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiNjaXJjdWl0c192MS9jaXJjdWl0X2xpbmtfZGF0YS5wcm90bxILY2lyY3Vp",
|
||||
"dHNfdjEiewoPQ2lyY3VpdExpbmtEYXRhEhYKDnNvdXJjZV9ub2RlX2lkGAEg",
|
||||
"ASgFEhQKDGRlc3Rfbm9kZV9pZBgCIAEoBRISCgppbnB1dF9zbG90GAMgASgF",
|
||||
"EhMKC291dHB1dF9zbG90GAQgASgFEhEKCWxpbmtfdHlwZRgFIAEoBUIeqgIb",
|
||||
"UmVjUm9vbS5DaXJjdWl0c1YxLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.CircuitsV1.Protobuf.CircuitLinkData), global::RecRoom.CircuitsV1.Protobuf.CircuitLinkData.Parser, new[]{ "SourceNodeId", "DestNodeId", "InputSlot", "OutputSlot", "LinkType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitLinkData : pb::IMessage<CircuitLinkData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitLinkData> _parser = new pb::MessageParser<CircuitLinkData>(() => new CircuitLinkData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitLinkData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.CircuitsV1.Protobuf.CircuitLinkDataReflection.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 CircuitLinkData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitLinkData(CircuitLinkData other) : this() {
|
||||
sourceNodeId_ = other.sourceNodeId_;
|
||||
destNodeId_ = other.destNodeId_;
|
||||
inputSlot_ = other.inputSlot_;
|
||||
outputSlot_ = other.outputSlot_;
|
||||
linkType_ = other.linkType_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitLinkData Clone() {
|
||||
return new CircuitLinkData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "source_node_id" field.</summary>
|
||||
public const int SourceNodeIdFieldNumber = 1;
|
||||
private int sourceNodeId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SourceNodeId {
|
||||
get { return sourceNodeId_; }
|
||||
set {
|
||||
sourceNodeId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "dest_node_id" field.</summary>
|
||||
public const int DestNodeIdFieldNumber = 2;
|
||||
private int destNodeId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DestNodeId {
|
||||
get { return destNodeId_; }
|
||||
set {
|
||||
destNodeId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "input_slot" field.</summary>
|
||||
public const int InputSlotFieldNumber = 3;
|
||||
private int inputSlot_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int InputSlot {
|
||||
get { return inputSlot_; }
|
||||
set {
|
||||
inputSlot_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "output_slot" field.</summary>
|
||||
public const int OutputSlotFieldNumber = 4;
|
||||
private int outputSlot_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int OutputSlot {
|
||||
get { return outputSlot_; }
|
||||
set {
|
||||
outputSlot_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "link_type" field.</summary>
|
||||
public const int LinkTypeFieldNumber = 5;
|
||||
private int linkType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int LinkType {
|
||||
get { return linkType_; }
|
||||
set {
|
||||
linkType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitLinkData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitLinkData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SourceNodeId != other.SourceNodeId) return false;
|
||||
if (DestNodeId != other.DestNodeId) return false;
|
||||
if (InputSlot != other.InputSlot) return false;
|
||||
if (OutputSlot != other.OutputSlot) return false;
|
||||
if (LinkType != other.LinkType) 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 (SourceNodeId != 0) hash ^= SourceNodeId.GetHashCode();
|
||||
if (DestNodeId != 0) hash ^= DestNodeId.GetHashCode();
|
||||
if (InputSlot != 0) hash ^= InputSlot.GetHashCode();
|
||||
if (OutputSlot != 0) hash ^= OutputSlot.GetHashCode();
|
||||
if (LinkType != 0) hash ^= LinkType.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 (SourceNodeId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SourceNodeId);
|
||||
}
|
||||
if (DestNodeId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(DestNodeId);
|
||||
}
|
||||
if (InputSlot != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(InputSlot);
|
||||
}
|
||||
if (OutputSlot != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(OutputSlot);
|
||||
}
|
||||
if (LinkType != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(LinkType);
|
||||
}
|
||||
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 (SourceNodeId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SourceNodeId);
|
||||
}
|
||||
if (DestNodeId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(DestNodeId);
|
||||
}
|
||||
if (InputSlot != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(InputSlot);
|
||||
}
|
||||
if (OutputSlot != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(OutputSlot);
|
||||
}
|
||||
if (LinkType != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(LinkType);
|
||||
}
|
||||
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 (SourceNodeId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceNodeId);
|
||||
}
|
||||
if (DestNodeId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DestNodeId);
|
||||
}
|
||||
if (InputSlot != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InputSlot);
|
||||
}
|
||||
if (OutputSlot != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutputSlot);
|
||||
}
|
||||
if (LinkType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LinkType);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitLinkData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SourceNodeId != 0) {
|
||||
SourceNodeId = other.SourceNodeId;
|
||||
}
|
||||
if (other.DestNodeId != 0) {
|
||||
DestNodeId = other.DestNodeId;
|
||||
}
|
||||
if (other.InputSlot != 0) {
|
||||
InputSlot = other.InputSlot;
|
||||
}
|
||||
if (other.OutputSlot != 0) {
|
||||
OutputSlot = other.OutputSlot;
|
||||
}
|
||||
if (other.LinkType != 0) {
|
||||
LinkType = other.LinkType;
|
||||
}
|
||||
_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: {
|
||||
SourceNodeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DestNodeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
InputSlot = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
OutputSlot = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
LinkType = input.ReadInt32();
|
||||
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: {
|
||||
SourceNodeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DestNodeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
InputSlot = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
OutputSlot = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
LinkType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
2699
CircuitNodeData.cs
Normal file
2699
CircuitNodeData.cs
Normal file
File diff suppressed because it is too large
Load Diff
339
CircuitObjectTransformData.cs
Normal file
339
CircuitObjectTransformData.cs
Normal file
@@ -0,0 +1,339 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_object_transform_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_object_transform_data.proto</summary>
|
||||
public static partial class CircuitObjectTransformDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_object_transform_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitObjectTransformDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9jaXJjdWl0c192Mi9jaXJjdWl0X29iamVjdF90cmFuc2Zvcm1fZGF0YS5w",
|
||||
"cm90bxILY2lyY3VpdHNfdjIaMWNpcmN1aXRzL3NoYXJlZC9yZWNfcm9vbS9j",
|
||||
"aXJjdWl0c19xdWF0X2RhdGEucHJvdG8aMWNpcmN1aXRzL3NoYXJlZC9yZWNf",
|
||||
"cm9vbS9jaXJjdWl0c192ZWMzX2RhdGEucHJvdG8imwEKGkNpcmN1aXRPYmpl",
|
||||
"Y3RUcmFuc2Zvcm1EYXRhEjIKDmxvY2FsX3Bvc2l0aW9uGAIgASgLMhouY2ly",
|
||||
"Y3VpdHMuQ2lyY3VpdHNWZWMzRGF0YRIyCg5sb2NhbF9yb3RhdGlvbhgDIAEo",
|
||||
"CzIaLmNpcmN1aXRzLkNpcmN1aXRzUXVhdERhdGESFQoNREVQUkVDQVRFRF9p",
|
||||
"ZBgBIAEoDEIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatDataReflection.Descriptor, global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitObjectTransformData), global::CircuitsV2.Protobuf.CircuitObjectTransformData.Parser, new[]{ "LocalPosition", "LocalRotation", "DEPRECATEDId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitObjectTransformData : pb::IMessage<CircuitObjectTransformData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitObjectTransformData> _parser = new pb::MessageParser<CircuitObjectTransformData>(() => new CircuitObjectTransformData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitObjectTransformData> 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.CircuitObjectTransformDataReflection.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 CircuitObjectTransformData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitObjectTransformData(CircuitObjectTransformData other) : this() {
|
||||
localPosition_ = other.localPosition_ != null ? other.localPosition_.Clone() : null;
|
||||
localRotation_ = other.localRotation_ != null ? other.localRotation_.Clone() : null;
|
||||
dEPRECATEDId_ = other.dEPRECATEDId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitObjectTransformData Clone() {
|
||||
return new CircuitObjectTransformData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "local_position" field.</summary>
|
||||
public const int LocalPositionFieldNumber = 2;
|
||||
private global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data localPosition_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data LocalPosition {
|
||||
get { return localPosition_; }
|
||||
set {
|
||||
localPosition_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "local_rotation" field.</summary>
|
||||
public const int LocalRotationFieldNumber = 3;
|
||||
private global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData localRotation_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData LocalRotation {
|
||||
get { return localRotation_; }
|
||||
set {
|
||||
localRotation_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_id" field.</summary>
|
||||
public const int DEPRECATEDIdFieldNumber = 1;
|
||||
private pb::ByteString dEPRECATEDId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDId {
|
||||
get { return dEPRECATEDId_; }
|
||||
set {
|
||||
dEPRECATEDId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitObjectTransformData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitObjectTransformData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(LocalPosition, other.LocalPosition)) return false;
|
||||
if (!object.Equals(LocalRotation, other.LocalRotation)) return false;
|
||||
if (DEPRECATEDId != other.DEPRECATEDId) 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 (localPosition_ != null) hash ^= LocalPosition.GetHashCode();
|
||||
if (localRotation_ != null) hash ^= LocalRotation.GetHashCode();
|
||||
if (DEPRECATEDId.Length != 0) hash ^= DEPRECATEDId.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 (DEPRECATEDId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDId);
|
||||
}
|
||||
if (localPosition_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(LocalPosition);
|
||||
}
|
||||
if (localRotation_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(LocalRotation);
|
||||
}
|
||||
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 (DEPRECATEDId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDId);
|
||||
}
|
||||
if (localPosition_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(LocalPosition);
|
||||
}
|
||||
if (localRotation_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(LocalRotation);
|
||||
}
|
||||
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 (localPosition_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalPosition);
|
||||
}
|
||||
if (localRotation_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalRotation);
|
||||
}
|
||||
if (DEPRECATEDId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitObjectTransformData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.localPosition_ != null) {
|
||||
if (localPosition_ == null) {
|
||||
LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data();
|
||||
}
|
||||
LocalPosition.MergeFrom(other.LocalPosition);
|
||||
}
|
||||
if (other.localRotation_ != null) {
|
||||
if (localRotation_ == null) {
|
||||
LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData();
|
||||
}
|
||||
LocalRotation.MergeFrom(other.LocalRotation);
|
||||
}
|
||||
if (other.DEPRECATEDId.Length != 0) {
|
||||
DEPRECATEDId = other.DEPRECATEDId;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (localPosition_ == null) {
|
||||
LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data();
|
||||
}
|
||||
input.ReadMessage(LocalPosition);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (localRotation_ == null) {
|
||||
LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData();
|
||||
}
|
||||
input.ReadMessage(LocalRotation);
|
||||
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: {
|
||||
DEPRECATEDId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (localPosition_ == null) {
|
||||
LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data();
|
||||
}
|
||||
input.ReadMessage(LocalPosition);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (localRotation_ == null) {
|
||||
LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData();
|
||||
}
|
||||
input.ReadMessage(LocalRotation);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
573
CircuitRootData.cs
Normal file
573
CircuitRootData.cs
Normal file
@@ -0,0 +1,573 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_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_root_data.proto</summary>
|
||||
public static partial class CircuitRootDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_root_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitRootDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiNjaXJjdWl0c192Mi9jaXJjdWl0X3Jvb3RfZGF0YS5wcm90bxILY2lyY3Vp",
|
||||
"dHNfdjIaLmNpcmN1aXRzX3YyL2NpcmN1aXRfZ2xvYmFsX2VudGl0aWVzX2Rh",
|
||||
"dGEucHJvdG8aJGNpcmN1aXRzX3YyL2NpcmN1aXRfZ3JhcGhfZGF0YS5wcm90",
|
||||
"bxovY2lyY3VpdHNfdjIvY2lyY3VpdF9zZXJpYWxpemF0aW9uX3ZlcnNpb24u",
|
||||
"cHJvdG8aKmNpcmN1aXRzX3YyL3JlcGxpY2F0b3JfcmVnaXN0cnlfZGF0YS5w",
|
||||
"cm90bxo1Y2lyY3VpdHNfdjIvZGF0YV90YWJsZS9kYXRhX3RhYmxlX3JlZ2lz",
|
||||
"dHJ5X2RhdGEucHJvdG8aSmNpcmN1aXRzX3YyL3N0dWRpb19mdW5jdGlvbnMv",
|
||||
"c3R1ZGlvX2Z1bmN0aW9uX3NpZ25hdHVyZV9yZWdpc3RyeV9kYXRhLnByb3Rv",
|
||||
"GiRjaXJjdWl0c192Mi9zbmFwc2hvdF9vbmx5X2RhdGEucHJvdG8i+QMKD0Np",
|
||||
"cmN1aXRSb290RGF0YRI5Cgd2ZXJzaW9uGAEgASgOMiguY2lyY3VpdHNfdjIu",
|
||||
"Q2lyY3VpdFNlcmlhbGl6YXRpb25WZXJzaW9uEisKBHJvb3QYAiABKAsyHS5j",
|
||||
"aXJjdWl0c192Mi5DaXJjdWl0R3JhcGhEYXRhEj8KE2RhdGFfdGFibGVfcmVn",
|
||||
"aXN0cnkYAyABKAsyIi5jaXJjdWl0c192Mi5EYXRhVGFibGVSZWdpc3RyeURh",
|
||||
"dGESYQonc3R1ZGlvX2Z1bmN0aW9uX3NpZ25hdHVyZV9yZWdpc3RyeV9kYXRh",
|
||||
"GAUgASgLMjAuY2lyY3VpdHNfdjIuU3R1ZGlvRnVuY3Rpb25TaWduYXR1cmVS",
|
||||
"ZWdpc3RyeURhdGESOAoIZW50aXRpZXMYBiABKAsyJi5jaXJjdWl0c192Mi5D",
|
||||
"aXJjdWl0R2xvYmFsRW50aXRpZXNEYXRhEkUKGHJlcGxpY2F0b3JfcmVnaXN0",
|
||||
"cnlfZGF0YRgHIAEoCzIjLmNpcmN1aXRzX3YyLlJlcGxpY2F0b3JSZWdpc3Ry",
|
||||
"eURhdGESOQoSc25hcHNob3Rfb25seV9kYXRhGAggASgLMh0uY2lyY3VpdHNf",
|
||||
"djIuU25hcHNob3RPbmx5RGF0YRIeChZERVBSRUNBVEVEX21heF9wbGF5ZXJz",
|
||||
"GAQgASgFQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
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.ReplicatorRegistryDataReflection.Descriptor, global::CircuitsV2.Protobuf.DataTableRegistryDataReflection.Descriptor, global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryDataReflection.Descriptor, global::CircuitsV2.Protobuf.SnapshotOnlyDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitRootData), global::CircuitsV2.Protobuf.CircuitRootData.Parser, new[]{ "Version", "Root", "DataTableRegistry", "StudioFunctionSignatureRegistryData", "Entities", "ReplicatorRegistryData", "SnapshotOnlyData", "DEPRECATEDMaxPlayers" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitRootData : pb::IMessage<CircuitRootData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitRootData> _parser = new pb::MessageParser<CircuitRootData>(() => new CircuitRootData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitRootData> 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.CircuitRootDataReflection.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 CircuitRootData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitRootData(CircuitRootData other) : this() {
|
||||
version_ = other.version_;
|
||||
root_ = other.root_ != null ? other.root_.Clone() : null;
|
||||
dataTableRegistry_ = other.dataTableRegistry_ != null ? other.dataTableRegistry_.Clone() : null;
|
||||
studioFunctionSignatureRegistryData_ = other.studioFunctionSignatureRegistryData_ != null ? other.studioFunctionSignatureRegistryData_.Clone() : null;
|
||||
entities_ = other.entities_ != null ? other.entities_.Clone() : null;
|
||||
replicatorRegistryData_ = other.replicatorRegistryData_ != null ? other.replicatorRegistryData_.Clone() : null;
|
||||
snapshotOnlyData_ = other.snapshotOnlyData_ != null ? other.snapshotOnlyData_.Clone() : null;
|
||||
dEPRECATEDMaxPlayers_ = other.dEPRECATEDMaxPlayers_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitRootData Clone() {
|
||||
return new CircuitRootData(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" field.</summary>
|
||||
public const int DataTableRegistryFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.DataTableRegistryData dataTableRegistry_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DataTableRegistryData DataTableRegistry {
|
||||
get { return dataTableRegistry_; }
|
||||
set {
|
||||
dataTableRegistry_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "studio_function_signature_registry_data" field.</summary>
|
||||
public const int StudioFunctionSignatureRegistryDataFieldNumber = 5;
|
||||
private global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData studioFunctionSignatureRegistryData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData StudioFunctionSignatureRegistryData {
|
||||
get { return studioFunctionSignatureRegistryData_; }
|
||||
set {
|
||||
studioFunctionSignatureRegistryData_ = 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 "replicator_registry_data" field.</summary>
|
||||
public const int ReplicatorRegistryDataFieldNumber = 7;
|
||||
private global::CircuitsV2.Protobuf.ReplicatorRegistryData replicatorRegistryData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.ReplicatorRegistryData ReplicatorRegistryData {
|
||||
get { return replicatorRegistryData_; }
|
||||
set {
|
||||
replicatorRegistryData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "snapshot_only_data" field.</summary>
|
||||
public const int SnapshotOnlyDataFieldNumber = 8;
|
||||
private global::CircuitsV2.Protobuf.SnapshotOnlyData snapshotOnlyData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.SnapshotOnlyData SnapshotOnlyData {
|
||||
get { return snapshotOnlyData_; }
|
||||
set {
|
||||
snapshotOnlyData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_max_players" field.</summary>
|
||||
public const int DEPRECATEDMaxPlayersFieldNumber = 4;
|
||||
private int dEPRECATEDMaxPlayers_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DEPRECATEDMaxPlayers {
|
||||
get { return dEPRECATEDMaxPlayers_; }
|
||||
set {
|
||||
dEPRECATEDMaxPlayers_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitRootData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitRootData 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(DataTableRegistry, other.DataTableRegistry)) return false;
|
||||
if (!object.Equals(StudioFunctionSignatureRegistryData, other.StudioFunctionSignatureRegistryData)) return false;
|
||||
if (!object.Equals(Entities, other.Entities)) return false;
|
||||
if (!object.Equals(ReplicatorRegistryData, other.ReplicatorRegistryData)) return false;
|
||||
if (!object.Equals(SnapshotOnlyData, other.SnapshotOnlyData)) return false;
|
||||
if (DEPRECATEDMaxPlayers != other.DEPRECATEDMaxPlayers) 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 (dataTableRegistry_ != null) hash ^= DataTableRegistry.GetHashCode();
|
||||
if (studioFunctionSignatureRegistryData_ != null) hash ^= StudioFunctionSignatureRegistryData.GetHashCode();
|
||||
if (entities_ != null) hash ^= Entities.GetHashCode();
|
||||
if (replicatorRegistryData_ != null) hash ^= ReplicatorRegistryData.GetHashCode();
|
||||
if (snapshotOnlyData_ != null) hash ^= SnapshotOnlyData.GetHashCode();
|
||||
if (DEPRECATEDMaxPlayers != 0) hash ^= DEPRECATEDMaxPlayers.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 (dataTableRegistry_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DataTableRegistry);
|
||||
}
|
||||
if (DEPRECATEDMaxPlayers != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(DEPRECATEDMaxPlayers);
|
||||
}
|
||||
if (studioFunctionSignatureRegistryData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(StudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
if (replicatorRegistryData_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(ReplicatorRegistryData);
|
||||
}
|
||||
if (snapshotOnlyData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(SnapshotOnlyData);
|
||||
}
|
||||
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 (dataTableRegistry_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DataTableRegistry);
|
||||
}
|
||||
if (DEPRECATEDMaxPlayers != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(DEPRECATEDMaxPlayers);
|
||||
}
|
||||
if (studioFunctionSignatureRegistryData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(StudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
if (replicatorRegistryData_ != null) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(ReplicatorRegistryData);
|
||||
}
|
||||
if (snapshotOnlyData_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(SnapshotOnlyData);
|
||||
}
|
||||
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 (dataTableRegistry_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DataTableRegistry);
|
||||
}
|
||||
if (studioFunctionSignatureRegistryData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Entities);
|
||||
}
|
||||
if (replicatorRegistryData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReplicatorRegistryData);
|
||||
}
|
||||
if (snapshotOnlyData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SnapshotOnlyData);
|
||||
}
|
||||
if (DEPRECATEDMaxPlayers != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDMaxPlayers);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitRootData 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.dataTableRegistry_ != null) {
|
||||
if (dataTableRegistry_ == null) {
|
||||
DataTableRegistry = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
DataTableRegistry.MergeFrom(other.DataTableRegistry);
|
||||
}
|
||||
if (other.studioFunctionSignatureRegistryData_ != null) {
|
||||
if (studioFunctionSignatureRegistryData_ == null) {
|
||||
StudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
StudioFunctionSignatureRegistryData.MergeFrom(other.StudioFunctionSignatureRegistryData);
|
||||
}
|
||||
if (other.entities_ != null) {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
Entities.MergeFrom(other.Entities);
|
||||
}
|
||||
if (other.replicatorRegistryData_ != null) {
|
||||
if (replicatorRegistryData_ == null) {
|
||||
ReplicatorRegistryData = new global::CircuitsV2.Protobuf.ReplicatorRegistryData();
|
||||
}
|
||||
ReplicatorRegistryData.MergeFrom(other.ReplicatorRegistryData);
|
||||
}
|
||||
if (other.snapshotOnlyData_ != null) {
|
||||
if (snapshotOnlyData_ == null) {
|
||||
SnapshotOnlyData = new global::CircuitsV2.Protobuf.SnapshotOnlyData();
|
||||
}
|
||||
SnapshotOnlyData.MergeFrom(other.SnapshotOnlyData);
|
||||
}
|
||||
if (other.DEPRECATEDMaxPlayers != 0) {
|
||||
DEPRECATEDMaxPlayers = other.DEPRECATEDMaxPlayers;
|
||||
}
|
||||
_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 (dataTableRegistry_ == null) {
|
||||
DataTableRegistry = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
input.ReadMessage(DataTableRegistry);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
DEPRECATEDMaxPlayers = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (studioFunctionSignatureRegistryData_ == null) {
|
||||
StudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
input.ReadMessage(StudioFunctionSignatureRegistryData);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (replicatorRegistryData_ == null) {
|
||||
ReplicatorRegistryData = new global::CircuitsV2.Protobuf.ReplicatorRegistryData();
|
||||
}
|
||||
input.ReadMessage(ReplicatorRegistryData);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (snapshotOnlyData_ == null) {
|
||||
SnapshotOnlyData = new global::CircuitsV2.Protobuf.SnapshotOnlyData();
|
||||
}
|
||||
input.ReadMessage(SnapshotOnlyData);
|
||||
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 (dataTableRegistry_ == null) {
|
||||
DataTableRegistry = new global::CircuitsV2.Protobuf.DataTableRegistryData();
|
||||
}
|
||||
input.ReadMessage(DataTableRegistry);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
DEPRECATEDMaxPlayers = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (studioFunctionSignatureRegistryData_ == null) {
|
||||
StudioFunctionSignatureRegistryData = new global::CircuitsV2.Protobuf.StudioFunctionSignatureRegistryData();
|
||||
}
|
||||
input.ReadMessage(StudioFunctionSignatureRegistryData);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
if (replicatorRegistryData_ == null) {
|
||||
ReplicatorRegistryData = new global::CircuitsV2.Protobuf.ReplicatorRegistryData();
|
||||
}
|
||||
input.ReadMessage(ReplicatorRegistryData);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (snapshotOnlyData_ == null) {
|
||||
SnapshotOnlyData = new global::CircuitsV2.Protobuf.SnapshotOnlyData();
|
||||
}
|
||||
input.ReadMessage(SnapshotOnlyData);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
CircuitSerializationVersion.cs
Normal file
243
CircuitSerializationVersion.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_serialization_version.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_serialization_version.proto</summary>
|
||||
public static partial class CircuitSerializationVersionReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_serialization_version.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitSerializationVersionReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9jaXJjdWl0c192Mi9jaXJjdWl0X3NlcmlhbGl6YXRpb25fdmVyc2lvbi5w",
|
||||
"cm90bxILY2lyY3VpdHNfdjIqzB0KG0NpcmN1aXRTZXJpYWxpemF0aW9uVmVy",
|
||||
"c2lvbhIJCgVWME5ldxAAEhQKEFYxSW5pdGlhbFZlcnNpb24QARIXChNWMlZh",
|
||||
"cmlhYmxlc0ltcHJvdmVkEAISFQoRVjNDbGFzc1N0cnVjdHVyZXMQAxIWChJW",
|
||||
"NFZhcmlhYmxlc05ld01lc2gQBBISCg5WNUNpcmN1aXRCdXNlcxAFEhoKFlY2",
|
||||
"RXZlbnREZWZpbml0aW9uQ2hpcHMQBhIWChJWN0V2ZW50U2VuZGVyQ2hpcHMQ",
|
||||
"BxITCg9WOE5vT2JqZWN0R3VpZHMQCBIWChJWOUludmFsaWRDaGlwQ29sb3IQ",
|
||||
"CRIWChJWMTBOb0ludGVybmFsR3VpZHMQChIbChdWMTFUeXBlZFNlcmlhbGl6",
|
||||
"ZWRHdWlkcxALEiMKH1YxMkV2ZW50SWRPbmx5RXZlbnRSZWdpc3RyYXRpb24Q",
|
||||
"DBIbChdWMTNWYXJpYWJsZXNNZW1vcnlUeXBlcxANEhsKF1YxNEZpeEdldEFs",
|
||||
"bFBsYXllcnNOb2RlEA4SGQoVVjE1VmFyaWFibGVIb21lVmFsdWVzEA8SFgoS",
|
||||
"VjE2VHlwZVN5c0JyZWFrb3V0EBASHQoZVjE3Tm9EeW5hbWljRGVzY1Zhcmlh",
|
||||
"YmxlcxAREiEKHVYxOE5vQ3VzdG9tQ29tbWVudENvbXByZXNzaW9uEBISGgoW",
|
||||
"VjE5U2FtcGxlQXVkaW9UcmltRGF0YRATEhYKElYyMFNob3dkb3duUmVsZWFz",
|
||||
"ZRAUEhsKF1YyMU9iamVjdEJvYXJkVHJhbnNmb3JtEBUSIwofVjIyRGVzdGlu",
|
||||
"YXRpb25TdHJpbmdJZGVudGlmaWVycxAWEiEKHVYyM1BsYXllclBvcnRPbkxv",
|
||||
"Y2FsT25seUNoaXBzEBcSHAoYVjI0VmlnbmV0dGVJbnRlbnNpdHlQb3J0EBgS",
|
||||
"HQoZVjI1VW5pdHlWZWNBbmRRdWF0UmVtb3ZhbBAZEhoKFlYyNkF1ZGlvQ29u",
|
||||
"c3RhbnRQYXJhbXMQGhIYChRWMjdEYXRhVGFibGVSZWdpc3RyeRAbEiMKH1Yy",
|
||||
"OEF1ZGlvTm9kZU5vbk51bGxTZnhBdWRpb0RhdGEQHBIoCiRWMjlQbGF5ZXJM",
|
||||
"ZWF2aW5nUGxheWVyTGVmdEV2ZW50U3BsaXQQHRImCiJWMzBTdHVkaW9GdW5j",
|
||||
"dGlvblNpZ25hdHVyZVJlZ2lzdHJ5EB4SIQodVjMxUHJvZ3Jlc3Npb25UYWJs",
|
||||
"ZUxldmVsc1BvcnQQHxIcChhWMzJNb29kc1YyUGFyYW1ldGVyUmFuZ2UQIBIT",
|
||||
"Cg9WMzNQbGF5ZXJUcmFpdHMQIRIeChpWMzRJbnRlcmFjdGlvbkZpbHRlclRv",
|
||||
"Z2dsZRAiEhwKGFYzNUNpcmN1aXRHbG9iYWxFbnRpdGllcxAjEhsKF1YzNkNp",
|
||||
"cmN1aXRHcmFwaEVudGl0aWVzECQSIAocVjM3Q2lyY3VpdEdyYXBoRW50aXRp",
|
||||
"ZXNQb3J0cxAlEiAKHFYzOENpcmN1aXRHcmFwaEVudGl0aWVzRWRnZXMQJhIn",
|
||||
"CiNWMzlQbGF5ZXJUcmFpdHNPblBsYXllckNpcmN1aXRHcmFwaBAnEhkKFVY0",
|
||||
"MFJlcGxpY2F0b3JSZWdpc3RyeRAoEiwKKFY0MVBsYXllclRyYWl0c0FkZENy",
|
||||
"b3VjaFByb25lU2xpZGVTcGVlZHMQKRISCg5WNDJHcmFwaERlZklkcxAqEhEK",
|
||||
"DVY0M05vZGVEZWZJZHMQKxIcChhWNDRSZXdyaXRlSW5pdGlhbGl6YXRpb24Q",
|
||||
"LBImCiJWNDVTZXJpYWxpemVTdHVkaW9GdW5jdGlvbk5vZGVEZXNjEC0SHQoZ",
|
||||
"VjQ2Rml4RGF0YVRhYmxlQ29ycnVwdGlvbhAuEhsKF1Y0N1BsYXllclRyYWl0",
|
||||
"T3ZlcnJpZGVzEC8SLworVjQ4QWRkSW1hZ2VQb3J0VG9JbnZlbnRvcnlJdGVt",
|
||||
"R2V0RGVmaW5pdGlvbhAwEhYKElY0OUNhbldhbGxSdW5UcmFpdBAxEh8KG1Y1",
|
||||
"MFN0YXRlTWFjaGluZURlZmF1bHRTdGF0ZRAyEhwKGFY1MVJlbW92ZVN3aW5n",
|
||||
"SGFuZGxlUG9ydBAzEhgKFFY1MkNhbldhbGxDbGltYlRyYWl0EDQSHAoYVjUz",
|
||||
"RGVjb3JydXB0T2JqZWN0Qm9hcmRzEDUSEgoOVjU0Q2FuRmx5VHJhaXQQNhIe",
|
||||
"ChpWNTVSZWdlbmVyYXRlRW50aXRpZXNFZGdlcxA3EiIKHlY1NkFkZEhvbG90",
|
||||
"YXJSZWNvcmRpbmdDaGlwUG9ydBA4EhwKGFY1N0Vuc3VyZUlucHV0c01hdGNo",
|
||||
"RGVzYxA5EioKJlY1OFBvcHVsYXRlTWlzc2luZ0dsb2JhbEVudGl0aWVzRmll",
|
||||
"bGRzEDoSHwobVjU5UHJvamVjdGlsZUhpdE90aGVyRGFtYWdlEDsSMgouVjYw",
|
||||
"QWRkVGFnc0xpc3RQb3J0VG9JbnZlbnRvcnlJdGVtR2V0RGVmaW5pdGlvbhA8",
|
||||
"EhsKF1Y2MUFpckNvbnRyb2xQZXJjZW50YWdlED0SHAoYVjYyRnVuY3Rpb25E",
|
||||
"ZWZPdXRCdXNOb2RlED4SLAooVjYzQWRkTmV3VmFsdWVUb1ZhcmlhYmxlQ2hh",
|
||||
"bmdlRXZlbnRDaGlwcxA/EioKJlY2NFJlbW92ZURlcHJlY2F0ZWRSZXF1ZXN0",
|
||||
"V2FsbFJ1blBvcnRzEEASHwobVjY1Tm9EdXBsaWNhdGVGdW5jdGlvbk5hbWVz",
|
||||
"EEESFgoSVjY2RnVuY3Rpb25OYW1lU09BEEISHwobVjY3UmVtb3ZlTm9uU09B",
|
||||
"RnVuY3Rpb25OYW1lEEMSMgouVjY4QWRkVmFsdWVUb1JlbWFpbmluZ1Zhcmlh",
|
||||
"YmxlQ2hhbmdlRXZlbnRDaGlwcxBEEiMKH1Y2OUFkZE9iamVjdFByb3BlcnRp",
|
||||
"ZXNTdGF0ZURhdGEQRRIWChJWNzBTT0FGdW5jdGlvbkNhbGwQRhIUChBWNzFE",
|
||||
"ZWNvcnJ1cHRQYXNzEEcSJgoiVjcyQWRkUG9ydHNUb1JlcXVlc3RXYWxsQ2xp",
|
||||
"bWJTdGFydBBIEigKJFY3M0FkZER1cmF0aW9uUG9ydFRvUmVxdWVzdFNsaWRl",
|
||||
"Tm9kZRBJEiEKHVY3NERlY29ycnVwdENoaXBMb2NhbFBvc2l0aW9uEEoSIQod",
|
||||
"Vjc1QWRkT2JqZWN0UHJvcGVydHlOb2RlRmllbGQQSxIbChdWNzZSZXBsaWNh",
|
||||
"dGVkR3JhcGhOZXdJZBBMEiUKIVY3N1JhbmdlZFdlYXBvblRvUmFuZ2VkV2Vh",
|
||||
"cG9uUHJvcBBNEjQKMFY3OEFkZFN5bmNQbGF5ZXJNZW1vcnlBbmRTeW5jUmVj",
|
||||
"Um9vbU9iamVjdE1lbW9yeRBOEiEKHVY3OUFkZFJvb21XaWRlQXNzZXRzU3Rh",
|
||||
"dGVEYXRhEE8SJgoiVjgwVW5iaW5kTWlzY29uZmlndXJlZEV2ZW50U2VuZGVy",
|
||||
"cxBQEiYKIlY4MUFkZE1vcmVCeXRlc1RvQ2lyY3VpdFNpZ25hbERhdGEQURI+",
|
||||
"CjpWODJBZGRDdXN0b21BdmF0YXJFeGVjUG9ydFRvRGlzY292ZXJ5U2VjdGlv",
|
||||
"blR5cGVTd2l0Y2hOb2RlEFISLworVjgzRml4RHVwbGljYXRlUHJvamVjdGls",
|
||||
"ZUhpdFBsYXllckV2ZW50R3VpZBBTEjYKMlY4NEFkZFJvb21FeGVjUG9ydFRv",
|
||||
"RGlzY292ZXJ5U2VjdGlvblR5cGVTd2l0Y2hOb2RlEFQSIwofVjg1QWRkUGxh",
|
||||
"eWVyUHJvcGVydGllc1N0YXRlRGF0YRBVEhQKEFY4Nk1lc3NhZ2VzU3RhdGUQ",
|
||||
"VhJACjxWODdBZGRQbGF5ZXJBY2NvdW50c0V4ZWNQb3J0VG9EaXNjb3ZlcnlT",
|
||||
"ZWN0aW9uVHlwZVN3aXRjaE5vZGUQVxIvCitWODhBZGRQbGF5ZXJBY2NvdW50",
|
||||
"UG9ydFRvR2V0Um9vbURldGFpbHNOb2RlEFgSKQolVjg5QWRkVHVyblNwZWVk",
|
||||
"UG9ydHNUb09iamVjdE1vdmVOb2RlcxBZEi4KKlY5MEFkZFNob3VsZFdhaXRG",
|
||||
"b3JBdWRpb1BvcnRzVG9HYW1lQUlOb2RlcxBaEiIKHlY5MVF1aWNrQ29uZmln",
|
||||
"T2JqZWN0UHJvcGVydGllcxBbEhwKGFY5MkZpeENvcnJ1cHRlZE5vZGVzUGFz",
|
||||
"cxBcEhcKE1Y5M0dhbWVBSUVycm9yUG9ydHMQXRIcChhWOTRSZWN1cnNpb25G",
|
||||
"b3JGdW5jdGlvbnMQXhInCiNWOTVBZGRDb252ZXJzYXRpb25JdGVtSWRzVG9B",
|
||||
"SUV2ZW50cxBfEiYKIlY5NkFkZENvbnZlcnNhdGlvbkl0ZW1JZHNUb0FJTm9k",
|
||||
"ZXMQYBIVChFWOTdCZWhhdmlvcnNTdGF0ZRBhEhgKFFY5OEJlaGF2aW9yR3Jh",
|
||||
"cGhJbnN0EGISHAoYVjk5QmVoYXZpb3JCb2FyZE5vZGVJbnN0EGMSHQoZVjEw",
|
||||
"MEJlaGF2aW9yQm9hcmRHbG9iYWxJZBBkEgwKCFYxMDFTa2lwEGUSHgoaVjEw",
|
||||
"MlVzZUNvbnRleHRUb0dlbkFJTm9kZXMQZhImCiJWMTAzUmVtb3ZlVW5zdXBw",
|
||||
"b3J0ZWRIb21lVmFsdWVEYXRhEGcSGgoWVjEwNEFkZEdlbkFJRXJyb3JQb3J0",
|
||||
"cxBoEhsKF1YxMDVBZGRUZW1wZXJhdHVyZVBvcnRzEGkSIAocVjEwNklzQXZh",
|
||||
"dGFyQm9keUVuYWJsZWRUcmFpdBBqEiIKHlYxMDdBZGRGdW5jdGlvbkRlY2xE",
|
||||
"ZXNjcmlwdGlvbhBrEhUKEVYxMDhBZGRNb2RlbFBvcnRzEGwSLworVjEwOUFk",
|
||||
"ZEdlblNlbmRBSVJlY05ldEltYWdlUHJvbXB0RXJyb3JQb3J0cxBtEiYKIlYx",
|
||||
"MTBVc2VDb250ZXh0VG9NZXNoUHJlc2VudGVyTm9kZXMQbhIeChpWMTExQUlG",
|
||||
"dW5jdGlvbkNvbnN0YW50Tm9kZRBvEhsKF1YxMTJDaGF0QUlGdW5jdGlvbkNh",
|
||||
"bGxzEHASEQoNTGF0ZXN0VmVyc2lvbhBwGgIQAUIWqgITQ2lyY3VpdHNWMi5Q",
|
||||
"cm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.CircuitSerializationVersion), }, null, null));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum CircuitSerializationVersion {
|
||||
[pbr::OriginalName("V0New")] V0New = 0,
|
||||
[pbr::OriginalName("V1InitialVersion")] V1InitialVersion = 1,
|
||||
[pbr::OriginalName("V2VariablesImproved")] V2VariablesImproved = 2,
|
||||
[pbr::OriginalName("V3ClassStructures")] V3ClassStructures = 3,
|
||||
[pbr::OriginalName("V4VariablesNewMesh")] V4VariablesNewMesh = 4,
|
||||
[pbr::OriginalName("V5CircuitBuses")] V5CircuitBuses = 5,
|
||||
[pbr::OriginalName("V6EventDefinitionChips")] V6EventDefinitionChips = 6,
|
||||
[pbr::OriginalName("V7EventSenderChips")] V7EventSenderChips = 7,
|
||||
[pbr::OriginalName("V8NoObjectGuids")] V8NoObjectGuids = 8,
|
||||
[pbr::OriginalName("V9InvalidChipColor")] V9InvalidChipColor = 9,
|
||||
[pbr::OriginalName("V10NoInternalGuids")] V10NoInternalGuids = 10,
|
||||
[pbr::OriginalName("V11TypedSerializedGuids")] V11TypedSerializedGuids = 11,
|
||||
[pbr::OriginalName("V12EventIdOnlyEventRegistration")] V12EventIdOnlyEventRegistration = 12,
|
||||
[pbr::OriginalName("V13VariablesMemoryTypes")] V13VariablesMemoryTypes = 13,
|
||||
[pbr::OriginalName("V14FixGetAllPlayersNode")] V14FixGetAllPlayersNode = 14,
|
||||
[pbr::OriginalName("V15VariableHomeValues")] V15VariableHomeValues = 15,
|
||||
[pbr::OriginalName("V16TypeSysBreakout")] V16TypeSysBreakout = 16,
|
||||
[pbr::OriginalName("V17NoDynamicDescVariables")] V17NoDynamicDescVariables = 17,
|
||||
[pbr::OriginalName("V18NoCustomCommentCompression")] V18NoCustomCommentCompression = 18,
|
||||
[pbr::OriginalName("V19SampleAudioTrimData")] V19SampleAudioTrimData = 19,
|
||||
[pbr::OriginalName("V20ShowdownRelease")] V20ShowdownRelease = 20,
|
||||
[pbr::OriginalName("V21ObjectBoardTransform")] V21ObjectBoardTransform = 21,
|
||||
[pbr::OriginalName("V22DestinationStringIdentifiers")] V22DestinationStringIdentifiers = 22,
|
||||
[pbr::OriginalName("V23PlayerPortOnLocalOnlyChips")] V23PlayerPortOnLocalOnlyChips = 23,
|
||||
[pbr::OriginalName("V24VignetteIntensityPort")] V24VignetteIntensityPort = 24,
|
||||
[pbr::OriginalName("V25UnityVecAndQuatRemoval")] V25UnityVecAndQuatRemoval = 25,
|
||||
[pbr::OriginalName("V26AudioConstantParams")] V26AudioConstantParams = 26,
|
||||
[pbr::OriginalName("V27DataTableRegistry")] V27DataTableRegistry = 27,
|
||||
[pbr::OriginalName("V28AudioNodeNonNullSfxAudioData")] V28AudioNodeNonNullSfxAudioData = 28,
|
||||
[pbr::OriginalName("V29PlayerLeavingPlayerLeftEventSplit")] V29PlayerLeavingPlayerLeftEventSplit = 29,
|
||||
[pbr::OriginalName("V30StudioFunctionSignatureRegistry")] V30StudioFunctionSignatureRegistry = 30,
|
||||
[pbr::OriginalName("V31ProgressionTableLevelsPort")] V31ProgressionTableLevelsPort = 31,
|
||||
[pbr::OriginalName("V32MoodsV2ParameterRange")] V32MoodsV2ParameterRange = 32,
|
||||
[pbr::OriginalName("V33PlayerTraits")] V33PlayerTraits = 33,
|
||||
[pbr::OriginalName("V34InteractionFilterToggle")] V34InteractionFilterToggle = 34,
|
||||
[pbr::OriginalName("V35CircuitGlobalEntities")] V35CircuitGlobalEntities = 35,
|
||||
[pbr::OriginalName("V36CircuitGraphEntities")] V36CircuitGraphEntities = 36,
|
||||
[pbr::OriginalName("V37CircuitGraphEntitiesPorts")] V37CircuitGraphEntitiesPorts = 37,
|
||||
[pbr::OriginalName("V38CircuitGraphEntitiesEdges")] V38CircuitGraphEntitiesEdges = 38,
|
||||
[pbr::OriginalName("V39PlayerTraitsOnPlayerCircuitGraph")] V39PlayerTraitsOnPlayerCircuitGraph = 39,
|
||||
[pbr::OriginalName("V40ReplicatorRegistry")] V40ReplicatorRegistry = 40,
|
||||
[pbr::OriginalName("V41PlayerTraitsAddCrouchProneSlideSpeeds")] V41PlayerTraitsAddCrouchProneSlideSpeeds = 41,
|
||||
[pbr::OriginalName("V42GraphDefIds")] V42GraphDefIds = 42,
|
||||
[pbr::OriginalName("V43NodeDefIds")] V43NodeDefIds = 43,
|
||||
[pbr::OriginalName("V44RewriteInitialization")] V44RewriteInitialization = 44,
|
||||
[pbr::OriginalName("V45SerializeStudioFunctionNodeDesc")] V45SerializeStudioFunctionNodeDesc = 45,
|
||||
[pbr::OriginalName("V46FixDataTableCorruption")] V46FixDataTableCorruption = 46,
|
||||
[pbr::OriginalName("V47PlayerTraitOverrides")] V47PlayerTraitOverrides = 47,
|
||||
[pbr::OriginalName("V48AddImagePortToInventoryItemGetDefinition")] V48AddImagePortToInventoryItemGetDefinition = 48,
|
||||
[pbr::OriginalName("V49CanWallRunTrait")] V49CanWallRunTrait = 49,
|
||||
[pbr::OriginalName("V50StateMachineDefaultState")] V50StateMachineDefaultState = 50,
|
||||
[pbr::OriginalName("V51RemoveSwingHandlePort")] V51RemoveSwingHandlePort = 51,
|
||||
[pbr::OriginalName("V52CanWallClimbTrait")] V52CanWallClimbTrait = 52,
|
||||
[pbr::OriginalName("V53DecorruptObjectBoards")] V53DecorruptObjectBoards = 53,
|
||||
[pbr::OriginalName("V54CanFlyTrait")] V54CanFlyTrait = 54,
|
||||
[pbr::OriginalName("V55RegenerateEntitiesEdges")] V55RegenerateEntitiesEdges = 55,
|
||||
[pbr::OriginalName("V56AddHolotarRecordingChipPort")] V56AddHolotarRecordingChipPort = 56,
|
||||
[pbr::OriginalName("V57EnsureInputsMatchDesc")] V57EnsureInputsMatchDesc = 57,
|
||||
[pbr::OriginalName("V58PopulateMissingGlobalEntitiesFields")] V58PopulateMissingGlobalEntitiesFields = 58,
|
||||
[pbr::OriginalName("V59ProjectileHitOtherDamage")] V59ProjectileHitOtherDamage = 59,
|
||||
[pbr::OriginalName("V60AddTagsListPortToInventoryItemGetDefinition")] V60AddTagsListPortToInventoryItemGetDefinition = 60,
|
||||
[pbr::OriginalName("V61AirControlPercentage")] V61AirControlPercentage = 61,
|
||||
[pbr::OriginalName("V62FunctionDefOutBusNode")] V62FunctionDefOutBusNode = 62,
|
||||
[pbr::OriginalName("V63AddNewValueToVariableChangeEventChips")] V63AddNewValueToVariableChangeEventChips = 63,
|
||||
[pbr::OriginalName("V64RemoveDeprecatedRequestWallRunPorts")] V64RemoveDeprecatedRequestWallRunPorts = 64,
|
||||
[pbr::OriginalName("V65NoDuplicateFunctionNames")] V65NoDuplicateFunctionNames = 65,
|
||||
[pbr::OriginalName("V66FunctionNameSOA")] V66FunctionNameSoa = 66,
|
||||
[pbr::OriginalName("V67RemoveNonSOAFunctionName")] V67RemoveNonSoafunctionName = 67,
|
||||
[pbr::OriginalName("V68AddValueToRemainingVariableChangeEventChips")] V68AddValueToRemainingVariableChangeEventChips = 68,
|
||||
[pbr::OriginalName("V69AddObjectPropertiesStateData")] V69AddObjectPropertiesStateData = 69,
|
||||
[pbr::OriginalName("V70SOAFunctionCall")] V70SoafunctionCall = 70,
|
||||
[pbr::OriginalName("V71DecorruptPass")] V71DecorruptPass = 71,
|
||||
[pbr::OriginalName("V72AddPortsToRequestWallClimbStart")] V72AddPortsToRequestWallClimbStart = 72,
|
||||
[pbr::OriginalName("V73AddDurationPortToRequestSlideNode")] V73AddDurationPortToRequestSlideNode = 73,
|
||||
[pbr::OriginalName("V74DecorruptChipLocalPosition")] V74DecorruptChipLocalPosition = 74,
|
||||
[pbr::OriginalName("V75AddObjectPropertyNodeField")] V75AddObjectPropertyNodeField = 75,
|
||||
[pbr::OriginalName("V76ReplicatedGraphNewId")] V76ReplicatedGraphNewId = 76,
|
||||
[pbr::OriginalName("V77RangedWeaponToRangedWeaponProp")] V77RangedWeaponToRangedWeaponProp = 77,
|
||||
[pbr::OriginalName("V78AddSyncPlayerMemoryAndSyncRecRoomObjectMemory")] V78AddSyncPlayerMemoryAndSyncRecRoomObjectMemory = 78,
|
||||
[pbr::OriginalName("V79AddRoomWideAssetsStateData")] V79AddRoomWideAssetsStateData = 79,
|
||||
[pbr::OriginalName("V80UnbindMisconfiguredEventSenders")] V80UnbindMisconfiguredEventSenders = 80,
|
||||
[pbr::OriginalName("V81AddMoreBytesToCircuitSignalData")] V81AddMoreBytesToCircuitSignalData = 81,
|
||||
[pbr::OriginalName("V82AddCustomAvatarExecPortToDiscoverySectionTypeSwitchNode")] V82AddCustomAvatarExecPortToDiscoverySectionTypeSwitchNode = 82,
|
||||
[pbr::OriginalName("V83FixDuplicateProjectileHitPlayerEventGuid")] V83FixDuplicateProjectileHitPlayerEventGuid = 83,
|
||||
[pbr::OriginalName("V84AddRoomExecPortToDiscoverySectionTypeSwitchNode")] V84AddRoomExecPortToDiscoverySectionTypeSwitchNode = 84,
|
||||
[pbr::OriginalName("V85AddPlayerPropertiesStateData")] V85AddPlayerPropertiesStateData = 85,
|
||||
[pbr::OriginalName("V86MessagesState")] V86MessagesState = 86,
|
||||
[pbr::OriginalName("V87AddPlayerAccountsExecPortToDiscoverySectionTypeSwitchNode")] V87AddPlayerAccountsExecPortToDiscoverySectionTypeSwitchNode = 87,
|
||||
[pbr::OriginalName("V88AddPlayerAccountPortToGetRoomDetailsNode")] V88AddPlayerAccountPortToGetRoomDetailsNode = 88,
|
||||
[pbr::OriginalName("V89AddTurnSpeedPortsToObjectMoveNodes")] V89AddTurnSpeedPortsToObjectMoveNodes = 89,
|
||||
[pbr::OriginalName("V90AddShouldWaitForAudioPortsToGameAINodes")] V90AddShouldWaitForAudioPortsToGameAinodes = 90,
|
||||
[pbr::OriginalName("V91QuickConfigObjectProperties")] V91QuickConfigObjectProperties = 91,
|
||||
[pbr::OriginalName("V92FixCorruptedNodesPass")] V92FixCorruptedNodesPass = 92,
|
||||
[pbr::OriginalName("V93GameAIErrorPorts")] V93GameAierrorPorts = 93,
|
||||
[pbr::OriginalName("V94RecursionForFunctions")] V94RecursionForFunctions = 94,
|
||||
[pbr::OriginalName("V95AddConversationItemIdsToAIEvents")] V95AddConversationItemIdsToAievents = 95,
|
||||
[pbr::OriginalName("V96AddConversationItemIdsToAINodes")] V96AddConversationItemIdsToAinodes = 96,
|
||||
[pbr::OriginalName("V97BehaviorsState")] V97BehaviorsState = 97,
|
||||
[pbr::OriginalName("V98BehaviorGraphInst")] V98BehaviorGraphInst = 98,
|
||||
[pbr::OriginalName("V99BehaviorBoardNodeInst")] V99BehaviorBoardNodeInst = 99,
|
||||
[pbr::OriginalName("V100BehaviorBoardGlobalId")] V100BehaviorBoardGlobalId = 100,
|
||||
[pbr::OriginalName("V101Skip")] V101Skip = 101,
|
||||
[pbr::OriginalName("V102UseContextToGenAINodes")] V102UseContextToGenAinodes = 102,
|
||||
[pbr::OriginalName("V103RemoveUnsupportedHomeValueData")] V103RemoveUnsupportedHomeValueData = 103,
|
||||
[pbr::OriginalName("V104AddGenAIErrorPorts")] V104AddGenAierrorPorts = 104,
|
||||
[pbr::OriginalName("V105AddTemperaturePorts")] V105AddTemperaturePorts = 105,
|
||||
[pbr::OriginalName("V106IsAvatarBodyEnabledTrait")] V106IsAvatarBodyEnabledTrait = 106,
|
||||
[pbr::OriginalName("V107AddFunctionDeclDescription")] V107AddFunctionDeclDescription = 107,
|
||||
[pbr::OriginalName("V108AddModelPorts")] V108AddModelPorts = 108,
|
||||
[pbr::OriginalName("V109AddGenSendAIRecNetImagePromptErrorPorts")] V109AddGenSendAirecNetImagePromptErrorPorts = 109,
|
||||
[pbr::OriginalName("V110UseContextToMeshPresenterNodes")] V110UseContextToMeshPresenterNodes = 110,
|
||||
[pbr::OriginalName("V111AIFunctionConstantNode")] V111AifunctionConstantNode = 111,
|
||||
[pbr::OriginalName("V112ChatAIFunctionCalls")] V112ChatAifunctionCalls = 112,
|
||||
[pbr::OriginalName("LatestVersion", PreferredAlias = false)] LatestVersion = 112,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
431
CircuitSignalData.cs
Normal file
431
CircuitSignalData.cs
Normal file
@@ -0,0 +1,431 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_signal_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_signal_data.proto</summary>
|
||||
public static partial class CircuitSignalDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_signal_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitSignalDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiVjaXJjdWl0c192Mi9jaXJjdWl0X3NpZ25hbF9kYXRhLnByb3RvEgtjaXJj",
|
||||
"dWl0c192MiLLAQoRQ2lyY3VpdFNpZ25hbERhdGESFQoNYmFja2luZ19ieXRl",
|
||||
"cxgGIAEoDBIWCg5iYWNraW5nX3N0cmluZxgFIAEoCRIcChRERVBSRUNBVEVE",
|
||||
"X3R5cGVfa2luZBgBIAEoBRIfChdERVBSRUNBVEVEX2JhY2tpbmdfYm9vbBgC",
|
||||
"IAEoCBIgChhERVBSRUNBVEVEX2JhY2tpbmdfZmxvYXQYBCABKAISJgoeREVQ",
|
||||
"UkVDQVRFRF9pbnQzMl9iYWNraW5nX2J5dGVzGAMgASgFQhaqAhNDaXJjdWl0",
|
||||
"c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitSignalData), global::CircuitsV2.Protobuf.CircuitSignalData.Parser, new[]{ "BackingBytes", "BackingString", "DEPRECATEDTypeKind", "DEPRECATEDBackingBool", "DEPRECATEDBackingFloat", "DEPRECATEDInt32BackingBytes" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitSignalData : pb::IMessage<CircuitSignalData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitSignalData> _parser = new pb::MessageParser<CircuitSignalData>(() => new CircuitSignalData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitSignalData> 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.CircuitSignalDataReflection.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 CircuitSignalData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitSignalData(CircuitSignalData other) : this() {
|
||||
backingBytes_ = other.backingBytes_;
|
||||
backingString_ = other.backingString_;
|
||||
dEPRECATEDTypeKind_ = other.dEPRECATEDTypeKind_;
|
||||
dEPRECATEDBackingBool_ = other.dEPRECATEDBackingBool_;
|
||||
dEPRECATEDBackingFloat_ = other.dEPRECATEDBackingFloat_;
|
||||
dEPRECATEDInt32BackingBytes_ = other.dEPRECATEDInt32BackingBytes_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitSignalData Clone() {
|
||||
return new CircuitSignalData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "backing_bytes" field.</summary>
|
||||
public const int BackingBytesFieldNumber = 6;
|
||||
private pb::ByteString backingBytes_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString BackingBytes {
|
||||
get { return backingBytes_; }
|
||||
set {
|
||||
backingBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "backing_string" field.</summary>
|
||||
public const int BackingStringFieldNumber = 5;
|
||||
private string backingString_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string BackingString {
|
||||
get { return backingString_; }
|
||||
set {
|
||||
backingString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_type_kind" field.</summary>
|
||||
public const int DEPRECATEDTypeKindFieldNumber = 1;
|
||||
private int dEPRECATEDTypeKind_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DEPRECATEDTypeKind {
|
||||
get { return dEPRECATEDTypeKind_; }
|
||||
set {
|
||||
dEPRECATEDTypeKind_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_backing_bool" field.</summary>
|
||||
public const int DEPRECATEDBackingBoolFieldNumber = 2;
|
||||
private bool dEPRECATEDBackingBool_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDBackingBool {
|
||||
get { return dEPRECATEDBackingBool_; }
|
||||
set {
|
||||
dEPRECATEDBackingBool_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_backing_float" field.</summary>
|
||||
public const int DEPRECATEDBackingFloatFieldNumber = 4;
|
||||
private float dEPRECATEDBackingFloat_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float DEPRECATEDBackingFloat {
|
||||
get { return dEPRECATEDBackingFloat_; }
|
||||
set {
|
||||
dEPRECATEDBackingFloat_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_int32_backing_bytes" field.</summary>
|
||||
public const int DEPRECATEDInt32BackingBytesFieldNumber = 3;
|
||||
private int dEPRECATEDInt32BackingBytes_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DEPRECATEDInt32BackingBytes {
|
||||
get { return dEPRECATEDInt32BackingBytes_; }
|
||||
set {
|
||||
dEPRECATEDInt32BackingBytes_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitSignalData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitSignalData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BackingBytes != other.BackingBytes) return false;
|
||||
if (BackingString != other.BackingString) return false;
|
||||
if (DEPRECATEDTypeKind != other.DEPRECATEDTypeKind) return false;
|
||||
if (DEPRECATEDBackingBool != other.DEPRECATEDBackingBool) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEPRECATEDBackingFloat, other.DEPRECATEDBackingFloat)) return false;
|
||||
if (DEPRECATEDInt32BackingBytes != other.DEPRECATEDInt32BackingBytes) 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 (BackingBytes.Length != 0) hash ^= BackingBytes.GetHashCode();
|
||||
if (BackingString.Length != 0) hash ^= BackingString.GetHashCode();
|
||||
if (DEPRECATEDTypeKind != 0) hash ^= DEPRECATEDTypeKind.GetHashCode();
|
||||
if (DEPRECATEDBackingBool != false) hash ^= DEPRECATEDBackingBool.GetHashCode();
|
||||
if (DEPRECATEDBackingFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEPRECATEDBackingFloat);
|
||||
if (DEPRECATEDInt32BackingBytes != 0) hash ^= DEPRECATEDInt32BackingBytes.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 (DEPRECATEDTypeKind != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(DEPRECATEDTypeKind);
|
||||
}
|
||||
if (DEPRECATEDBackingBool != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDBackingBool);
|
||||
}
|
||||
if (DEPRECATEDInt32BackingBytes != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DEPRECATEDInt32BackingBytes);
|
||||
}
|
||||
if (DEPRECATEDBackingFloat != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(DEPRECATEDBackingFloat);
|
||||
}
|
||||
if (BackingString.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(BackingString);
|
||||
}
|
||||
if (BackingBytes.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteBytes(BackingBytes);
|
||||
}
|
||||
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 (DEPRECATEDTypeKind != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(DEPRECATEDTypeKind);
|
||||
}
|
||||
if (DEPRECATEDBackingBool != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDBackingBool);
|
||||
}
|
||||
if (DEPRECATEDInt32BackingBytes != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DEPRECATEDInt32BackingBytes);
|
||||
}
|
||||
if (DEPRECATEDBackingFloat != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(DEPRECATEDBackingFloat);
|
||||
}
|
||||
if (BackingString.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(BackingString);
|
||||
}
|
||||
if (BackingBytes.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteBytes(BackingBytes);
|
||||
}
|
||||
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 (BackingBytes.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(BackingBytes);
|
||||
}
|
||||
if (BackingString.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(BackingString);
|
||||
}
|
||||
if (DEPRECATEDTypeKind != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDTypeKind);
|
||||
}
|
||||
if (DEPRECATEDBackingBool != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DEPRECATEDBackingFloat != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (DEPRECATEDInt32BackingBytes != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDInt32BackingBytes);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitSignalData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BackingBytes.Length != 0) {
|
||||
BackingBytes = other.BackingBytes;
|
||||
}
|
||||
if (other.BackingString.Length != 0) {
|
||||
BackingString = other.BackingString;
|
||||
}
|
||||
if (other.DEPRECATEDTypeKind != 0) {
|
||||
DEPRECATEDTypeKind = other.DEPRECATEDTypeKind;
|
||||
}
|
||||
if (other.DEPRECATEDBackingBool != false) {
|
||||
DEPRECATEDBackingBool = other.DEPRECATEDBackingBool;
|
||||
}
|
||||
if (other.DEPRECATEDBackingFloat != 0F) {
|
||||
DEPRECATEDBackingFloat = other.DEPRECATEDBackingFloat;
|
||||
}
|
||||
if (other.DEPRECATEDInt32BackingBytes != 0) {
|
||||
DEPRECATEDInt32BackingBytes = other.DEPRECATEDInt32BackingBytes;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDTypeKind = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDBackingBool = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDInt32BackingBytes = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
DEPRECATEDBackingFloat = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
BackingString = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
BackingBytes = input.ReadBytes();
|
||||
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: {
|
||||
DEPRECATEDTypeKind = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDBackingBool = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDInt32BackingBytes = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
DEPRECATEDBackingFloat = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
BackingString = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
BackingBytes = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
520
CircuitStudioUnitySubAssetUsageData.cs
Normal file
520
CircuitStudioUnitySubAssetUsageData.cs
Normal file
@@ -0,0 +1,520 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_studio_unity_sub_asset_usage_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_studio_unity_sub_asset_usage_data.proto</summary>
|
||||
public static partial class CircuitStudioUnitySubAssetUsageDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_studio_unity_sub_asset_usage_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitStudioUnitySubAssetUsageDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjtjaXJjdWl0c192Mi9jaXJjdWl0X3N0dWRpb191bml0eV9zdWJfYXNzZXRf",
|
||||
"dXNhZ2VfZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRh",
|
||||
"LnByb3RvInIKI0NpcmN1aXRTdHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VEYXRh",
|
||||
"EksKDHVuaXR5X2Fzc2V0cxgBIAMoCzI1LmNpcmN1aXRzX3YyLkNpcmN1aXRT",
|
||||
"dHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VFbnRyeURhdGEizQEKKENpcmN1aXRT",
|
||||
"dHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VFbnRyeURhdGESJgoOdW5pdHlfYXNz",
|
||||
"ZXRfaWQYASABKAsyDi5jb3JlLkd1aWREYXRhEjIKGnJlZmVyZW5jZWRfdW5p",
|
||||
"dHlfYXNzZXRfaWRzGAIgAygLMg4uY29yZS5HdWlkRGF0YRJFChB1bml0eV9h",
|
||||
"c3NldF9raW5kGAMgASgOMisuY2lyY3VpdHNfdjIuQ2lyY3VpdFN0dWRpb1Vu",
|
||||
"aXR5U3ViQXNzZXRLaW5kKlAKHkNpcmN1aXRTdHVkaW9Vbml0eVN1YkFzc2V0",
|
||||
"S2luZBINCglBdWRpb0NsaXAQABIOCgpQcm9qZWN0aWxlEAESDwoLUGFydGlj",
|
||||
"bGVWZngQAkIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageData), global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageData.Parser, new[]{ "UnityAssets" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData), global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData.Parser, new[]{ "UnityAssetId", "ReferencedUnityAssetIds", "UnityAssetKind" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum CircuitStudioUnitySubAssetKind {
|
||||
[pbr::OriginalName("AudioClip")] AudioClip = 0,
|
||||
[pbr::OriginalName("Projectile")] Projectile = 1,
|
||||
[pbr::OriginalName("ParticleVfx")] ParticleVfx = 2,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitStudioUnitySubAssetUsageData : pb::IMessage<CircuitStudioUnitySubAssetUsageData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitStudioUnitySubAssetUsageData> _parser = new pb::MessageParser<CircuitStudioUnitySubAssetUsageData>(() => new CircuitStudioUnitySubAssetUsageData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitStudioUnitySubAssetUsageData> 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.CircuitStudioUnitySubAssetUsageDataReflection.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 CircuitStudioUnitySubAssetUsageData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageData(CircuitStudioUnitySubAssetUsageData other) : this() {
|
||||
unityAssets_ = other.unityAssets_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageData Clone() {
|
||||
return new CircuitStudioUnitySubAssetUsageData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_assets" field.</summary>
|
||||
public const int UnityAssetsFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> _repeated_unityAssets_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> unityAssets_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> UnityAssets {
|
||||
get { return unityAssets_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitStudioUnitySubAssetUsageData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitStudioUnitySubAssetUsageData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!unityAssets_.Equals(other.unityAssets_)) 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;
|
||||
hash ^= unityAssets_.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
|
||||
unityAssets_.WriteTo(output, _repeated_unityAssets_codec);
|
||||
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) {
|
||||
unityAssets_.WriteTo(ref output, _repeated_unityAssets_codec);
|
||||
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;
|
||||
size += unityAssets_.CalculateSize(_repeated_unityAssets_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitStudioUnitySubAssetUsageData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
unityAssets_.Add(other.unityAssets_);
|
||||
_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: {
|
||||
unityAssets_.AddEntriesFrom(input, _repeated_unityAssets_codec);
|
||||
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: {
|
||||
unityAssets_.AddEntriesFrom(ref input, _repeated_unityAssets_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitStudioUnitySubAssetUsageEntryData : pb::IMessage<CircuitStudioUnitySubAssetUsageEntryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData> _parser = new pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData>(() => new CircuitStudioUnitySubAssetUsageEntryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData> 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.CircuitStudioUnitySubAssetUsageDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 CircuitStudioUnitySubAssetUsageEntryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageEntryData(CircuitStudioUnitySubAssetUsageEntryData other) : this() {
|
||||
unityAssetId_ = other.unityAssetId_ != null ? other.unityAssetId_.Clone() : null;
|
||||
referencedUnityAssetIds_ = other.referencedUnityAssetIds_.Clone();
|
||||
unityAssetKind_ = other.unityAssetKind_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageEntryData Clone() {
|
||||
return new CircuitStudioUnitySubAssetUsageEntryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_id" field.</summary>
|
||||
public const int UnityAssetIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData unityAssetId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData UnityAssetId {
|
||||
get { return unityAssetId_; }
|
||||
set {
|
||||
unityAssetId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "referenced_unity_asset_ids" field.</summary>
|
||||
public const int ReferencedUnityAssetIdsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_referencedUnityAssetIds_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.Core.GuidData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> referencedUnityAssetIds_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> ReferencedUnityAssetIds {
|
||||
get { return referencedUnityAssetIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_kind" field.</summary>
|
||||
public const int UnityAssetKindFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind unityAssetKind_ = global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind UnityAssetKind {
|
||||
get { return unityAssetKind_; }
|
||||
set {
|
||||
unityAssetKind_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitStudioUnitySubAssetUsageEntryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitStudioUnitySubAssetUsageEntryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(UnityAssetId, other.UnityAssetId)) return false;
|
||||
if(!referencedUnityAssetIds_.Equals(other.referencedUnityAssetIds_)) return false;
|
||||
if (UnityAssetKind != other.UnityAssetKind) 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 (unityAssetId_ != null) hash ^= UnityAssetId.GetHashCode();
|
||||
hash ^= referencedUnityAssetIds_.GetHashCode();
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) hash ^= UnityAssetKind.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 (unityAssetId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(output, _repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) UnityAssetKind);
|
||||
}
|
||||
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 (unityAssetId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(ref output, _repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) UnityAssetKind);
|
||||
}
|
||||
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 (unityAssetId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnityAssetId);
|
||||
}
|
||||
size += referencedUnityAssetIds_.CalculateSize(_repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) UnityAssetKind);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitStudioUnitySubAssetUsageEntryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.unityAssetId_ != null) {
|
||||
if (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
UnityAssetId.MergeFrom(other.UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.Add(other.referencedUnityAssetIds_);
|
||||
if (other.UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
UnityAssetKind = other.UnityAssetKind;
|
||||
}
|
||||
_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 (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(UnityAssetId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(input, _repeated_referencedUnityAssetIds_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
UnityAssetKind = (global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind) input.ReadEnum();
|
||||
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 (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(UnityAssetId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(ref input, _repeated_referencedUnityAssetIds_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
UnityAssetKind = (global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
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
|
||||
3456
CircuitTypeData.cs
Normal file
3456
CircuitTypeData.cs
Normal file
File diff suppressed because it is too large
Load Diff
280
CircuitsPlayerEventData.cs
Normal file
280
CircuitsPlayerEventData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuits_player_event_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/circuits_player_event_data.proto</summary>
|
||||
public static partial class CircuitsPlayerEventDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuits_player_event_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitsPlayerEventDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CixjaXJjdWl0c192Mi9jaXJjdWl0c19wbGF5ZXJfZXZlbnRfZGF0YS5wcm90",
|
||||
"bxILY2lyY3VpdHNfdjIiTQoXQ2lyY3VpdHNQbGF5ZXJFdmVudERhdGESFwoP",
|
||||
"cGxheWVyX2V2ZW50X2lkGAEgASgDEhkKEXBsYXllcl9ldmVudF9uYW1lGAIg",
|
||||
"ASgJQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitsPlayerEventData), global::CircuitsV2.Protobuf.CircuitsPlayerEventData.Parser, new[]{ "PlayerEventId", "PlayerEventName" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitsPlayerEventData : pb::IMessage<CircuitsPlayerEventData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitsPlayerEventData> _parser = new pb::MessageParser<CircuitsPlayerEventData>(() => new CircuitsPlayerEventData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitsPlayerEventData> 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.CircuitsPlayerEventDataReflection.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 CircuitsPlayerEventData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsPlayerEventData(CircuitsPlayerEventData other) : this() {
|
||||
playerEventId_ = other.playerEventId_;
|
||||
playerEventName_ = other.playerEventName_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsPlayerEventData Clone() {
|
||||
return new CircuitsPlayerEventData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_event_id" field.</summary>
|
||||
public const int PlayerEventIdFieldNumber = 1;
|
||||
private long playerEventId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long PlayerEventId {
|
||||
get { return playerEventId_; }
|
||||
set {
|
||||
playerEventId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_event_name" field.</summary>
|
||||
public const int PlayerEventNameFieldNumber = 2;
|
||||
private string playerEventName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string PlayerEventName {
|
||||
get { return playerEventName_; }
|
||||
set {
|
||||
playerEventName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitsPlayerEventData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitsPlayerEventData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PlayerEventId != other.PlayerEventId) return false;
|
||||
if (PlayerEventName != other.PlayerEventName) 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 (PlayerEventId != 0L) hash ^= PlayerEventId.GetHashCode();
|
||||
if (PlayerEventName.Length != 0) hash ^= PlayerEventName.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 (PlayerEventId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(PlayerEventId);
|
||||
}
|
||||
if (PlayerEventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(PlayerEventName);
|
||||
}
|
||||
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 (PlayerEventId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(PlayerEventId);
|
||||
}
|
||||
if (PlayerEventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(PlayerEventName);
|
||||
}
|
||||
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 (PlayerEventId != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerEventId);
|
||||
}
|
||||
if (PlayerEventName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayerEventName);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitsPlayerEventData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PlayerEventId != 0L) {
|
||||
PlayerEventId = other.PlayerEventId;
|
||||
}
|
||||
if (other.PlayerEventName.Length != 0) {
|
||||
PlayerEventName = other.PlayerEventName;
|
||||
}
|
||||
_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: {
|
||||
PlayerEventId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
PlayerEventName = input.ReadString();
|
||||
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: {
|
||||
PlayerEventId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
PlayerEventName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
354
CircuitsQuatData.cs
Normal file
354
CircuitsQuatData.cs
Normal file
@@ -0,0 +1,354 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits/shared/rec_room/circuits_quat_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.Shared.RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits/shared/rec_room/circuits_quat_data.proto</summary>
|
||||
public static partial class CircuitsQuatDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits/shared/rec_room/circuits_quat_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitsQuatDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjFjaXJjdWl0cy9zaGFyZWQvcmVjX3Jvb20vY2lyY3VpdHNfcXVhdF9kYXRh",
|
||||
"LnByb3RvEghjaXJjdWl0cyI+ChBDaXJjdWl0c1F1YXREYXRhEgkKAXgYASAB",
|
||||
"KAISCQoBeRgCIAEoAhIJCgF6GAMgASgCEgkKAXcYBCABKAJCI6oCIENpcmN1",
|
||||
"aXRzLlNoYXJlZC5SZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData), global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData.Parser, new[]{ "X", "Y", "Z", "W" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitsQuatData : pb::IMessage<CircuitsQuatData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitsQuatData> _parser = new pb::MessageParser<CircuitsQuatData>(() => new CircuitsQuatData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitsQuatData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatDataReflection.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 CircuitsQuatData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsQuatData(CircuitsQuatData other) : this() {
|
||||
x_ = other.x_;
|
||||
y_ = other.y_;
|
||||
z_ = other.z_;
|
||||
w_ = other.w_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsQuatData Clone() {
|
||||
return new CircuitsQuatData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "x" field.</summary>
|
||||
public const int XFieldNumber = 1;
|
||||
private float x_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float X {
|
||||
get { return x_; }
|
||||
set {
|
||||
x_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "y" field.</summary>
|
||||
public const int YFieldNumber = 2;
|
||||
private float y_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Y {
|
||||
get { return y_; }
|
||||
set {
|
||||
y_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "z" field.</summary>
|
||||
public const int ZFieldNumber = 3;
|
||||
private float z_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Z {
|
||||
get { return z_; }
|
||||
set {
|
||||
z_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "w" field.</summary>
|
||||
public const int WFieldNumber = 4;
|
||||
private float w_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float W {
|
||||
get { return w_; }
|
||||
set {
|
||||
w_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitsQuatData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitsQuatData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(W, other.W)) 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 (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
|
||||
if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
|
||||
if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
|
||||
if (W != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(W);
|
||||
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 (X != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(X);
|
||||
}
|
||||
if (Y != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Y);
|
||||
}
|
||||
if (Z != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(Z);
|
||||
}
|
||||
if (W != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(W);
|
||||
}
|
||||
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 (X != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(X);
|
||||
}
|
||||
if (Y != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Y);
|
||||
}
|
||||
if (Z != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(Z);
|
||||
}
|
||||
if (W != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(W);
|
||||
}
|
||||
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 (X != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (Y != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (Z != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (W != 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(CircuitsQuatData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.X != 0F) {
|
||||
X = other.X;
|
||||
}
|
||||
if (other.Y != 0F) {
|
||||
Y = other.Y;
|
||||
}
|
||||
if (other.Z != 0F) {
|
||||
Z = other.Z;
|
||||
}
|
||||
if (other.W != 0F) {
|
||||
W = other.W;
|
||||
}
|
||||
_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 13: {
|
||||
X = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Y = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
Z = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
W = 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 13: {
|
||||
X = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Y = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
Z = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
W = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
317
CircuitsVec3Data.cs
Normal file
317
CircuitsVec3Data.cs
Normal file
@@ -0,0 +1,317 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits/shared/rec_room/circuits_vec3_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.Shared.RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits/shared/rec_room/circuits_vec3_data.proto</summary>
|
||||
public static partial class CircuitsVec3DataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits/shared/rec_room/circuits_vec3_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitsVec3DataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjFjaXJjdWl0cy9zaGFyZWQvcmVjX3Jvb20vY2lyY3VpdHNfdmVjM19kYXRh",
|
||||
"LnByb3RvEghjaXJjdWl0cyIzChBDaXJjdWl0c1ZlYzNEYXRhEgkKAXgYASAB",
|
||||
"KAISCQoBeRgCIAEoAhIJCgF6GAMgASgCQiOqAiBDaXJjdWl0cy5TaGFyZWQu",
|
||||
"UmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data), global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data.Parser, new[]{ "X", "Y", "Z" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitsVec3Data : pb::IMessage<CircuitsVec3Data>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitsVec3Data> _parser = new pb::MessageParser<CircuitsVec3Data>(() => new CircuitsVec3Data());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitsVec3Data> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3DataReflection.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 CircuitsVec3Data() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsVec3Data(CircuitsVec3Data other) : this() {
|
||||
x_ = other.x_;
|
||||
y_ = other.y_;
|
||||
z_ = other.z_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitsVec3Data Clone() {
|
||||
return new CircuitsVec3Data(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "x" field.</summary>
|
||||
public const int XFieldNumber = 1;
|
||||
private float x_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float X {
|
||||
get { return x_; }
|
||||
set {
|
||||
x_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "y" field.</summary>
|
||||
public const int YFieldNumber = 2;
|
||||
private float y_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Y {
|
||||
get { return y_; }
|
||||
set {
|
||||
y_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "z" field.</summary>
|
||||
public const int ZFieldNumber = 3;
|
||||
private float z_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Z {
|
||||
get { return z_; }
|
||||
set {
|
||||
z_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitsVec3Data);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitsVec3Data other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) 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 (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
|
||||
if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
|
||||
if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
|
||||
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 (X != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(X);
|
||||
}
|
||||
if (Y != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Y);
|
||||
}
|
||||
if (Z != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(Z);
|
||||
}
|
||||
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 (X != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(X);
|
||||
}
|
||||
if (Y != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(Y);
|
||||
}
|
||||
if (Z != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(Z);
|
||||
}
|
||||
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 (X != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (Y != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (Z != 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(CircuitsVec3Data other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.X != 0F) {
|
||||
X = other.X;
|
||||
}
|
||||
if (other.Y != 0F) {
|
||||
Y = other.Y;
|
||||
}
|
||||
if (other.Z != 0F) {
|
||||
Z = other.Z;
|
||||
}
|
||||
_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 13: {
|
||||
X = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Y = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
Z = 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 13: {
|
||||
X = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
Y = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
Z = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
307
CloneSpawnRequestData.cs
Normal file
307
CloneSpawnRequestData.cs
Normal file
@@ -0,0 +1,307 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/creation_transient/clone_spawn_request_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 RecRoom.Creation.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/creation_transient/clone_spawn_request_data.proto</summary>
|
||||
public static partial class CloneSpawnRequestDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/creation_transient/clone_spawn_request_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CloneSpawnRequestDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjpyZWNfcm9vbS9jcmVhdGlvbl90cmFuc2llbnQvY2xvbmVfc3Bhd25fcmVx",
|
||||
"dWVzdF9kYXRhLnByb3RvEghjcmVhdGlvbiJhChVDbG9uZVNwYXduUmVxdWVz",
|
||||
"dERhdGESGwoTb2JqZWN0X2lkc190b19jbG9uZRgBIAMoDBIYChBjaXJjdWl0",
|
||||
"X2dyYXBoX2lkGAIgASgMEhEKCXBhcmVudF9pZBgDIAEoDEIcqgIZUmVjUm9v",
|
||||
"bS5DcmVhdGlvbi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Creation.Protobuf.CloneSpawnRequestData), global::RecRoom.Creation.Protobuf.CloneSpawnRequestData.Parser, new[]{ "ObjectIdsToClone", "CircuitGraphId", "ParentId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CloneSpawnRequestData : pb::IMessage<CloneSpawnRequestData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CloneSpawnRequestData> _parser = new pb::MessageParser<CloneSpawnRequestData>(() => new CloneSpawnRequestData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CloneSpawnRequestData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Creation.Protobuf.CloneSpawnRequestDataReflection.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 CloneSpawnRequestData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloneSpawnRequestData(CloneSpawnRequestData other) : this() {
|
||||
objectIdsToClone_ = other.objectIdsToClone_.Clone();
|
||||
circuitGraphId_ = other.circuitGraphId_;
|
||||
parentId_ = other.parentId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloneSpawnRequestData Clone() {
|
||||
return new CloneSpawnRequestData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "object_ids_to_clone" field.</summary>
|
||||
public const int ObjectIdsToCloneFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<pb::ByteString> _repeated_objectIdsToClone_codec
|
||||
= pb::FieldCodec.ForBytes(10);
|
||||
private readonly pbc::RepeatedField<pb::ByteString> objectIdsToClone_ = new pbc::RepeatedField<pb::ByteString>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<pb::ByteString> ObjectIdsToClone {
|
||||
get { return objectIdsToClone_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "circuit_graph_id" field.</summary>
|
||||
public const int CircuitGraphIdFieldNumber = 2;
|
||||
private pb::ByteString circuitGraphId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString CircuitGraphId {
|
||||
get { return circuitGraphId_; }
|
||||
set {
|
||||
circuitGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "parent_id" field.</summary>
|
||||
public const int ParentIdFieldNumber = 3;
|
||||
private pb::ByteString parentId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString ParentId {
|
||||
get { return parentId_; }
|
||||
set {
|
||||
parentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CloneSpawnRequestData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CloneSpawnRequestData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!objectIdsToClone_.Equals(other.objectIdsToClone_)) return false;
|
||||
if (CircuitGraphId != other.CircuitGraphId) return false;
|
||||
if (ParentId != other.ParentId) 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;
|
||||
hash ^= objectIdsToClone_.GetHashCode();
|
||||
if (CircuitGraphId.Length != 0) hash ^= CircuitGraphId.GetHashCode();
|
||||
if (ParentId.Length != 0) hash ^= ParentId.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
|
||||
objectIdsToClone_.WriteTo(output, _repeated_objectIdsToClone_codec);
|
||||
if (CircuitGraphId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(CircuitGraphId);
|
||||
}
|
||||
if (ParentId.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteBytes(ParentId);
|
||||
}
|
||||
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) {
|
||||
objectIdsToClone_.WriteTo(ref output, _repeated_objectIdsToClone_codec);
|
||||
if (CircuitGraphId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(CircuitGraphId);
|
||||
}
|
||||
if (ParentId.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteBytes(ParentId);
|
||||
}
|
||||
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;
|
||||
size += objectIdsToClone_.CalculateSize(_repeated_objectIdsToClone_codec);
|
||||
if (CircuitGraphId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(CircuitGraphId);
|
||||
}
|
||||
if (ParentId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ParentId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CloneSpawnRequestData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
objectIdsToClone_.Add(other.objectIdsToClone_);
|
||||
if (other.CircuitGraphId.Length != 0) {
|
||||
CircuitGraphId = other.CircuitGraphId;
|
||||
}
|
||||
if (other.ParentId.Length != 0) {
|
||||
ParentId = other.ParentId;
|
||||
}
|
||||
_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: {
|
||||
objectIdsToClone_.AddEntriesFrom(input, _repeated_objectIdsToClone_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
CircuitGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
ParentId = input.ReadBytes();
|
||||
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: {
|
||||
objectIdsToClone_.AddEntriesFrom(ref input, _repeated_objectIdsToClone_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
CircuitGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
ParentId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
738
CloudDataLedgerData.cs
Normal file
738
CloudDataLedgerData.cs
Normal file
@@ -0,0 +1,738 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/cloud_data_ledger_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/cloud_data_ledger_data.proto</summary>
|
||||
public static partial class CloudDataLedgerDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/cloud_data_ledger_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CloudDataLedgerDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihjaXJjdWl0c192Mi9jbG91ZF9kYXRhX2xlZGdlcl9kYXRhLnByb3RvEgtj",
|
||||
"aXJjdWl0c192MhpBY2lyY3VpdHNfdjIvZGVwcmVjYXRlZC9ERVBSRUNBVEVE",
|
||||
"X2Nsb3VkX2RhdGFfbGVkZ2VyX3ZlcnNpb24ucHJvdG8aLmNpcmN1aXRzX3Yy",
|
||||
"L2Nsb3VkX2RhdGFfbGVkZ2VyX2VudHJ5X2RhdGEucHJvdG8ilAkKE0Nsb3Vk",
|
||||
"RGF0YUxlZGdlckRhdGESNAoFYm9vbHMYAiADKAsyJS5jaXJjdWl0c192Mi5D",
|
||||
"bG91ZERhdGFMZWRnZXJFbnRyeURhdGESNQoGZmxvYXRzGAMgAygLMiUuY2ly",
|
||||
"Y3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2VyRW50cnlEYXRhEjMKBGludHMYBCAD",
|
||||
"KAsyJS5jaXJjdWl0c192Mi5DbG91ZERhdGFMZWRnZXJFbnRyeURhdGESOgoL",
|
||||
"cXVhdGVybmlvbnMYBSADKAsyJS5jaXJjdWl0c192Mi5DbG91ZERhdGFMZWRn",
|
||||
"ZXJFbnRyeURhdGESNgoHc3RyaW5ncxgGIAMoCzIlLmNpcmN1aXRzX3YyLkNs",
|
||||
"b3VkRGF0YUxlZGdlckVudHJ5RGF0YRI3Cgh2ZWN0b3IzcxgHIAMoCzIlLmNp",
|
||||
"cmN1aXRzX3YyLkNsb3VkRGF0YUxlZGdlckVudHJ5RGF0YRI1CgZjb2xvcnMY",
|
||||
"CCADKAsyJS5jaXJjdWl0c192Mi5DbG91ZERhdGFMZWRnZXJFbnRyeURhdGES",
|
||||
"PAoNcmVjX25ldF9pbWFnZRgQIAMoCzIlLmNpcmN1aXRzX3YyLkNsb3VkRGF0",
|
||||
"YUxlZGdlckVudHJ5RGF0YRI9Cg5yZWNfbmV0X21lc2hlcxgSIAMoCzIlLmNp",
|
||||
"cmN1aXRzX3YyLkNsb3VkRGF0YUxlZGdlckVudHJ5RGF0YRI5CgpsaXN0X2Jv",
|
||||
"b2xzGAkgAygLMiUuY2lyY3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2VyRW50cnlE",
|
||||
"YXRhEjoKC2xpc3RfZmxvYXRzGAogAygLMiUuY2lyY3VpdHNfdjIuQ2xvdWRE",
|
||||
"YXRhTGVkZ2VyRW50cnlEYXRhEjgKCWxpc3RfaW50cxgLIAMoCzIlLmNpcmN1",
|
||||
"aXRzX3YyLkNsb3VkRGF0YUxlZGdlckVudHJ5RGF0YRI/ChBsaXN0X3F1YXRl",
|
||||
"cm5pb25zGAwgAygLMiUuY2lyY3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2VyRW50",
|
||||
"cnlEYXRhEjsKDGxpc3Rfc3RyaW5ncxgNIAMoCzIlLmNpcmN1aXRzX3YyLkNs",
|
||||
"b3VkRGF0YUxlZGdlckVudHJ5RGF0YRI8Cg1saXN0X3ZlY3RvcjNzGA4gAygL",
|
||||
"MiUuY2lyY3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2VyRW50cnlEYXRhEjoKC2xp",
|
||||
"c3RfY29sb3JzGA8gAygLMiUuY2lyY3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2Vy",
|
||||
"RW50cnlEYXRhEkEKEmxpc3RfcmVjX25ldF9pbWFnZRgRIAMoCzIlLmNpcmN1",
|
||||
"aXRzX3YyLkNsb3VkRGF0YUxlZGdlckVudHJ5RGF0YRJCChNsaXN0X3JlY19u",
|
||||
"ZXRfbWVzaGVzGBMgAygLMiUuY2lyY3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2Vy",
|
||||
"RW50cnlEYXRhEkoKEkRFUFJFQ0FURURfVmVyc2lvbhgBIAEoDjIuLmNpcmN1",
|
||||
"aXRzX3YyLkRFUFJFQ0FURURfQ2xvdWREYXRhTGVkZ2VyVmVyc2lvbkIWqgIT",
|
||||
"Q2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDCloudDataLedgerVersionReflection.Descriptor, global::CircuitsV2.Protobuf.CloudDataLedgerEntryDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CloudDataLedgerData), global::CircuitsV2.Protobuf.CloudDataLedgerData.Parser, new[]{ "Bools", "Floats", "Ints", "Quaternions", "Strings", "Vector3S", "Colors", "RecNetImage", "RecNetMeshes", "ListBools", "ListFloats", "ListInts", "ListQuaternions", "ListStrings", "ListVector3S", "ListColors", "ListRecNetImage", "ListRecNetMeshes", "DEPRECATEDVersion" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CloudDataLedgerData : pb::IMessage<CloudDataLedgerData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CloudDataLedgerData> _parser = new pb::MessageParser<CloudDataLedgerData>(() => new CloudDataLedgerData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CloudDataLedgerData> 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.CloudDataLedgerDataReflection.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 CloudDataLedgerData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudDataLedgerData(CloudDataLedgerData other) : this() {
|
||||
bools_ = other.bools_.Clone();
|
||||
floats_ = other.floats_.Clone();
|
||||
ints_ = other.ints_.Clone();
|
||||
quaternions_ = other.quaternions_.Clone();
|
||||
strings_ = other.strings_.Clone();
|
||||
vector3S_ = other.vector3S_.Clone();
|
||||
colors_ = other.colors_.Clone();
|
||||
recNetImage_ = other.recNetImage_.Clone();
|
||||
recNetMeshes_ = other.recNetMeshes_.Clone();
|
||||
listBools_ = other.listBools_.Clone();
|
||||
listFloats_ = other.listFloats_.Clone();
|
||||
listInts_ = other.listInts_.Clone();
|
||||
listQuaternions_ = other.listQuaternions_.Clone();
|
||||
listStrings_ = other.listStrings_.Clone();
|
||||
listVector3S_ = other.listVector3S_.Clone();
|
||||
listColors_ = other.listColors_.Clone();
|
||||
listRecNetImage_ = other.listRecNetImage_.Clone();
|
||||
listRecNetMeshes_ = other.listRecNetMeshes_.Clone();
|
||||
dEPRECATEDVersion_ = other.dEPRECATEDVersion_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudDataLedgerData Clone() {
|
||||
return new CloudDataLedgerData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "bools" field.</summary>
|
||||
public const int BoolsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_bools_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> bools_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Bools {
|
||||
get { return bools_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "floats" field.</summary>
|
||||
public const int FloatsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_floats_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> floats_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Floats {
|
||||
get { return floats_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ints" field.</summary>
|
||||
public const int IntsFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_ints_codec
|
||||
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ints_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Ints {
|
||||
get { return ints_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "quaternions" field.</summary>
|
||||
public const int QuaternionsFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_quaternions_codec
|
||||
= pb::FieldCodec.ForMessage(42, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> quaternions_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Quaternions {
|
||||
get { return quaternions_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "strings" field.</summary>
|
||||
public const int StringsFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_strings_codec
|
||||
= pb::FieldCodec.ForMessage(50, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> strings_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Strings {
|
||||
get { return strings_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "vector3s" field.</summary>
|
||||
public const int Vector3SFieldNumber = 7;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_vector3S_codec
|
||||
= pb::FieldCodec.ForMessage(58, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> vector3S_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Vector3S {
|
||||
get { return vector3S_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "colors" field.</summary>
|
||||
public const int ColorsFieldNumber = 8;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_colors_codec
|
||||
= pb::FieldCodec.ForMessage(66, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> colors_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> Colors {
|
||||
get { return colors_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rec_net_image" field.</summary>
|
||||
public const int RecNetImageFieldNumber = 16;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_recNetImage_codec
|
||||
= pb::FieldCodec.ForMessage(130, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> recNetImage_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> RecNetImage {
|
||||
get { return recNetImage_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rec_net_meshes" field.</summary>
|
||||
public const int RecNetMeshesFieldNumber = 18;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_recNetMeshes_codec
|
||||
= pb::FieldCodec.ForMessage(146, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> recNetMeshes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> RecNetMeshes {
|
||||
get { return recNetMeshes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_bools" field.</summary>
|
||||
public const int ListBoolsFieldNumber = 9;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listBools_codec
|
||||
= pb::FieldCodec.ForMessage(74, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listBools_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListBools {
|
||||
get { return listBools_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_floats" field.</summary>
|
||||
public const int ListFloatsFieldNumber = 10;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listFloats_codec
|
||||
= pb::FieldCodec.ForMessage(82, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listFloats_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListFloats {
|
||||
get { return listFloats_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_ints" field.</summary>
|
||||
public const int ListIntsFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listInts_codec
|
||||
= pb::FieldCodec.ForMessage(90, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listInts_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListInts {
|
||||
get { return listInts_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_quaternions" field.</summary>
|
||||
public const int ListQuaternionsFieldNumber = 12;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listQuaternions_codec
|
||||
= pb::FieldCodec.ForMessage(98, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listQuaternions_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListQuaternions {
|
||||
get { return listQuaternions_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_strings" field.</summary>
|
||||
public const int ListStringsFieldNumber = 13;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listStrings_codec
|
||||
= pb::FieldCodec.ForMessage(106, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listStrings_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListStrings {
|
||||
get { return listStrings_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_vector3s" field.</summary>
|
||||
public const int ListVector3SFieldNumber = 14;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listVector3S_codec
|
||||
= pb::FieldCodec.ForMessage(114, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listVector3S_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListVector3S {
|
||||
get { return listVector3S_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_colors" field.</summary>
|
||||
public const int ListColorsFieldNumber = 15;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listColors_codec
|
||||
= pb::FieldCodec.ForMessage(122, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listColors_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListColors {
|
||||
get { return listColors_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_rec_net_image" field.</summary>
|
||||
public const int ListRecNetImageFieldNumber = 17;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listRecNetImage_codec
|
||||
= pb::FieldCodec.ForMessage(138, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listRecNetImage_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListRecNetImage {
|
||||
get { return listRecNetImage_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_rec_net_meshes" field.</summary>
|
||||
public const int ListRecNetMeshesFieldNumber = 19;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> _repeated_listRecNetMeshes_codec
|
||||
= pb::FieldCodec.ForMessage(154, global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> listRecNetMeshes_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudDataLedgerEntryData> ListRecNetMeshes {
|
||||
get { return listRecNetMeshes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_Version" field.</summary>
|
||||
public const int DEPRECATEDVersionFieldNumber = 1;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion dEPRECATEDVersion_ = global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion DEPRECATEDVersion {
|
||||
get { return dEPRECATEDVersion_; }
|
||||
set {
|
||||
dEPRECATEDVersion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CloudDataLedgerData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CloudDataLedgerData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!bools_.Equals(other.bools_)) return false;
|
||||
if(!floats_.Equals(other.floats_)) return false;
|
||||
if(!ints_.Equals(other.ints_)) return false;
|
||||
if(!quaternions_.Equals(other.quaternions_)) return false;
|
||||
if(!strings_.Equals(other.strings_)) return false;
|
||||
if(!vector3S_.Equals(other.vector3S_)) return false;
|
||||
if(!colors_.Equals(other.colors_)) return false;
|
||||
if(!recNetImage_.Equals(other.recNetImage_)) return false;
|
||||
if(!recNetMeshes_.Equals(other.recNetMeshes_)) return false;
|
||||
if(!listBools_.Equals(other.listBools_)) return false;
|
||||
if(!listFloats_.Equals(other.listFloats_)) return false;
|
||||
if(!listInts_.Equals(other.listInts_)) return false;
|
||||
if(!listQuaternions_.Equals(other.listQuaternions_)) return false;
|
||||
if(!listStrings_.Equals(other.listStrings_)) return false;
|
||||
if(!listVector3S_.Equals(other.listVector3S_)) return false;
|
||||
if(!listColors_.Equals(other.listColors_)) return false;
|
||||
if(!listRecNetImage_.Equals(other.listRecNetImage_)) return false;
|
||||
if(!listRecNetMeshes_.Equals(other.listRecNetMeshes_)) return false;
|
||||
if (DEPRECATEDVersion != other.DEPRECATEDVersion) 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;
|
||||
hash ^= bools_.GetHashCode();
|
||||
hash ^= floats_.GetHashCode();
|
||||
hash ^= ints_.GetHashCode();
|
||||
hash ^= quaternions_.GetHashCode();
|
||||
hash ^= strings_.GetHashCode();
|
||||
hash ^= vector3S_.GetHashCode();
|
||||
hash ^= colors_.GetHashCode();
|
||||
hash ^= recNetImage_.GetHashCode();
|
||||
hash ^= recNetMeshes_.GetHashCode();
|
||||
hash ^= listBools_.GetHashCode();
|
||||
hash ^= listFloats_.GetHashCode();
|
||||
hash ^= listInts_.GetHashCode();
|
||||
hash ^= listQuaternions_.GetHashCode();
|
||||
hash ^= listStrings_.GetHashCode();
|
||||
hash ^= listVector3S_.GetHashCode();
|
||||
hash ^= listColors_.GetHashCode();
|
||||
hash ^= listRecNetImage_.GetHashCode();
|
||||
hash ^= listRecNetMeshes_.GetHashCode();
|
||||
if (DEPRECATEDVersion != global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion) hash ^= DEPRECATEDVersion.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 (DEPRECATEDVersion != global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) DEPRECATEDVersion);
|
||||
}
|
||||
bools_.WriteTo(output, _repeated_bools_codec);
|
||||
floats_.WriteTo(output, _repeated_floats_codec);
|
||||
ints_.WriteTo(output, _repeated_ints_codec);
|
||||
quaternions_.WriteTo(output, _repeated_quaternions_codec);
|
||||
strings_.WriteTo(output, _repeated_strings_codec);
|
||||
vector3S_.WriteTo(output, _repeated_vector3S_codec);
|
||||
colors_.WriteTo(output, _repeated_colors_codec);
|
||||
listBools_.WriteTo(output, _repeated_listBools_codec);
|
||||
listFloats_.WriteTo(output, _repeated_listFloats_codec);
|
||||
listInts_.WriteTo(output, _repeated_listInts_codec);
|
||||
listQuaternions_.WriteTo(output, _repeated_listQuaternions_codec);
|
||||
listStrings_.WriteTo(output, _repeated_listStrings_codec);
|
||||
listVector3S_.WriteTo(output, _repeated_listVector3S_codec);
|
||||
listColors_.WriteTo(output, _repeated_listColors_codec);
|
||||
recNetImage_.WriteTo(output, _repeated_recNetImage_codec);
|
||||
listRecNetImage_.WriteTo(output, _repeated_listRecNetImage_codec);
|
||||
recNetMeshes_.WriteTo(output, _repeated_recNetMeshes_codec);
|
||||
listRecNetMeshes_.WriteTo(output, _repeated_listRecNetMeshes_codec);
|
||||
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 (DEPRECATEDVersion != global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) DEPRECATEDVersion);
|
||||
}
|
||||
bools_.WriteTo(ref output, _repeated_bools_codec);
|
||||
floats_.WriteTo(ref output, _repeated_floats_codec);
|
||||
ints_.WriteTo(ref output, _repeated_ints_codec);
|
||||
quaternions_.WriteTo(ref output, _repeated_quaternions_codec);
|
||||
strings_.WriteTo(ref output, _repeated_strings_codec);
|
||||
vector3S_.WriteTo(ref output, _repeated_vector3S_codec);
|
||||
colors_.WriteTo(ref output, _repeated_colors_codec);
|
||||
listBools_.WriteTo(ref output, _repeated_listBools_codec);
|
||||
listFloats_.WriteTo(ref output, _repeated_listFloats_codec);
|
||||
listInts_.WriteTo(ref output, _repeated_listInts_codec);
|
||||
listQuaternions_.WriteTo(ref output, _repeated_listQuaternions_codec);
|
||||
listStrings_.WriteTo(ref output, _repeated_listStrings_codec);
|
||||
listVector3S_.WriteTo(ref output, _repeated_listVector3S_codec);
|
||||
listColors_.WriteTo(ref output, _repeated_listColors_codec);
|
||||
recNetImage_.WriteTo(ref output, _repeated_recNetImage_codec);
|
||||
listRecNetImage_.WriteTo(ref output, _repeated_listRecNetImage_codec);
|
||||
recNetMeshes_.WriteTo(ref output, _repeated_recNetMeshes_codec);
|
||||
listRecNetMeshes_.WriteTo(ref output, _repeated_listRecNetMeshes_codec);
|
||||
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;
|
||||
size += bools_.CalculateSize(_repeated_bools_codec);
|
||||
size += floats_.CalculateSize(_repeated_floats_codec);
|
||||
size += ints_.CalculateSize(_repeated_ints_codec);
|
||||
size += quaternions_.CalculateSize(_repeated_quaternions_codec);
|
||||
size += strings_.CalculateSize(_repeated_strings_codec);
|
||||
size += vector3S_.CalculateSize(_repeated_vector3S_codec);
|
||||
size += colors_.CalculateSize(_repeated_colors_codec);
|
||||
size += recNetImage_.CalculateSize(_repeated_recNetImage_codec);
|
||||
size += recNetMeshes_.CalculateSize(_repeated_recNetMeshes_codec);
|
||||
size += listBools_.CalculateSize(_repeated_listBools_codec);
|
||||
size += listFloats_.CalculateSize(_repeated_listFloats_codec);
|
||||
size += listInts_.CalculateSize(_repeated_listInts_codec);
|
||||
size += listQuaternions_.CalculateSize(_repeated_listQuaternions_codec);
|
||||
size += listStrings_.CalculateSize(_repeated_listStrings_codec);
|
||||
size += listVector3S_.CalculateSize(_repeated_listVector3S_codec);
|
||||
size += listColors_.CalculateSize(_repeated_listColors_codec);
|
||||
size += listRecNetImage_.CalculateSize(_repeated_listRecNetImage_codec);
|
||||
size += listRecNetMeshes_.CalculateSize(_repeated_listRecNetMeshes_codec);
|
||||
if (DEPRECATEDVersion != global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DEPRECATEDVersion);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CloudDataLedgerData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
bools_.Add(other.bools_);
|
||||
floats_.Add(other.floats_);
|
||||
ints_.Add(other.ints_);
|
||||
quaternions_.Add(other.quaternions_);
|
||||
strings_.Add(other.strings_);
|
||||
vector3S_.Add(other.vector3S_);
|
||||
colors_.Add(other.colors_);
|
||||
recNetImage_.Add(other.recNetImage_);
|
||||
recNetMeshes_.Add(other.recNetMeshes_);
|
||||
listBools_.Add(other.listBools_);
|
||||
listFloats_.Add(other.listFloats_);
|
||||
listInts_.Add(other.listInts_);
|
||||
listQuaternions_.Add(other.listQuaternions_);
|
||||
listStrings_.Add(other.listStrings_);
|
||||
listVector3S_.Add(other.listVector3S_);
|
||||
listColors_.Add(other.listColors_);
|
||||
listRecNetImage_.Add(other.listRecNetImage_);
|
||||
listRecNetMeshes_.Add(other.listRecNetMeshes_);
|
||||
if (other.DEPRECATEDVersion != global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion.V0NewCloudDataLedgerVersion) {
|
||||
DEPRECATEDVersion = other.DEPRECATEDVersion;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDVersion = (global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
bools_.AddEntriesFrom(input, _repeated_bools_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
floats_.AddEntriesFrom(input, _repeated_floats_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
ints_.AddEntriesFrom(input, _repeated_ints_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
quaternions_.AddEntriesFrom(input, _repeated_quaternions_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
strings_.AddEntriesFrom(input, _repeated_strings_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
vector3S_.AddEntriesFrom(input, _repeated_vector3S_codec);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
colors_.AddEntriesFrom(input, _repeated_colors_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
listBools_.AddEntriesFrom(input, _repeated_listBools_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
listFloats_.AddEntriesFrom(input, _repeated_listFloats_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
listInts_.AddEntriesFrom(input, _repeated_listInts_codec);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
listQuaternions_.AddEntriesFrom(input, _repeated_listQuaternions_codec);
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
listStrings_.AddEntriesFrom(input, _repeated_listStrings_codec);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
listVector3S_.AddEntriesFrom(input, _repeated_listVector3S_codec);
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
listColors_.AddEntriesFrom(input, _repeated_listColors_codec);
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
recNetImage_.AddEntriesFrom(input, _repeated_recNetImage_codec);
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
listRecNetImage_.AddEntriesFrom(input, _repeated_listRecNetImage_codec);
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
recNetMeshes_.AddEntriesFrom(input, _repeated_recNetMeshes_codec);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
listRecNetMeshes_.AddEntriesFrom(input, _repeated_listRecNetMeshes_codec);
|
||||
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: {
|
||||
DEPRECATEDVersion = (global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
bools_.AddEntriesFrom(ref input, _repeated_bools_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
floats_.AddEntriesFrom(ref input, _repeated_floats_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
ints_.AddEntriesFrom(ref input, _repeated_ints_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
quaternions_.AddEntriesFrom(ref input, _repeated_quaternions_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
strings_.AddEntriesFrom(ref input, _repeated_strings_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
vector3S_.AddEntriesFrom(ref input, _repeated_vector3S_codec);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
colors_.AddEntriesFrom(ref input, _repeated_colors_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
listBools_.AddEntriesFrom(ref input, _repeated_listBools_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
listFloats_.AddEntriesFrom(ref input, _repeated_listFloats_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
listInts_.AddEntriesFrom(ref input, _repeated_listInts_codec);
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
listQuaternions_.AddEntriesFrom(ref input, _repeated_listQuaternions_codec);
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
listStrings_.AddEntriesFrom(ref input, _repeated_listStrings_codec);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
listVector3S_.AddEntriesFrom(ref input, _repeated_listVector3S_codec);
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
listColors_.AddEntriesFrom(ref input, _repeated_listColors_codec);
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
recNetImage_.AddEntriesFrom(ref input, _repeated_recNetImage_codec);
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
listRecNetImage_.AddEntriesFrom(ref input, _repeated_listRecNetImage_codec);
|
||||
break;
|
||||
}
|
||||
case 146: {
|
||||
recNetMeshes_.AddEntriesFrom(ref input, _repeated_recNetMeshes_codec);
|
||||
break;
|
||||
}
|
||||
case 154: {
|
||||
listRecNetMeshes_.AddEntriesFrom(ref input, _repeated_listRecNetMeshes_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
395
CloudDataLedgerEntryData.cs
Normal file
395
CloudDataLedgerEntryData.cs
Normal file
@@ -0,0 +1,395 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/cloud_data_ledger_entry_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/cloud_data_ledger_entry_data.proto</summary>
|
||||
public static partial class CloudDataLedgerEntryDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/cloud_data_ledger_entry_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CloudDataLedgerEntryDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5jaXJjdWl0c192Mi9jbG91ZF9kYXRhX2xlZGdlcl9lbnRyeV9kYXRhLnBy",
|
||||
"b3RvEgtjaXJjdWl0c192MhoUY29yZS9ndWlkX2RhdGEucHJvdG8aKGNpcmN1",
|
||||
"aXRzX3YyL2Nsb3VkX2RhdGFfbGVkZ2VyX3R5cGUucHJvdG8iowEKGENsb3Vk",
|
||||
"RGF0YUxlZGdlckVudHJ5RGF0YRIMCgRuYW1lGAEgASgJEhwKBGd1aWQYAiAB",
|
||||
"KAsyDi5jb3JlLkd1aWREYXRhEhAKCHN1YnJvb21zGAMgAygDEhMKC3Byb3Nw",
|
||||
"ZWN0aXZlGAQgASgIEjQKCmxlZGdlclR5cGUYBSABKA4yIC5jaXJjdWl0c192",
|
||||
"Mi5DbG91ZERhdGFMZWRnZXJUeXBlQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVm",
|
||||
"YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::CircuitsV2.Protobuf.CloudDataLedgerTypeReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CloudDataLedgerEntryData), global::CircuitsV2.Protobuf.CloudDataLedgerEntryData.Parser, new[]{ "Name", "Guid", "Subrooms", "Prospective", "LedgerType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CloudDataLedgerEntryData : pb::IMessage<CloudDataLedgerEntryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CloudDataLedgerEntryData> _parser = new pb::MessageParser<CloudDataLedgerEntryData>(() => new CloudDataLedgerEntryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CloudDataLedgerEntryData> 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.CloudDataLedgerEntryDataReflection.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 CloudDataLedgerEntryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudDataLedgerEntryData(CloudDataLedgerEntryData other) : this() {
|
||||
name_ = other.name_;
|
||||
guid_ = other.guid_ != null ? other.guid_.Clone() : null;
|
||||
subrooms_ = other.subrooms_.Clone();
|
||||
prospective_ = other.prospective_;
|
||||
ledgerType_ = other.ledgerType_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudDataLedgerEntryData Clone() {
|
||||
return new CloudDataLedgerEntryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 1;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "guid" field.</summary>
|
||||
public const int GuidFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.GuidData guid_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData Guid {
|
||||
get { return guid_; }
|
||||
set {
|
||||
guid_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "subrooms" field.</summary>
|
||||
public const int SubroomsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<long> _repeated_subrooms_codec
|
||||
= pb::FieldCodec.ForInt64(26);
|
||||
private readonly pbc::RepeatedField<long> subrooms_ = new pbc::RepeatedField<long>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<long> Subrooms {
|
||||
get { return subrooms_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "prospective" field.</summary>
|
||||
public const int ProspectiveFieldNumber = 4;
|
||||
private bool prospective_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Prospective {
|
||||
get { return prospective_; }
|
||||
set {
|
||||
prospective_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ledgerType" field.</summary>
|
||||
public const int LedgerTypeFieldNumber = 5;
|
||||
private global::CircuitsV2.Protobuf.CloudDataLedgerType ledgerType_ = global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CloudDataLedgerType LedgerType {
|
||||
get { return ledgerType_; }
|
||||
set {
|
||||
ledgerType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CloudDataLedgerEntryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CloudDataLedgerEntryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Name != other.Name) return false;
|
||||
if (!object.Equals(Guid, other.Guid)) return false;
|
||||
if(!subrooms_.Equals(other.subrooms_)) return false;
|
||||
if (Prospective != other.Prospective) return false;
|
||||
if (LedgerType != other.LedgerType) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (guid_ != null) hash ^= Guid.GetHashCode();
|
||||
hash ^= subrooms_.GetHashCode();
|
||||
if (Prospective != false) hash ^= Prospective.GetHashCode();
|
||||
if (LedgerType != global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool) hash ^= LedgerType.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 (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (guid_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Guid);
|
||||
}
|
||||
subrooms_.WriteTo(output, _repeated_subrooms_codec);
|
||||
if (Prospective != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Prospective);
|
||||
}
|
||||
if (LedgerType != global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) LedgerType);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (guid_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Guid);
|
||||
}
|
||||
subrooms_.WriteTo(ref output, _repeated_subrooms_codec);
|
||||
if (Prospective != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Prospective);
|
||||
}
|
||||
if (LedgerType != global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) LedgerType);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (guid_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Guid);
|
||||
}
|
||||
size += subrooms_.CalculateSize(_repeated_subrooms_codec);
|
||||
if (Prospective != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (LedgerType != global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LedgerType);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CloudDataLedgerEntryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.guid_ != null) {
|
||||
if (guid_ == null) {
|
||||
Guid = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
Guid.MergeFrom(other.Guid);
|
||||
}
|
||||
subrooms_.Add(other.subrooms_);
|
||||
if (other.Prospective != false) {
|
||||
Prospective = other.Prospective;
|
||||
}
|
||||
if (other.LedgerType != global::CircuitsV2.Protobuf.CloudDataLedgerType.Bool) {
|
||||
LedgerType = other.LedgerType;
|
||||
}
|
||||
_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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (guid_ == null) {
|
||||
Guid = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(Guid);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
subrooms_.AddEntriesFrom(input, _repeated_subrooms_codec);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Prospective = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
LedgerType = (global::CircuitsV2.Protobuf.CloudDataLedgerType) input.ReadEnum();
|
||||
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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (guid_ == null) {
|
||||
Guid = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(Guid);
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
case 24: {
|
||||
subrooms_.AddEntriesFrom(ref input, _repeated_subrooms_codec);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Prospective = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
LedgerType = (global::CircuitsV2.Protobuf.CloudDataLedgerType) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
69
CloudDataLedgerType.cs
Normal file
69
CloudDataLedgerType.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/cloud_data_ledger_type.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/cloud_data_ledger_type.proto</summary>
|
||||
public static partial class CloudDataLedgerTypeReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/cloud_data_ledger_type.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CloudDataLedgerTypeReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihjaXJjdWl0c192Mi9jbG91ZF9kYXRhX2xlZGdlcl90eXBlLnByb3RvEgtj",
|
||||
"aXJjdWl0c192MiqfAgoTQ2xvdWREYXRhTGVkZ2VyVHlwZRIICgRCb29sEAAS",
|
||||
"CQoFRmxvYXQQARIHCgNJbnQQAhIKCgZTdHJpbmcQAxIOCgpRdWF0ZXJuaW9u",
|
||||
"EAQSCwoHVmVjdG9yMxAFEgkKBUNvbG9yEAYSDwoLUmVjTmV0SW1hZ2UQDhIO",
|
||||
"CgpSZWNOZXRNZXNoEBASDAoITGlzdEJvb2wQBxINCglMaXN0RmxvYXQQCBIL",
|
||||
"CgdMaXN0SW50EAkSDgoKTGlzdFN0cmluZxAKEhIKDkxpc3RRdWF0ZXJuaW9u",
|
||||
"EAsSDwoLTGlzdFZlY3RvcjMQDBINCglMaXN0Q29sb3IQDRITCg9MaXN0UmVj",
|
||||
"TmV0SW1hZ2UQDxISCg5MaXN0UmVjTmV0TWVzaBARQhaqAhNDaXJjdWl0c1Yy",
|
||||
"LlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.CloudDataLedgerType), }, null, null));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum CloudDataLedgerType {
|
||||
[pbr::OriginalName("Bool")] Bool = 0,
|
||||
[pbr::OriginalName("Float")] Float = 1,
|
||||
[pbr::OriginalName("Int")] Int = 2,
|
||||
[pbr::OriginalName("String")] String = 3,
|
||||
[pbr::OriginalName("Quaternion")] Quaternion = 4,
|
||||
[pbr::OriginalName("Vector3")] Vector3 = 5,
|
||||
[pbr::OriginalName("Color")] Color = 6,
|
||||
[pbr::OriginalName("RecNetImage")] RecNetImage = 14,
|
||||
[pbr::OriginalName("RecNetMesh")] RecNetMesh = 16,
|
||||
[pbr::OriginalName("ListBool")] ListBool = 7,
|
||||
[pbr::OriginalName("ListFloat")] ListFloat = 8,
|
||||
[pbr::OriginalName("ListInt")] ListInt = 9,
|
||||
[pbr::OriginalName("ListString")] ListString = 10,
|
||||
[pbr::OriginalName("ListQuaternion")] ListQuaternion = 11,
|
||||
[pbr::OriginalName("ListVector3")] ListVector3 = 12,
|
||||
[pbr::OriginalName("ListColor")] ListColor = 13,
|
||||
[pbr::OriginalName("ListRecNetImage")] ListRecNetImage = 15,
|
||||
[pbr::OriginalName("ListRecNetMesh")] ListRecNetMesh = 17,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
486
CloudMemoryData.cs
Normal file
486
CloudMemoryData.cs
Normal file
@@ -0,0 +1,486 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/cloud_memory_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/cloud_memory_data.proto</summary>
|
||||
public static partial class CloudMemoryDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/cloud_memory_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CloudMemoryDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiNjaXJjdWl0c192Mi9jbG91ZF9tZW1vcnlfZGF0YS5wcm90bxILY2lyY3Vp",
|
||||
"dHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIpMBCg9DbG91ZE1lbW9yeURh",
|
||||
"dGESQQoLc3ltYm9sX2d1aWQYASADKAsyLC5jaXJjdWl0c192Mi5DbG91ZE1l",
|
||||
"bW9yeURhdGEuU3ltYm9sR3VpZEVudHJ5Gj0KD1N5bWJvbEd1aWRFbnRyeRIL",
|
||||
"CgNrZXkYASABKAkSHQoFdmFsdWUYAiABKAsyDi5jb3JlLkd1aWREYXRhQhaq",
|
||||
"AhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CloudMemoryData), global::CircuitsV2.Protobuf.CloudMemoryData.Parser, new[]{ "SymbolGuid" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry), global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry.Parser, new[]{ "Key", "Value" }, null, null, null, null)})
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CloudMemoryData : pb::IMessage<CloudMemoryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CloudMemoryData> _parser = new pb::MessageParser<CloudMemoryData>(() => new CloudMemoryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CloudMemoryData> 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.CloudMemoryDataReflection.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 CloudMemoryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudMemoryData(CloudMemoryData other) : this() {
|
||||
symbolGuid_ = other.symbolGuid_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CloudMemoryData Clone() {
|
||||
return new CloudMemoryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "symbol_guid" field.</summary>
|
||||
public const int SymbolGuidFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry> _repeated_symbolGuid_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry> symbolGuid_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CloudMemoryData.Types.SymbolGuidEntry> SymbolGuid {
|
||||
get { return symbolGuid_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CloudMemoryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CloudMemoryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!symbolGuid_.Equals(other.symbolGuid_)) 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;
|
||||
hash ^= symbolGuid_.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
|
||||
symbolGuid_.WriteTo(output, _repeated_symbolGuid_codec);
|
||||
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) {
|
||||
symbolGuid_.WriteTo(ref output, _repeated_symbolGuid_codec);
|
||||
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;
|
||||
size += symbolGuid_.CalculateSize(_repeated_symbolGuid_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CloudMemoryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
symbolGuid_.Add(other.symbolGuid_);
|
||||
_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: {
|
||||
symbolGuid_.AddEntriesFrom(input, _repeated_symbolGuid_codec);
|
||||
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: {
|
||||
symbolGuid_.AddEntriesFrom(ref input, _repeated_symbolGuid_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#region Nested types
|
||||
/// <summary>Container for nested types declared in the CloudMemoryData message type.</summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static partial class Types {
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class SymbolGuidEntry : pb::IMessage<SymbolGuidEntry>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<SymbolGuidEntry> _parser = new pb::MessageParser<SymbolGuidEntry>(() => new SymbolGuidEntry());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<SymbolGuidEntry> 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.CloudMemoryData.Descriptor.NestedTypes[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 SymbolGuidEntry() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SymbolGuidEntry(SymbolGuidEntry other) : this() {
|
||||
key_ = other.key_;
|
||||
value_ = other.value_ != null ? other.value_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SymbolGuidEntry Clone() {
|
||||
return new SymbolGuidEntry(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "key" field.</summary>
|
||||
public const int KeyFieldNumber = 1;
|
||||
private string key_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Key {
|
||||
get { return key_; }
|
||||
set {
|
||||
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "value" field.</summary>
|
||||
public const int ValueFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.GuidData value_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData Value {
|
||||
get { return value_; }
|
||||
set {
|
||||
value_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as SymbolGuidEntry);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(SymbolGuidEntry other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Key != other.Key) return false;
|
||||
if (!object.Equals(Value, other.Value)) 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 (Key.Length != 0) hash ^= Key.GetHashCode();
|
||||
if (value_ != null) hash ^= Value.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 (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (value_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Value);
|
||||
}
|
||||
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 (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (value_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Value);
|
||||
}
|
||||
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 (Key.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
|
||||
}
|
||||
if (value_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(SymbolGuidEntry other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Key.Length != 0) {
|
||||
Key = other.Key;
|
||||
}
|
||||
if (other.value_ != null) {
|
||||
if (value_ == null) {
|
||||
Value = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
Value.MergeFrom(other.Value);
|
||||
}
|
||||
_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: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (value_ == null) {
|
||||
Value = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(Value);
|
||||
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: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (value_ == null) {
|
||||
Value = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(Value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
669
CollisionDetectionVolumeData.cs
Normal file
669
CollisionDetectionVolumeData.cs
Normal file
@@ -0,0 +1,669 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/collision_detection_volume_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/collision_detection_volume_data.proto</summary>
|
||||
public static partial class CollisionDetectionVolumeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/collision_detection_volume_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CollisionDetectionVolumeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjpyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb2xsaXNpb25fZGV0ZWN0aW9uX3Zv",
|
||||
"bHVtZV9kYXRhLnByb3RvEghyZWNfcm9vbSLzAQocQ29sbGlzaW9uRGV0ZWN0",
|
||||
"aW9uVm9sdW1lRGF0YRJXChtjYXBzdWxlX2NvbGxpZGVyX2dyb3VwX2RhdGEY",
|
||||
"ASABKAsyMi5yZWNfcm9vbS5Db2xsaXNpb25EZXRlY3Rpb25Wb2x1bWVDYXBz",
|
||||
"dWxlR3JvdXBEYXRhEhYKDnRhZ3NfdG9faWdub3JlGAIgAygJEiUKHURFUFJF",
|
||||
"Q0FURURfc3luY19lbmFibGVkX3N0YXRlGAMgASgIEhwKFGltcGFjdF9kZWNh",
|
||||
"bF9lbmFibGVkGAQgASgIEh0KFW9ubHlfcnVuX29uX2F1dGhvcml0eRgFIAEo",
|
||||
"CCKNAQooQ29sbGlzaW9uRGV0ZWN0aW9uVm9sdW1lQ2Fwc3VsZUdyb3VwRGF0",
|
||||
"YRIcChRERVBSRUNBVEVEX3RoaWNrbmVzcxgBIAEoAhIXCg9udW1fc3BoZXJl",
|
||||
"Y2FzdHMYAiABKAUSKgoic3VwcG9ydF9zdGF0aW9uYXJ5X2NvbGxpc2lvbl90",
|
||||
"ZXN0cxgDIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CollisionDetectionVolumeData), global::RecRoom.Protobuf.CollisionDetectionVolumeData.Parser, new[]{ "CapsuleColliderGroupData", "TagsToIgnore", "DEPRECATEDSyncEnabledState", "ImpactDecalEnabled", "OnlyRunOnAuthority" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData), global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData.Parser, new[]{ "DEPRECATEDThickness", "NumSpherecasts", "SupportStationaryCollisionTests" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CollisionDetectionVolumeData : pb::IMessage<CollisionDetectionVolumeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CollisionDetectionVolumeData> _parser = new pb::MessageParser<CollisionDetectionVolumeData>(() => new CollisionDetectionVolumeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CollisionDetectionVolumeData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CollisionDetectionVolumeDataReflection.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 CollisionDetectionVolumeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CollisionDetectionVolumeData(CollisionDetectionVolumeData other) : this() {
|
||||
capsuleColliderGroupData_ = other.capsuleColliderGroupData_ != null ? other.capsuleColliderGroupData_.Clone() : null;
|
||||
tagsToIgnore_ = other.tagsToIgnore_.Clone();
|
||||
dEPRECATEDSyncEnabledState_ = other.dEPRECATEDSyncEnabledState_;
|
||||
impactDecalEnabled_ = other.impactDecalEnabled_;
|
||||
onlyRunOnAuthority_ = other.onlyRunOnAuthority_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CollisionDetectionVolumeData Clone() {
|
||||
return new CollisionDetectionVolumeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "capsule_collider_group_data" field.</summary>
|
||||
public const int CapsuleColliderGroupDataFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData capsuleColliderGroupData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData CapsuleColliderGroupData {
|
||||
get { return capsuleColliderGroupData_; }
|
||||
set {
|
||||
capsuleColliderGroupData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "tags_to_ignore" field.</summary>
|
||||
public const int TagsToIgnoreFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<string> _repeated_tagsToIgnore_codec
|
||||
= pb::FieldCodec.ForString(18);
|
||||
private readonly pbc::RepeatedField<string> tagsToIgnore_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> TagsToIgnore {
|
||||
get { return tagsToIgnore_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_sync_enabled_state" field.</summary>
|
||||
public const int DEPRECATEDSyncEnabledStateFieldNumber = 3;
|
||||
private bool dEPRECATEDSyncEnabledState_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDSyncEnabledState {
|
||||
get { return dEPRECATEDSyncEnabledState_; }
|
||||
set {
|
||||
dEPRECATEDSyncEnabledState_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "impact_decal_enabled" field.</summary>
|
||||
public const int ImpactDecalEnabledFieldNumber = 4;
|
||||
private bool impactDecalEnabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ImpactDecalEnabled {
|
||||
get { return impactDecalEnabled_; }
|
||||
set {
|
||||
impactDecalEnabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "only_run_on_authority" field.</summary>
|
||||
public const int OnlyRunOnAuthorityFieldNumber = 5;
|
||||
private bool onlyRunOnAuthority_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool OnlyRunOnAuthority {
|
||||
get { return onlyRunOnAuthority_; }
|
||||
set {
|
||||
onlyRunOnAuthority_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CollisionDetectionVolumeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CollisionDetectionVolumeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(CapsuleColliderGroupData, other.CapsuleColliderGroupData)) return false;
|
||||
if(!tagsToIgnore_.Equals(other.tagsToIgnore_)) return false;
|
||||
if (DEPRECATEDSyncEnabledState != other.DEPRECATEDSyncEnabledState) return false;
|
||||
if (ImpactDecalEnabled != other.ImpactDecalEnabled) return false;
|
||||
if (OnlyRunOnAuthority != other.OnlyRunOnAuthority) 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 (capsuleColliderGroupData_ != null) hash ^= CapsuleColliderGroupData.GetHashCode();
|
||||
hash ^= tagsToIgnore_.GetHashCode();
|
||||
if (DEPRECATEDSyncEnabledState != false) hash ^= DEPRECATEDSyncEnabledState.GetHashCode();
|
||||
if (ImpactDecalEnabled != false) hash ^= ImpactDecalEnabled.GetHashCode();
|
||||
if (OnlyRunOnAuthority != false) hash ^= OnlyRunOnAuthority.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 (capsuleColliderGroupData_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CapsuleColliderGroupData);
|
||||
}
|
||||
tagsToIgnore_.WriteTo(output, _repeated_tagsToIgnore_codec);
|
||||
if (DEPRECATEDSyncEnabledState != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(DEPRECATEDSyncEnabledState);
|
||||
}
|
||||
if (ImpactDecalEnabled != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(ImpactDecalEnabled);
|
||||
}
|
||||
if (OnlyRunOnAuthority != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(OnlyRunOnAuthority);
|
||||
}
|
||||
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 (capsuleColliderGroupData_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CapsuleColliderGroupData);
|
||||
}
|
||||
tagsToIgnore_.WriteTo(ref output, _repeated_tagsToIgnore_codec);
|
||||
if (DEPRECATEDSyncEnabledState != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(DEPRECATEDSyncEnabledState);
|
||||
}
|
||||
if (ImpactDecalEnabled != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(ImpactDecalEnabled);
|
||||
}
|
||||
if (OnlyRunOnAuthority != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(OnlyRunOnAuthority);
|
||||
}
|
||||
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 (capsuleColliderGroupData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CapsuleColliderGroupData);
|
||||
}
|
||||
size += tagsToIgnore_.CalculateSize(_repeated_tagsToIgnore_codec);
|
||||
if (DEPRECATEDSyncEnabledState != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (ImpactDecalEnabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (OnlyRunOnAuthority != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CollisionDetectionVolumeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.capsuleColliderGroupData_ != null) {
|
||||
if (capsuleColliderGroupData_ == null) {
|
||||
CapsuleColliderGroupData = new global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData();
|
||||
}
|
||||
CapsuleColliderGroupData.MergeFrom(other.CapsuleColliderGroupData);
|
||||
}
|
||||
tagsToIgnore_.Add(other.tagsToIgnore_);
|
||||
if (other.DEPRECATEDSyncEnabledState != false) {
|
||||
DEPRECATEDSyncEnabledState = other.DEPRECATEDSyncEnabledState;
|
||||
}
|
||||
if (other.ImpactDecalEnabled != false) {
|
||||
ImpactDecalEnabled = other.ImpactDecalEnabled;
|
||||
}
|
||||
if (other.OnlyRunOnAuthority != false) {
|
||||
OnlyRunOnAuthority = other.OnlyRunOnAuthority;
|
||||
}
|
||||
_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 (capsuleColliderGroupData_ == null) {
|
||||
CapsuleColliderGroupData = new global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData();
|
||||
}
|
||||
input.ReadMessage(CapsuleColliderGroupData);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
tagsToIgnore_.AddEntriesFrom(input, _repeated_tagsToIgnore_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDSyncEnabledState = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ImpactDecalEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
OnlyRunOnAuthority = input.ReadBool();
|
||||
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 (capsuleColliderGroupData_ == null) {
|
||||
CapsuleColliderGroupData = new global::RecRoom.Protobuf.CollisionDetectionVolumeCapsuleGroupData();
|
||||
}
|
||||
input.ReadMessage(CapsuleColliderGroupData);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
tagsToIgnore_.AddEntriesFrom(ref input, _repeated_tagsToIgnore_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDSyncEnabledState = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ImpactDecalEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
OnlyRunOnAuthority = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CollisionDetectionVolumeCapsuleGroupData : pb::IMessage<CollisionDetectionVolumeCapsuleGroupData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CollisionDetectionVolumeCapsuleGroupData> _parser = new pb::MessageParser<CollisionDetectionVolumeCapsuleGroupData>(() => new CollisionDetectionVolumeCapsuleGroupData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CollisionDetectionVolumeCapsuleGroupData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CollisionDetectionVolumeDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 CollisionDetectionVolumeCapsuleGroupData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CollisionDetectionVolumeCapsuleGroupData(CollisionDetectionVolumeCapsuleGroupData other) : this() {
|
||||
dEPRECATEDThickness_ = other.dEPRECATEDThickness_;
|
||||
numSpherecasts_ = other.numSpherecasts_;
|
||||
supportStationaryCollisionTests_ = other.supportStationaryCollisionTests_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CollisionDetectionVolumeCapsuleGroupData Clone() {
|
||||
return new CollisionDetectionVolumeCapsuleGroupData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_thickness" field.</summary>
|
||||
public const int DEPRECATEDThicknessFieldNumber = 1;
|
||||
private float dEPRECATEDThickness_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float DEPRECATEDThickness {
|
||||
get { return dEPRECATEDThickness_; }
|
||||
set {
|
||||
dEPRECATEDThickness_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "num_spherecasts" field.</summary>
|
||||
public const int NumSpherecastsFieldNumber = 2;
|
||||
private int numSpherecasts_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NumSpherecasts {
|
||||
get { return numSpherecasts_; }
|
||||
set {
|
||||
numSpherecasts_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "support_stationary_collision_tests" field.</summary>
|
||||
public const int SupportStationaryCollisionTestsFieldNumber = 3;
|
||||
private bool supportStationaryCollisionTests_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool SupportStationaryCollisionTests {
|
||||
get { return supportStationaryCollisionTests_; }
|
||||
set {
|
||||
supportStationaryCollisionTests_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CollisionDetectionVolumeCapsuleGroupData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CollisionDetectionVolumeCapsuleGroupData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEPRECATEDThickness, other.DEPRECATEDThickness)) return false;
|
||||
if (NumSpherecasts != other.NumSpherecasts) return false;
|
||||
if (SupportStationaryCollisionTests != other.SupportStationaryCollisionTests) 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 (DEPRECATEDThickness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEPRECATEDThickness);
|
||||
if (NumSpherecasts != 0) hash ^= NumSpherecasts.GetHashCode();
|
||||
if (SupportStationaryCollisionTests != false) hash ^= SupportStationaryCollisionTests.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 (DEPRECATEDThickness != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(DEPRECATEDThickness);
|
||||
}
|
||||
if (NumSpherecasts != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumSpherecasts);
|
||||
}
|
||||
if (SupportStationaryCollisionTests != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(SupportStationaryCollisionTests);
|
||||
}
|
||||
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 (DEPRECATEDThickness != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(DEPRECATEDThickness);
|
||||
}
|
||||
if (NumSpherecasts != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(NumSpherecasts);
|
||||
}
|
||||
if (SupportStationaryCollisionTests != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(SupportStationaryCollisionTests);
|
||||
}
|
||||
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 (DEPRECATEDThickness != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (NumSpherecasts != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumSpherecasts);
|
||||
}
|
||||
if (SupportStationaryCollisionTests != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CollisionDetectionVolumeCapsuleGroupData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.DEPRECATEDThickness != 0F) {
|
||||
DEPRECATEDThickness = other.DEPRECATEDThickness;
|
||||
}
|
||||
if (other.NumSpherecasts != 0) {
|
||||
NumSpherecasts = other.NumSpherecasts;
|
||||
}
|
||||
if (other.SupportStationaryCollisionTests != false) {
|
||||
SupportStationaryCollisionTests = other.SupportStationaryCollisionTests;
|
||||
}
|
||||
_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 13: {
|
||||
DEPRECATEDThickness = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumSpherecasts = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SupportStationaryCollisionTests = input.ReadBool();
|
||||
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 13: {
|
||||
DEPRECATEDThickness = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
NumSpherecasts = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
SupportStationaryCollisionTests = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
ColorConstantNodeData.cs
Normal file
242
ColorConstantNodeData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/color_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/color_constant_node_data.proto</summary>
|
||||
public static partial class ColorConstantNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/color_constant_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ColorConstantNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CipjaXJjdWl0c192Mi9jb2xvcl9jb25zdGFudF9ub2RlX2RhdGEucHJvdG8S",
|
||||
"C2NpcmN1aXRzX3YyIiwKFUNvbG9yQ29uc3RhbnROb2RlRGF0YRITCgtjb2xv",
|
||||
"cl9pbmRleBgBIAEoBUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ColorConstantNodeData), global::CircuitsV2.Protobuf.ColorConstantNodeData.Parser, new[]{ "ColorIndex" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ColorConstantNodeData : pb::IMessage<ColorConstantNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ColorConstantNodeData> _parser = new pb::MessageParser<ColorConstantNodeData>(() => new ColorConstantNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ColorConstantNodeData> 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.ColorConstantNodeDataReflection.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 ColorConstantNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ColorConstantNodeData(ColorConstantNodeData other) : this() {
|
||||
colorIndex_ = other.colorIndex_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ColorConstantNodeData Clone() {
|
||||
return new ColorConstantNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "color_index" field.</summary>
|
||||
public const int ColorIndexFieldNumber = 1;
|
||||
private int colorIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ColorIndex {
|
||||
get { return colorIndex_; }
|
||||
set {
|
||||
colorIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ColorConstantNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ColorConstantNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ColorIndex != other.ColorIndex) 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 (ColorIndex != 0) hash ^= ColorIndex.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 (ColorIndex != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(ColorIndex);
|
||||
}
|
||||
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 (ColorIndex != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(ColorIndex);
|
||||
}
|
||||
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 (ColorIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ColorConstantNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ColorIndex != 0) {
|
||||
ColorIndex = other.ColorIndex;
|
||||
}
|
||||
_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: {
|
||||
ColorIndex = input.ReadInt32();
|
||||
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: {
|
||||
ColorIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
353
ColorData.cs
Normal file
353
ColorData.cs
Normal file
@@ -0,0 +1,353 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: core/color_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 RecRoom.Protobuf.Core {
|
||||
|
||||
/// <summary>Holder for reflection information generated from core/color_data.proto</summary>
|
||||
public static partial class ColorDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for core/color_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ColorDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChVjb3JlL2NvbG9yX2RhdGEucHJvdG8SBGNvcmUiNwoJQ29sb3JEYXRhEgkK",
|
||||
"AXIYASABKAISCQoBZxgCIAEoAhIJCgFiGAMgASgCEgkKAWEYBCABKAJCGKoC",
|
||||
"FVJlY1Jvb20uUHJvdG9idWYuQ29yZWIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.Core.ColorData), global::RecRoom.Protobuf.Core.ColorData.Parser, new[]{ "R", "G", "B", "A" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ColorData : pb::IMessage<ColorData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ColorData> _parser = new pb::MessageParser<ColorData>(() => new ColorData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ColorData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.Core.ColorDataReflection.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 ColorData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ColorData(ColorData other) : this() {
|
||||
r_ = other.r_;
|
||||
g_ = other.g_;
|
||||
b_ = other.b_;
|
||||
a_ = other.a_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ColorData Clone() {
|
||||
return new ColorData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "r" field.</summary>
|
||||
public const int RFieldNumber = 1;
|
||||
private float r_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float R {
|
||||
get { return r_; }
|
||||
set {
|
||||
r_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "g" field.</summary>
|
||||
public const int GFieldNumber = 2;
|
||||
private float g_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float G {
|
||||
get { return g_; }
|
||||
set {
|
||||
g_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "b" field.</summary>
|
||||
public const int BFieldNumber = 3;
|
||||
private float b_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float B {
|
||||
get { return b_; }
|
||||
set {
|
||||
b_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "a" field.</summary>
|
||||
public const int AFieldNumber = 4;
|
||||
private float a_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float A {
|
||||
get { return a_; }
|
||||
set {
|
||||
a_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ColorData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ColorData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(R, other.R)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(G, other.G)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(B, other.B)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(A, other.A)) 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 (R != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(R);
|
||||
if (G != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(G);
|
||||
if (B != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(B);
|
||||
if (A != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(A);
|
||||
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 (R != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(R);
|
||||
}
|
||||
if (G != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(G);
|
||||
}
|
||||
if (B != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(B);
|
||||
}
|
||||
if (A != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(A);
|
||||
}
|
||||
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 (R != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(R);
|
||||
}
|
||||
if (G != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(G);
|
||||
}
|
||||
if (B != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(B);
|
||||
}
|
||||
if (A != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(A);
|
||||
}
|
||||
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 (R != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (G != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (B != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (A != 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(ColorData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.R != 0F) {
|
||||
R = other.R;
|
||||
}
|
||||
if (other.G != 0F) {
|
||||
G = other.G;
|
||||
}
|
||||
if (other.B != 0F) {
|
||||
B = other.B;
|
||||
}
|
||||
if (other.A != 0F) {
|
||||
A = other.A;
|
||||
}
|
||||
_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 13: {
|
||||
R = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
G = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
B = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
A = 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 13: {
|
||||
R = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
G = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
B = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
A = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
392
CommentNodeData.cs
Normal file
392
CommentNodeData.cs
Normal file
@@ -0,0 +1,392 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/comment_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/comment_node_data.proto</summary>
|
||||
public static partial class CommentNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/comment_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CommentNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiNjaXJjdWl0c192Mi9jb21tZW50X25vZGVfZGF0YS5wcm90bxILY2lyY3Vp",
|
||||
"dHNfdjIifgoPQ29tbWVudE5vZGVEYXRhEgwKBG5hbWUYASABKAkSFAoMY29t",
|
||||
"bWVudF9ib2R5GAUgASgJEhMKC2NvbG9yX2luZGV4GAMgASgFEhEKCWFsd2F5",
|
||||
"c19vbhgEIAEoCBIfChdERVBSRUNBVEVEX2NvbW1lbnRfYm9keRgCIAEoDEIW",
|
||||
"qgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CommentNodeData), global::CircuitsV2.Protobuf.CommentNodeData.Parser, new[]{ "Name", "CommentBody", "ColorIndex", "AlwaysOn", "DEPRECATEDCommentBody" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CommentNodeData : pb::IMessage<CommentNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CommentNodeData> _parser = new pb::MessageParser<CommentNodeData>(() => new CommentNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CommentNodeData> 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.CommentNodeDataReflection.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 CommentNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CommentNodeData(CommentNodeData other) : this() {
|
||||
name_ = other.name_;
|
||||
commentBody_ = other.commentBody_;
|
||||
colorIndex_ = other.colorIndex_;
|
||||
alwaysOn_ = other.alwaysOn_;
|
||||
dEPRECATEDCommentBody_ = other.dEPRECATEDCommentBody_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CommentNodeData Clone() {
|
||||
return new CommentNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 1;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "comment_body" field.</summary>
|
||||
public const int CommentBodyFieldNumber = 5;
|
||||
private string commentBody_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string CommentBody {
|
||||
get { return commentBody_; }
|
||||
set {
|
||||
commentBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "color_index" field.</summary>
|
||||
public const int ColorIndexFieldNumber = 3;
|
||||
private int colorIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ColorIndex {
|
||||
get { return colorIndex_; }
|
||||
set {
|
||||
colorIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "always_on" field.</summary>
|
||||
public const int AlwaysOnFieldNumber = 4;
|
||||
private bool alwaysOn_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool AlwaysOn {
|
||||
get { return alwaysOn_; }
|
||||
set {
|
||||
alwaysOn_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_comment_body" field.</summary>
|
||||
public const int DEPRECATEDCommentBodyFieldNumber = 2;
|
||||
private pb::ByteString dEPRECATEDCommentBody_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDCommentBody {
|
||||
get { return dEPRECATEDCommentBody_; }
|
||||
set {
|
||||
dEPRECATEDCommentBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CommentNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CommentNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Name != other.Name) return false;
|
||||
if (CommentBody != other.CommentBody) return false;
|
||||
if (ColorIndex != other.ColorIndex) return false;
|
||||
if (AlwaysOn != other.AlwaysOn) return false;
|
||||
if (DEPRECATEDCommentBody != other.DEPRECATEDCommentBody) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (CommentBody.Length != 0) hash ^= CommentBody.GetHashCode();
|
||||
if (ColorIndex != 0) hash ^= ColorIndex.GetHashCode();
|
||||
if (AlwaysOn != false) hash ^= AlwaysOn.GetHashCode();
|
||||
if (DEPRECATEDCommentBody.Length != 0) hash ^= DEPRECATEDCommentBody.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 (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (DEPRECATEDCommentBody.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(DEPRECATEDCommentBody);
|
||||
}
|
||||
if (ColorIndex != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ColorIndex);
|
||||
}
|
||||
if (AlwaysOn != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(AlwaysOn);
|
||||
}
|
||||
if (CommentBody.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(CommentBody);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (DEPRECATEDCommentBody.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(DEPRECATEDCommentBody);
|
||||
}
|
||||
if (ColorIndex != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ColorIndex);
|
||||
}
|
||||
if (AlwaysOn != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(AlwaysOn);
|
||||
}
|
||||
if (CommentBody.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(CommentBody);
|
||||
}
|
||||
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 (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (CommentBody.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(CommentBody);
|
||||
}
|
||||
if (ColorIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorIndex);
|
||||
}
|
||||
if (AlwaysOn != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DEPRECATEDCommentBody.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDCommentBody);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CommentNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.CommentBody.Length != 0) {
|
||||
CommentBody = other.CommentBody;
|
||||
}
|
||||
if (other.ColorIndex != 0) {
|
||||
ColorIndex = other.ColorIndex;
|
||||
}
|
||||
if (other.AlwaysOn != false) {
|
||||
AlwaysOn = other.AlwaysOn;
|
||||
}
|
||||
if (other.DEPRECATEDCommentBody.Length != 0) {
|
||||
DEPRECATEDCommentBody = other.DEPRECATEDCommentBody;
|
||||
}
|
||||
_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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
DEPRECATEDCommentBody = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ColorIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
AlwaysOn = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
CommentBody = input.ReadString();
|
||||
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: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
DEPRECATEDCommentBody = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ColorIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
AlwaysOn = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
CommentBody = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
ConfigurableCircuitVisibilityData.cs
Normal file
243
ConfigurableCircuitVisibilityData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/configurable_circuit_visibility_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/configurable_circuit_visibility_data.proto</summary>
|
||||
public static partial class ConfigurableCircuitVisibilityDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/configurable_circuit_visibility_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConfigurableCircuitVisibilityDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cj9yZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb25maWd1cmFibGVfY2lyY3VpdF92",
|
||||
"aXNpYmlsaXR5X2RhdGEucHJvdG8SCHJlY19yb29tIkcKIUNvbmZpZ3VyYWJs",
|
||||
"ZUNpcmN1aXRWaXNpYmlsaXR5RGF0YRIiChpjb25maWd1cmVkX2NpcmN1aXRf",
|
||||
"dmlzaWJsZRgBIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConfigurableCircuitVisibilityData), global::RecRoom.Protobuf.ConfigurableCircuitVisibilityData.Parser, new[]{ "ConfiguredCircuitVisible" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConfigurableCircuitVisibilityData : pb::IMessage<ConfigurableCircuitVisibilityData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConfigurableCircuitVisibilityData> _parser = new pb::MessageParser<ConfigurableCircuitVisibilityData>(() => new ConfigurableCircuitVisibilityData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConfigurableCircuitVisibilityData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ConfigurableCircuitVisibilityDataReflection.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 ConfigurableCircuitVisibilityData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurableCircuitVisibilityData(ConfigurableCircuitVisibilityData other) : this() {
|
||||
configuredCircuitVisible_ = other.configuredCircuitVisible_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurableCircuitVisibilityData Clone() {
|
||||
return new ConfigurableCircuitVisibilityData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "configured_circuit_visible" field.</summary>
|
||||
public const int ConfiguredCircuitVisibleFieldNumber = 1;
|
||||
private bool configuredCircuitVisible_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ConfiguredCircuitVisible {
|
||||
get { return configuredCircuitVisible_; }
|
||||
set {
|
||||
configuredCircuitVisible_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConfigurableCircuitVisibilityData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConfigurableCircuitVisibilityData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ConfiguredCircuitVisible != other.ConfiguredCircuitVisible) 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 (ConfiguredCircuitVisible != false) hash ^= ConfiguredCircuitVisible.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 (ConfiguredCircuitVisible != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(ConfiguredCircuitVisible);
|
||||
}
|
||||
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 (ConfiguredCircuitVisible != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(ConfiguredCircuitVisible);
|
||||
}
|
||||
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 (ConfiguredCircuitVisible != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConfigurableCircuitVisibilityData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ConfiguredCircuitVisible != false) {
|
||||
ConfiguredCircuitVisible = other.ConfiguredCircuitVisible;
|
||||
}
|
||||
_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: {
|
||||
ConfiguredCircuitVisible = input.ReadBool();
|
||||
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: {
|
||||
ConfiguredCircuitVisible = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
ConfigurablePhysicsSettingsData.cs
Normal file
243
ConfigurablePhysicsSettingsData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/configurable_physics_settings_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/configurable_physics_settings_data.proto</summary>
|
||||
public static partial class ConfigurablePhysicsSettingsDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/configurable_physics_settings_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConfigurablePhysicsSettingsDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cj1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb25maWd1cmFibGVfcGh5c2ljc19z",
|
||||
"ZXR0aW5nc19kYXRhLnByb3RvEghyZWNfcm9vbSI7Ch9Db25maWd1cmFibGVQ",
|
||||
"aHlzaWNzU2V0dGluZ3NEYXRhEhgKEHBoeXNpY3NfZGlzYWJsZWQYASABKAhC",
|
||||
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConfigurablePhysicsSettingsData), global::RecRoom.Protobuf.ConfigurablePhysicsSettingsData.Parser, new[]{ "PhysicsDisabled" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConfigurablePhysicsSettingsData : pb::IMessage<ConfigurablePhysicsSettingsData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConfigurablePhysicsSettingsData> _parser = new pb::MessageParser<ConfigurablePhysicsSettingsData>(() => new ConfigurablePhysicsSettingsData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConfigurablePhysicsSettingsData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ConfigurablePhysicsSettingsDataReflection.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 ConfigurablePhysicsSettingsData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurablePhysicsSettingsData(ConfigurablePhysicsSettingsData other) : this() {
|
||||
physicsDisabled_ = other.physicsDisabled_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurablePhysicsSettingsData Clone() {
|
||||
return new ConfigurablePhysicsSettingsData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "physics_disabled" field.</summary>
|
||||
public const int PhysicsDisabledFieldNumber = 1;
|
||||
private bool physicsDisabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool PhysicsDisabled {
|
||||
get { return physicsDisabled_; }
|
||||
set {
|
||||
physicsDisabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConfigurablePhysicsSettingsData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConfigurablePhysicsSettingsData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PhysicsDisabled != other.PhysicsDisabled) 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 (PhysicsDisabled != false) hash ^= PhysicsDisabled.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 (PhysicsDisabled != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(PhysicsDisabled);
|
||||
}
|
||||
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 (PhysicsDisabled != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(PhysicsDisabled);
|
||||
}
|
||||
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 (PhysicsDisabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConfigurablePhysicsSettingsData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PhysicsDisabled != false) {
|
||||
PhysicsDisabled = other.PhysicsDisabled;
|
||||
}
|
||||
_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: {
|
||||
PhysicsDisabled = input.ReadBool();
|
||||
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: {
|
||||
PhysicsDisabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
ConfigurableSelectorData.cs
Normal file
280
ConfigurableSelectorData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/configurable_selector_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/configurable_selector_data.proto</summary>
|
||||
public static partial class ConfigurableSelectorDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/configurable_selector_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConfigurableSelectorDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjVyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb25maWd1cmFibGVfc2VsZWN0b3Jf",
|
||||
"ZGF0YS5wcm90bxIIcmVjX3Jvb20iRAoYQ29uZmlndXJhYmxlU2VsZWN0b3JE",
|
||||
"YXRhEhMKC3NlbGVjdGVkX2lkGAEgASgFEhMKC2luc3RhbmNlX2lkGAIgASgM",
|
||||
"QhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConfigurableSelectorData), global::RecRoom.Protobuf.ConfigurableSelectorData.Parser, new[]{ "SelectedId", "InstanceId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConfigurableSelectorData : pb::IMessage<ConfigurableSelectorData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConfigurableSelectorData> _parser = new pb::MessageParser<ConfigurableSelectorData>(() => new ConfigurableSelectorData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConfigurableSelectorData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ConfigurableSelectorDataReflection.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 ConfigurableSelectorData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurableSelectorData(ConfigurableSelectorData other) : this() {
|
||||
selectedId_ = other.selectedId_;
|
||||
instanceId_ = other.instanceId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConfigurableSelectorData Clone() {
|
||||
return new ConfigurableSelectorData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "selected_id" field.</summary>
|
||||
public const int SelectedIdFieldNumber = 1;
|
||||
private int selectedId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SelectedId {
|
||||
get { return selectedId_; }
|
||||
set {
|
||||
selectedId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "instance_id" field.</summary>
|
||||
public const int InstanceIdFieldNumber = 2;
|
||||
private pb::ByteString instanceId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString InstanceId {
|
||||
get { return instanceId_; }
|
||||
set {
|
||||
instanceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConfigurableSelectorData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConfigurableSelectorData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SelectedId != other.SelectedId) return false;
|
||||
if (InstanceId != other.InstanceId) 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 (SelectedId != 0) hash ^= SelectedId.GetHashCode();
|
||||
if (InstanceId.Length != 0) hash ^= InstanceId.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 (SelectedId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SelectedId);
|
||||
}
|
||||
if (InstanceId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(InstanceId);
|
||||
}
|
||||
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 (SelectedId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(SelectedId);
|
||||
}
|
||||
if (InstanceId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(InstanceId);
|
||||
}
|
||||
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 (SelectedId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SelectedId);
|
||||
}
|
||||
if (InstanceId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(InstanceId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConfigurableSelectorData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SelectedId != 0) {
|
||||
SelectedId = other.SelectedId;
|
||||
}
|
||||
if (other.InstanceId.Length != 0) {
|
||||
InstanceId = other.InstanceId;
|
||||
}
|
||||
_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: {
|
||||
SelectedId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
InstanceId = input.ReadBytes();
|
||||
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: {
|
||||
SelectedId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
InstanceId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
762
ConnectableNodeData.cs
Normal file
762
ConnectableNodeData.cs
Normal file
@@ -0,0 +1,762 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/connectable_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/connectable_node_data.proto</summary>
|
||||
public static partial class ConnectableNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/connectable_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConnectableNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjByZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb25uZWN0YWJsZV9ub2RlX2RhdGEu",
|
||||
"cHJvdG8SCHJlY19yb29tGhdjb3JlL3ZlY3RvcjNfZGF0YS5wcm90byJIChRD",
|
||||
"b25uZWN0YWJsZUdyYXBoRGF0YRIwCglyb290X25vZGUYASABKAsyHS5yZWNf",
|
||||
"cm9vbS5Db25uZWN0YWJsZU5vZGVEYXRhIrUCChNDb25uZWN0YWJsZU5vZGVE",
|
||||
"YXRhEhYKDnBlcnNpc3RlbmNlX2lkGAEgASgMEhEKCXBob3Rvbl9pZBgIIAEo",
|
||||
"BRISCgplbnRpdHlfaWR4GAkgASgFEhIKCnNsb3RfaW5kZXgYAiABKAUSGQoR",
|
||||
"cGFyZW50X3Nsb3RfaW5kZXgYAyABKAUSNgobcG9zaXRpb25fcmVsYXRpdmVf",
|
||||
"dG9fcGFyZW50GAQgASgLMhEuY29yZS5WZWN0b3IzRGF0YRI2Chtyb3RhdGlv",
|
||||
"bl9yZWxhdGl2ZV90b19wYXJlbnQYBSABKAsyES5jb3JlLlZlY3RvcjNEYXRh",
|
||||
"Ei8KCGNoaWxkcmVuGAYgAygLMh0ucmVjX3Jvb20uQ29ubmVjdGFibGVOb2Rl",
|
||||
"RGF0YRIPCgdpc19yb290GAcgASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConnectableGraphData), global::RecRoom.Protobuf.ConnectableGraphData.Parser, new[]{ "RootNode" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConnectableNodeData), global::RecRoom.Protobuf.ConnectableNodeData.Parser, new[]{ "PersistenceId", "PhotonId", "EntityIdx", "SlotIndex", "ParentSlotIndex", "PositionRelativeToParent", "RotationRelativeToParent", "Children", "IsRoot" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConnectableGraphData : pb::IMessage<ConnectableGraphData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConnectableGraphData> _parser = new pb::MessageParser<ConnectableGraphData>(() => new ConnectableGraphData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConnectableGraphData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ConnectableNodeDataReflection.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 ConnectableGraphData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConnectableGraphData(ConnectableGraphData other) : this() {
|
||||
rootNode_ = other.rootNode_ != null ? other.rootNode_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConnectableGraphData Clone() {
|
||||
return new ConnectableGraphData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "root_node" field.</summary>
|
||||
public const int RootNodeFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.ConnectableNodeData rootNode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.ConnectableNodeData RootNode {
|
||||
get { return rootNode_; }
|
||||
set {
|
||||
rootNode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConnectableGraphData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConnectableGraphData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RootNode, other.RootNode)) 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 (rootNode_ != null) hash ^= RootNode.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 (rootNode_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RootNode);
|
||||
}
|
||||
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 (rootNode_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RootNode);
|
||||
}
|
||||
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 (rootNode_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RootNode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConnectableGraphData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.rootNode_ != null) {
|
||||
if (rootNode_ == null) {
|
||||
RootNode = new global::RecRoom.Protobuf.ConnectableNodeData();
|
||||
}
|
||||
RootNode.MergeFrom(other.RootNode);
|
||||
}
|
||||
_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 (rootNode_ == null) {
|
||||
RootNode = new global::RecRoom.Protobuf.ConnectableNodeData();
|
||||
}
|
||||
input.ReadMessage(RootNode);
|
||||
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 (rootNode_ == null) {
|
||||
RootNode = new global::RecRoom.Protobuf.ConnectableNodeData();
|
||||
}
|
||||
input.ReadMessage(RootNode);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConnectableNodeData : pb::IMessage<ConnectableNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConnectableNodeData> _parser = new pb::MessageParser<ConnectableNodeData>(() => new ConnectableNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConnectableNodeData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ConnectableNodeDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[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 ConnectableNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConnectableNodeData(ConnectableNodeData other) : this() {
|
||||
persistenceId_ = other.persistenceId_;
|
||||
photonId_ = other.photonId_;
|
||||
entityIdx_ = other.entityIdx_;
|
||||
slotIndex_ = other.slotIndex_;
|
||||
parentSlotIndex_ = other.parentSlotIndex_;
|
||||
positionRelativeToParent_ = other.positionRelativeToParent_ != null ? other.positionRelativeToParent_.Clone() : null;
|
||||
rotationRelativeToParent_ = other.rotationRelativeToParent_ != null ? other.rotationRelativeToParent_.Clone() : null;
|
||||
children_ = other.children_.Clone();
|
||||
isRoot_ = other.isRoot_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConnectableNodeData Clone() {
|
||||
return new ConnectableNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "persistence_id" field.</summary>
|
||||
public const int PersistenceIdFieldNumber = 1;
|
||||
private pb::ByteString persistenceId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString PersistenceId {
|
||||
get { return persistenceId_; }
|
||||
set {
|
||||
persistenceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "photon_id" field.</summary>
|
||||
public const int PhotonIdFieldNumber = 8;
|
||||
private int photonId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int PhotonId {
|
||||
get { return photonId_; }
|
||||
set {
|
||||
photonId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entity_idx" field.</summary>
|
||||
public const int EntityIdxFieldNumber = 9;
|
||||
private int entityIdx_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int EntityIdx {
|
||||
get { return entityIdx_; }
|
||||
set {
|
||||
entityIdx_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "slot_index" field.</summary>
|
||||
public const int SlotIndexFieldNumber = 2;
|
||||
private int slotIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SlotIndex {
|
||||
get { return slotIndex_; }
|
||||
set {
|
||||
slotIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "parent_slot_index" field.</summary>
|
||||
public const int ParentSlotIndexFieldNumber = 3;
|
||||
private int parentSlotIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ParentSlotIndex {
|
||||
get { return parentSlotIndex_; }
|
||||
set {
|
||||
parentSlotIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "position_relative_to_parent" field.</summary>
|
||||
public const int PositionRelativeToParentFieldNumber = 4;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data positionRelativeToParent_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data PositionRelativeToParent {
|
||||
get { return positionRelativeToParent_; }
|
||||
set {
|
||||
positionRelativeToParent_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rotation_relative_to_parent" field.</summary>
|
||||
public const int RotationRelativeToParentFieldNumber = 5;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data rotationRelativeToParent_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data RotationRelativeToParent {
|
||||
get { return rotationRelativeToParent_; }
|
||||
set {
|
||||
rotationRelativeToParent_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "children" field.</summary>
|
||||
public const int ChildrenFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.ConnectableNodeData> _repeated_children_codec
|
||||
= pb::FieldCodec.ForMessage(50, global::RecRoom.Protobuf.ConnectableNodeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.ConnectableNodeData> children_ = new pbc::RepeatedField<global::RecRoom.Protobuf.ConnectableNodeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.ConnectableNodeData> Children {
|
||||
get { return children_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_root" field.</summary>
|
||||
public const int IsRootFieldNumber = 7;
|
||||
private bool isRoot_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsRoot {
|
||||
get { return isRoot_; }
|
||||
set {
|
||||
isRoot_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConnectableNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConnectableNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PersistenceId != other.PersistenceId) return false;
|
||||
if (PhotonId != other.PhotonId) return false;
|
||||
if (EntityIdx != other.EntityIdx) return false;
|
||||
if (SlotIndex != other.SlotIndex) return false;
|
||||
if (ParentSlotIndex != other.ParentSlotIndex) return false;
|
||||
if (!object.Equals(PositionRelativeToParent, other.PositionRelativeToParent)) return false;
|
||||
if (!object.Equals(RotationRelativeToParent, other.RotationRelativeToParent)) return false;
|
||||
if(!children_.Equals(other.children_)) return false;
|
||||
if (IsRoot != other.IsRoot) 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 (PersistenceId.Length != 0) hash ^= PersistenceId.GetHashCode();
|
||||
if (PhotonId != 0) hash ^= PhotonId.GetHashCode();
|
||||
if (EntityIdx != 0) hash ^= EntityIdx.GetHashCode();
|
||||
if (SlotIndex != 0) hash ^= SlotIndex.GetHashCode();
|
||||
if (ParentSlotIndex != 0) hash ^= ParentSlotIndex.GetHashCode();
|
||||
if (positionRelativeToParent_ != null) hash ^= PositionRelativeToParent.GetHashCode();
|
||||
if (rotationRelativeToParent_ != null) hash ^= RotationRelativeToParent.GetHashCode();
|
||||
hash ^= children_.GetHashCode();
|
||||
if (IsRoot != false) hash ^= IsRoot.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 (PersistenceId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(PersistenceId);
|
||||
}
|
||||
if (SlotIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(SlotIndex);
|
||||
}
|
||||
if (ParentSlotIndex != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ParentSlotIndex);
|
||||
}
|
||||
if (positionRelativeToParent_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PositionRelativeToParent);
|
||||
}
|
||||
if (rotationRelativeToParent_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(RotationRelativeToParent);
|
||||
}
|
||||
children_.WriteTo(output, _repeated_children_codec);
|
||||
if (IsRoot != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsRoot);
|
||||
}
|
||||
if (PhotonId != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(PhotonId);
|
||||
}
|
||||
if (EntityIdx != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(EntityIdx);
|
||||
}
|
||||
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 (PersistenceId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(PersistenceId);
|
||||
}
|
||||
if (SlotIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(SlotIndex);
|
||||
}
|
||||
if (ParentSlotIndex != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ParentSlotIndex);
|
||||
}
|
||||
if (positionRelativeToParent_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PositionRelativeToParent);
|
||||
}
|
||||
if (rotationRelativeToParent_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(RotationRelativeToParent);
|
||||
}
|
||||
children_.WriteTo(ref output, _repeated_children_codec);
|
||||
if (IsRoot != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsRoot);
|
||||
}
|
||||
if (PhotonId != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(PhotonId);
|
||||
}
|
||||
if (EntityIdx != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(EntityIdx);
|
||||
}
|
||||
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 (PersistenceId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(PersistenceId);
|
||||
}
|
||||
if (PhotonId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PhotonId);
|
||||
}
|
||||
if (EntityIdx != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntityIdx);
|
||||
}
|
||||
if (SlotIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex);
|
||||
}
|
||||
if (ParentSlotIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParentSlotIndex);
|
||||
}
|
||||
if (positionRelativeToParent_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionRelativeToParent);
|
||||
}
|
||||
if (rotationRelativeToParent_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RotationRelativeToParent);
|
||||
}
|
||||
size += children_.CalculateSize(_repeated_children_codec);
|
||||
if (IsRoot != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConnectableNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PersistenceId.Length != 0) {
|
||||
PersistenceId = other.PersistenceId;
|
||||
}
|
||||
if (other.PhotonId != 0) {
|
||||
PhotonId = other.PhotonId;
|
||||
}
|
||||
if (other.EntityIdx != 0) {
|
||||
EntityIdx = other.EntityIdx;
|
||||
}
|
||||
if (other.SlotIndex != 0) {
|
||||
SlotIndex = other.SlotIndex;
|
||||
}
|
||||
if (other.ParentSlotIndex != 0) {
|
||||
ParentSlotIndex = other.ParentSlotIndex;
|
||||
}
|
||||
if (other.positionRelativeToParent_ != null) {
|
||||
if (positionRelativeToParent_ == null) {
|
||||
PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
PositionRelativeToParent.MergeFrom(other.PositionRelativeToParent);
|
||||
}
|
||||
if (other.rotationRelativeToParent_ != null) {
|
||||
if (rotationRelativeToParent_ == null) {
|
||||
RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
RotationRelativeToParent.MergeFrom(other.RotationRelativeToParent);
|
||||
}
|
||||
children_.Add(other.children_);
|
||||
if (other.IsRoot != false) {
|
||||
IsRoot = other.IsRoot;
|
||||
}
|
||||
_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: {
|
||||
PersistenceId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SlotIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ParentSlotIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (positionRelativeToParent_ == null) {
|
||||
PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(PositionRelativeToParent);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (rotationRelativeToParent_ == null) {
|
||||
RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(RotationRelativeToParent);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
children_.AddEntriesFrom(input, _repeated_children_codec);
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsRoot = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
PhotonId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
EntityIdx = input.ReadInt32();
|
||||
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: {
|
||||
PersistenceId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
SlotIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ParentSlotIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (positionRelativeToParent_ == null) {
|
||||
PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(PositionRelativeToParent);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (rotationRelativeToParent_ == null) {
|
||||
RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(RotationRelativeToParent);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
children_.AddEntriesFrom(ref input, _repeated_children_codec);
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsRoot = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
PhotonId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
EntityIdx = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
ConstantAiFunctionNodeInstData.cs
Normal file
243
ConstantAiFunctionNodeInstData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_ai_function_node_inst_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/constant_ai_function_node_inst_data.proto</summary>
|
||||
public static partial class ConstantAiFunctionNodeInstDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_ai_function_node_inst_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantAiFunctionNodeInstDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjVjaXJjdWl0c192Mi9jb25zdGFudF9haV9mdW5jdGlvbl9ub2RlX2luc3Rf",
|
||||
"ZGF0YS5wcm90bxILY2lyY3VpdHNfdjIiOgoeQ29uc3RhbnRBaUZ1bmN0aW9u",
|
||||
"Tm9kZUluc3REYXRhEhgKEGZ1bmN0aW9uX2RlY2xfaWQYASABKAVCFqoCE0Np",
|
||||
"cmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData), global::CircuitsV2.Protobuf.ConstantAiFunctionNodeInstData.Parser, new[]{ "FunctionDeclId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantAiFunctionNodeInstData : pb::IMessage<ConstantAiFunctionNodeInstData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantAiFunctionNodeInstData> _parser = new pb::MessageParser<ConstantAiFunctionNodeInstData>(() => new ConstantAiFunctionNodeInstData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantAiFunctionNodeInstData> 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.ConstantAiFunctionNodeInstDataReflection.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 ConstantAiFunctionNodeInstData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantAiFunctionNodeInstData(ConstantAiFunctionNodeInstData other) : this() {
|
||||
functionDeclId_ = other.functionDeclId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantAiFunctionNodeInstData Clone() {
|
||||
return new ConstantAiFunctionNodeInstData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "function_decl_id" field.</summary>
|
||||
public const int FunctionDeclIdFieldNumber = 1;
|
||||
private int functionDeclId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int FunctionDeclId {
|
||||
get { return functionDeclId_; }
|
||||
set {
|
||||
functionDeclId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantAiFunctionNodeInstData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantAiFunctionNodeInstData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (FunctionDeclId != other.FunctionDeclId) 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 (FunctionDeclId != 0) hash ^= FunctionDeclId.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 (FunctionDeclId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(FunctionDeclId);
|
||||
}
|
||||
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 (FunctionDeclId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(FunctionDeclId);
|
||||
}
|
||||
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 (FunctionDeclId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FunctionDeclId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantAiFunctionNodeInstData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.FunctionDeclId != 0) {
|
||||
FunctionDeclId = other.FunctionDeclId;
|
||||
}
|
||||
_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: {
|
||||
FunctionDeclId = input.ReadInt32();
|
||||
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: {
|
||||
FunctionDeclId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
253
ConstantAvatarItemNodeData.cs
Normal file
253
ConstantAvatarItemNodeData.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_avatar_item_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/constant_avatar_item_node_data.proto</summary>
|
||||
public static partial class ConstantAvatarItemNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_avatar_item_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantAvatarItemNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjBjaXJjdWl0c192Mi9jb25zdGFudF9hdmF0YXJfaXRlbV9ub2RlX2RhdGEu",
|
||||
"cHJvdG8SC2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byJAChZD",
|
||||
"b25zdGFudEF2YXRhckl0ZW1EYXRhEiYKDmF2YXRhcl9pdGVtX2lkGAEgASgL",
|
||||
"Mg4uY29yZS5HdWlkRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJv",
|
||||
"dG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantAvatarItemData), global::CircuitsV2.Protobuf.ConstantAvatarItemData.Parser, new[]{ "AvatarItemId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantAvatarItemData : pb::IMessage<ConstantAvatarItemData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantAvatarItemData> _parser = new pb::MessageParser<ConstantAvatarItemData>(() => new ConstantAvatarItemData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantAvatarItemData> 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.ConstantAvatarItemNodeDataReflection.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 ConstantAvatarItemData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantAvatarItemData(ConstantAvatarItemData other) : this() {
|
||||
avatarItemId_ = other.avatarItemId_ != null ? other.avatarItemId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantAvatarItemData Clone() {
|
||||
return new ConstantAvatarItemData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "avatar_item_id" field.</summary>
|
||||
public const int AvatarItemIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData avatarItemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData AvatarItemId {
|
||||
get { return avatarItemId_; }
|
||||
set {
|
||||
avatarItemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantAvatarItemData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantAvatarItemData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(AvatarItemId, other.AvatarItemId)) 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 (avatarItemId_ != null) hash ^= AvatarItemId.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 (avatarItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(AvatarItemId);
|
||||
}
|
||||
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 (avatarItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(AvatarItemId);
|
||||
}
|
||||
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 (avatarItemId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarItemId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantAvatarItemData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.avatarItemId_ != null) {
|
||||
if (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
AvatarItemId.MergeFrom(other.AvatarItemId);
|
||||
}
|
||||
_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 (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(AvatarItemId);
|
||||
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 (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(AvatarItemId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
242
ConstantBodyPartNodeData.cs
Normal file
242
ConstantBodyPartNodeData.cs
Normal file
@@ -0,0 +1,242 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_body_part_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/constant_body_part_node_data.proto</summary>
|
||||
public static partial class ConstantBodyPartNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_body_part_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantBodyPartNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5jaXJjdWl0c192Mi9jb25zdGFudF9ib2R5X3BhcnRfbm9kZV9kYXRhLnBy",
|
||||
"b3RvEgtjaXJjdWl0c192MiIoChRDb25zdGFudEJvZHlQYXJ0RGF0YRIQCghi",
|
||||
"b2R5UGFydBgBIAEoBUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantBodyPartData), global::CircuitsV2.Protobuf.ConstantBodyPartData.Parser, new[]{ "BodyPart" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantBodyPartData : pb::IMessage<ConstantBodyPartData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantBodyPartData> _parser = new pb::MessageParser<ConstantBodyPartData>(() => new ConstantBodyPartData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantBodyPartData> 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.ConstantBodyPartNodeDataReflection.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 ConstantBodyPartData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantBodyPartData(ConstantBodyPartData other) : this() {
|
||||
bodyPart_ = other.bodyPart_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantBodyPartData Clone() {
|
||||
return new ConstantBodyPartData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "bodyPart" field.</summary>
|
||||
public const int BodyPartFieldNumber = 1;
|
||||
private int bodyPart_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BodyPart {
|
||||
get { return bodyPart_; }
|
||||
set {
|
||||
bodyPart_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantBodyPartData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantBodyPartData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BodyPart != other.BodyPart) 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 (BodyPart != 0) hash ^= BodyPart.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 (BodyPart != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BodyPart);
|
||||
}
|
||||
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 (BodyPart != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(BodyPart);
|
||||
}
|
||||
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 (BodyPart != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BodyPart);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantBodyPartData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BodyPart != 0) {
|
||||
BodyPart = other.BodyPart;
|
||||
}
|
||||
_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: {
|
||||
BodyPart = input.ReadInt32();
|
||||
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: {
|
||||
BodyPart = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
253
ConstantConsumableNodeData.cs
Normal file
253
ConstantConsumableNodeData.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_consumable_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/constant_consumable_node_data.proto</summary>
|
||||
public static partial class ConstantConsumableNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_consumable_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantConsumableNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9jaXJjdWl0c192Mi9jb25zdGFudF9jb25zdW1hYmxlX25vZGVfZGF0YS5w",
|
||||
"cm90bxILY2lyY3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIj8KFkNv",
|
||||
"bnN0YW50Q29uc3VtYWJsZURhdGESJQoNY29uc3VtYWJsZV9pZBgBIAEoCzIO",
|
||||
"LmNvcmUuR3VpZERhdGFCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3Rv",
|
||||
"Mw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantConsumableData), global::CircuitsV2.Protobuf.ConstantConsumableData.Parser, new[]{ "ConsumableId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantConsumableData : pb::IMessage<ConstantConsumableData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantConsumableData> _parser = new pb::MessageParser<ConstantConsumableData>(() => new ConstantConsumableData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantConsumableData> 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.ConstantConsumableNodeDataReflection.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 ConstantConsumableData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantConsumableData(ConstantConsumableData other) : this() {
|
||||
consumableId_ = other.consumableId_ != null ? other.consumableId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantConsumableData Clone() {
|
||||
return new ConstantConsumableData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "consumable_id" field.</summary>
|
||||
public const int ConsumableIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData consumableId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData ConsumableId {
|
||||
get { return consumableId_; }
|
||||
set {
|
||||
consumableId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantConsumableData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantConsumableData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(ConsumableId, other.ConsumableId)) 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 (consumableId_ != null) hash ^= ConsumableId.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 (consumableId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(ConsumableId);
|
||||
}
|
||||
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 (consumableId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(ConsumableId);
|
||||
}
|
||||
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 (consumableId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConsumableId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantConsumableData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.consumableId_ != null) {
|
||||
if (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
ConsumableId.MergeFrom(other.ConsumableId);
|
||||
}
|
||||
_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 (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ConsumableId);
|
||||
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 (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ConsumableId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
506
ConstantDestinationNodeData.cs
Normal file
506
ConstantDestinationNodeData.cs
Normal file
@@ -0,0 +1,506 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_destination_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/constant_destination_node_data.proto</summary>
|
||||
public static partial class ConstantDestinationNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_destination_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantDestinationNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjBjaXJjdWl0c192Mi9jb25zdGFudF9kZXN0aW5hdGlvbl9ub2RlX2RhdGEu",
|
||||
"cHJvdG8SC2NpcmN1aXRzX3YyIvUBChdDb25zdGFudERlc3RpbmF0aW9uRGF0",
|
||||
"YRIdChVyb29tX2Rvb3JfaW52aXRlX21vZGUYBCABKAUSGgoSZm9yY2VfbmV3",
|
||||
"X2luc3RhbmNlGAUgASgIEhEKCXJvb21fbmFtZRgGIAEoCRIUCgxzdWJyb29t",
|
||||
"X25hbWUYByABKAkSGAoQd2VsY29tZV9tYXRfbmFtZRgIIAEoCRIaChJERVBS",
|
||||
"RUNBVEVEX3Jvb21faWQYASABKAMSHQoVREVQUkVDQVRFRF9zdWJyb29tX2lk",
|
||||
"GAIgASgDEiEKGURFUFJFQ0FURURfd2VsY29tZV9tYXRfaWQYAyABKAVCFqoC",
|
||||
"E0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantDestinationData), global::CircuitsV2.Protobuf.ConstantDestinationData.Parser, new[]{ "RoomDoorInviteMode", "ForceNewInstance", "RoomName", "SubroomName", "WelcomeMatName", "DEPRECATEDRoomId", "DEPRECATEDSubroomId", "DEPRECATEDWelcomeMatId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantDestinationData : pb::IMessage<ConstantDestinationData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantDestinationData> _parser = new pb::MessageParser<ConstantDestinationData>(() => new ConstantDestinationData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantDestinationData> 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.ConstantDestinationNodeDataReflection.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 ConstantDestinationData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantDestinationData(ConstantDestinationData other) : this() {
|
||||
roomDoorInviteMode_ = other.roomDoorInviteMode_;
|
||||
forceNewInstance_ = other.forceNewInstance_;
|
||||
roomName_ = other.roomName_;
|
||||
subroomName_ = other.subroomName_;
|
||||
welcomeMatName_ = other.welcomeMatName_;
|
||||
dEPRECATEDRoomId_ = other.dEPRECATEDRoomId_;
|
||||
dEPRECATEDSubroomId_ = other.dEPRECATEDSubroomId_;
|
||||
dEPRECATEDWelcomeMatId_ = other.dEPRECATEDWelcomeMatId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantDestinationData Clone() {
|
||||
return new ConstantDestinationData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "room_door_invite_mode" field.</summary>
|
||||
public const int RoomDoorInviteModeFieldNumber = 4;
|
||||
private int roomDoorInviteMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RoomDoorInviteMode {
|
||||
get { return roomDoorInviteMode_; }
|
||||
set {
|
||||
roomDoorInviteMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "force_new_instance" field.</summary>
|
||||
public const int ForceNewInstanceFieldNumber = 5;
|
||||
private bool forceNewInstance_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool ForceNewInstance {
|
||||
get { return forceNewInstance_; }
|
||||
set {
|
||||
forceNewInstance_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "room_name" field.</summary>
|
||||
public const int RoomNameFieldNumber = 6;
|
||||
private string roomName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string RoomName {
|
||||
get { return roomName_; }
|
||||
set {
|
||||
roomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "subroom_name" field.</summary>
|
||||
public const int SubroomNameFieldNumber = 7;
|
||||
private string subroomName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string SubroomName {
|
||||
get { return subroomName_; }
|
||||
set {
|
||||
subroomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "welcome_mat_name" field.</summary>
|
||||
public const int WelcomeMatNameFieldNumber = 8;
|
||||
private string welcomeMatName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string WelcomeMatName {
|
||||
get { return welcomeMatName_; }
|
||||
set {
|
||||
welcomeMatName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_room_id" field.</summary>
|
||||
public const int DEPRECATEDRoomIdFieldNumber = 1;
|
||||
private long dEPRECATEDRoomId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long DEPRECATEDRoomId {
|
||||
get { return dEPRECATEDRoomId_; }
|
||||
set {
|
||||
dEPRECATEDRoomId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_subroom_id" field.</summary>
|
||||
public const int DEPRECATEDSubroomIdFieldNumber = 2;
|
||||
private long dEPRECATEDSubroomId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long DEPRECATEDSubroomId {
|
||||
get { return dEPRECATEDSubroomId_; }
|
||||
set {
|
||||
dEPRECATEDSubroomId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_welcome_mat_id" field.</summary>
|
||||
public const int DEPRECATEDWelcomeMatIdFieldNumber = 3;
|
||||
private int dEPRECATEDWelcomeMatId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DEPRECATEDWelcomeMatId {
|
||||
get { return dEPRECATEDWelcomeMatId_; }
|
||||
set {
|
||||
dEPRECATEDWelcomeMatId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantDestinationData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantDestinationData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (RoomDoorInviteMode != other.RoomDoorInviteMode) return false;
|
||||
if (ForceNewInstance != other.ForceNewInstance) return false;
|
||||
if (RoomName != other.RoomName) return false;
|
||||
if (SubroomName != other.SubroomName) return false;
|
||||
if (WelcomeMatName != other.WelcomeMatName) return false;
|
||||
if (DEPRECATEDRoomId != other.DEPRECATEDRoomId) return false;
|
||||
if (DEPRECATEDSubroomId != other.DEPRECATEDSubroomId) return false;
|
||||
if (DEPRECATEDWelcomeMatId != other.DEPRECATEDWelcomeMatId) 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 (RoomDoorInviteMode != 0) hash ^= RoomDoorInviteMode.GetHashCode();
|
||||
if (ForceNewInstance != false) hash ^= ForceNewInstance.GetHashCode();
|
||||
if (RoomName.Length != 0) hash ^= RoomName.GetHashCode();
|
||||
if (SubroomName.Length != 0) hash ^= SubroomName.GetHashCode();
|
||||
if (WelcomeMatName.Length != 0) hash ^= WelcomeMatName.GetHashCode();
|
||||
if (DEPRECATEDRoomId != 0L) hash ^= DEPRECATEDRoomId.GetHashCode();
|
||||
if (DEPRECATEDSubroomId != 0L) hash ^= DEPRECATEDSubroomId.GetHashCode();
|
||||
if (DEPRECATEDWelcomeMatId != 0) hash ^= DEPRECATEDWelcomeMatId.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 (DEPRECATEDRoomId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(DEPRECATEDRoomId);
|
||||
}
|
||||
if (DEPRECATEDSubroomId != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(DEPRECATEDSubroomId);
|
||||
}
|
||||
if (DEPRECATEDWelcomeMatId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DEPRECATEDWelcomeMatId);
|
||||
}
|
||||
if (RoomDoorInviteMode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RoomDoorInviteMode);
|
||||
}
|
||||
if (ForceNewInstance != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(ForceNewInstance);
|
||||
}
|
||||
if (RoomName.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(RoomName);
|
||||
}
|
||||
if (SubroomName.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(SubroomName);
|
||||
}
|
||||
if (WelcomeMatName.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(WelcomeMatName);
|
||||
}
|
||||
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 (DEPRECATEDRoomId != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(DEPRECATEDRoomId);
|
||||
}
|
||||
if (DEPRECATEDSubroomId != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(DEPRECATEDSubroomId);
|
||||
}
|
||||
if (DEPRECATEDWelcomeMatId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(DEPRECATEDWelcomeMatId);
|
||||
}
|
||||
if (RoomDoorInviteMode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RoomDoorInviteMode);
|
||||
}
|
||||
if (ForceNewInstance != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(ForceNewInstance);
|
||||
}
|
||||
if (RoomName.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(RoomName);
|
||||
}
|
||||
if (SubroomName.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(SubroomName);
|
||||
}
|
||||
if (WelcomeMatName.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(WelcomeMatName);
|
||||
}
|
||||
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 (RoomDoorInviteMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomDoorInviteMode);
|
||||
}
|
||||
if (ForceNewInstance != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (RoomName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomName);
|
||||
}
|
||||
if (SubroomName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(SubroomName);
|
||||
}
|
||||
if (WelcomeMatName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(WelcomeMatName);
|
||||
}
|
||||
if (DEPRECATEDRoomId != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(DEPRECATEDRoomId);
|
||||
}
|
||||
if (DEPRECATEDSubroomId != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(DEPRECATEDSubroomId);
|
||||
}
|
||||
if (DEPRECATEDWelcomeMatId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDWelcomeMatId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantDestinationData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.RoomDoorInviteMode != 0) {
|
||||
RoomDoorInviteMode = other.RoomDoorInviteMode;
|
||||
}
|
||||
if (other.ForceNewInstance != false) {
|
||||
ForceNewInstance = other.ForceNewInstance;
|
||||
}
|
||||
if (other.RoomName.Length != 0) {
|
||||
RoomName = other.RoomName;
|
||||
}
|
||||
if (other.SubroomName.Length != 0) {
|
||||
SubroomName = other.SubroomName;
|
||||
}
|
||||
if (other.WelcomeMatName.Length != 0) {
|
||||
WelcomeMatName = other.WelcomeMatName;
|
||||
}
|
||||
if (other.DEPRECATEDRoomId != 0L) {
|
||||
DEPRECATEDRoomId = other.DEPRECATEDRoomId;
|
||||
}
|
||||
if (other.DEPRECATEDSubroomId != 0L) {
|
||||
DEPRECATEDSubroomId = other.DEPRECATEDSubroomId;
|
||||
}
|
||||
if (other.DEPRECATEDWelcomeMatId != 0) {
|
||||
DEPRECATEDWelcomeMatId = other.DEPRECATEDWelcomeMatId;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDRoomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDSubroomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDWelcomeMatId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RoomDoorInviteMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ForceNewInstance = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
RoomName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
SubroomName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
WelcomeMatName = input.ReadString();
|
||||
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: {
|
||||
DEPRECATEDRoomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDSubroomId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DEPRECATEDWelcomeMatId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RoomDoorInviteMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ForceNewInstance = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
RoomName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
SubroomName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
WelcomeMatName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
ConstantGiftdropShopItemNodeData.cs
Normal file
280
ConstantGiftdropShopItemNodeData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_giftdrop_shop_item_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/constant_giftdrop_shop_item_node_data.proto</summary>
|
||||
public static partial class ConstantGiftdropShopItemNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_giftdrop_shop_item_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantGiftdropShopItemNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjdjaXJjdWl0c192Mi9jb25zdGFudF9naWZ0ZHJvcF9zaG9wX2l0ZW1fbm9k",
|
||||
"ZV9kYXRhLnByb3RvEgtjaXJjdWl0c192MiJJCiBDb25zdGFudEdpZnREcm9w",
|
||||
"U2hvcEl0ZW1Ob2RlRGF0YRIRCglzaG9wX25hbWUYASABKAkSEgoKaXRlbV9p",
|
||||
"bmRleBgCIAEoBUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantGiftDropShopItemNodeData), global::CircuitsV2.Protobuf.ConstantGiftDropShopItemNodeData.Parser, new[]{ "ShopName", "ItemIndex" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantGiftDropShopItemNodeData : pb::IMessage<ConstantGiftDropShopItemNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantGiftDropShopItemNodeData> _parser = new pb::MessageParser<ConstantGiftDropShopItemNodeData>(() => new ConstantGiftDropShopItemNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantGiftDropShopItemNodeData> 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.ConstantGiftdropShopItemNodeDataReflection.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 ConstantGiftDropShopItemNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantGiftDropShopItemNodeData(ConstantGiftDropShopItemNodeData other) : this() {
|
||||
shopName_ = other.shopName_;
|
||||
itemIndex_ = other.itemIndex_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantGiftDropShopItemNodeData Clone() {
|
||||
return new ConstantGiftDropShopItemNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "shop_name" field.</summary>
|
||||
public const int ShopNameFieldNumber = 1;
|
||||
private string shopName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ShopName {
|
||||
get { return shopName_; }
|
||||
set {
|
||||
shopName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_index" field.</summary>
|
||||
public const int ItemIndexFieldNumber = 2;
|
||||
private int itemIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemIndex {
|
||||
get { return itemIndex_; }
|
||||
set {
|
||||
itemIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantGiftDropShopItemNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantGiftDropShopItemNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ShopName != other.ShopName) return false;
|
||||
if (ItemIndex != other.ItemIndex) 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 (ShopName.Length != 0) hash ^= ShopName.GetHashCode();
|
||||
if (ItemIndex != 0) hash ^= ItemIndex.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 (ShopName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(ShopName);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ItemIndex);
|
||||
}
|
||||
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 (ShopName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(ShopName);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ItemIndex);
|
||||
}
|
||||
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 (ShopName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ShopName);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantGiftDropShopItemNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ShopName.Length != 0) {
|
||||
ShopName = other.ShopName;
|
||||
}
|
||||
if (other.ItemIndex != 0) {
|
||||
ItemIndex = other.ItemIndex;
|
||||
}
|
||||
_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: {
|
||||
ShopName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ItemIndex = input.ReadInt32();
|
||||
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: {
|
||||
ShopName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ItemIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
253
ConstantInventoryItemNodeData.cs
Normal file
253
ConstantInventoryItemNodeData.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_inventory_item_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/constant_inventory_item_node_data.proto</summary>
|
||||
public static partial class ConstantInventoryItemNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_inventory_item_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantInventoryItemNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjNjaXJjdWl0c192Mi9jb25zdGFudF9pbnZlbnRvcnlfaXRlbV9ub2RlX2Rh",
|
||||
"dGEucHJvdG8SC2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byJG",
|
||||
"ChlDb25zdGFudEludmVudG9yeUl0ZW1EYXRhEikKEWludmVudG9yeV9pdGVt",
|
||||
"X2lkGAEgASgLMg4uY29yZS5HdWlkRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90",
|
||||
"b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantInventoryItemData), global::CircuitsV2.Protobuf.ConstantInventoryItemData.Parser, new[]{ "InventoryItemId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantInventoryItemData : pb::IMessage<ConstantInventoryItemData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantInventoryItemData> _parser = new pb::MessageParser<ConstantInventoryItemData>(() => new ConstantInventoryItemData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantInventoryItemData> 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.ConstantInventoryItemNodeDataReflection.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 ConstantInventoryItemData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantInventoryItemData(ConstantInventoryItemData other) : this() {
|
||||
inventoryItemId_ = other.inventoryItemId_ != null ? other.inventoryItemId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantInventoryItemData Clone() {
|
||||
return new ConstantInventoryItemData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "inventory_item_id" field.</summary>
|
||||
public const int InventoryItemIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData inventoryItemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData InventoryItemId {
|
||||
get { return inventoryItemId_; }
|
||||
set {
|
||||
inventoryItemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantInventoryItemData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantInventoryItemData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(InventoryItemId, other.InventoryItemId)) 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 (inventoryItemId_ != null) hash ^= InventoryItemId.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 (inventoryItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(InventoryItemId);
|
||||
}
|
||||
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 (inventoryItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(InventoryItemId);
|
||||
}
|
||||
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 (inventoryItemId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InventoryItemId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantInventoryItemData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.inventoryItemId_ != null) {
|
||||
if (inventoryItemId_ == null) {
|
||||
InventoryItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
InventoryItemId.MergeFrom(other.InventoryItemId);
|
||||
}
|
||||
_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 (inventoryItemId_ == null) {
|
||||
InventoryItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(InventoryItemId);
|
||||
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 (inventoryItemId_ == null) {
|
||||
InventoryItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(InventoryItemId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
469
ConstantObjectiveMarkerNodeData.cs
Normal file
469
ConstantObjectiveMarkerNodeData.cs
Normal file
@@ -0,0 +1,469 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_objective_marker_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/constant_objective_marker_node_data.proto</summary>
|
||||
public static partial class ConstantObjectiveMarkerNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_objective_marker_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantObjectiveMarkerNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjVjaXJjdWl0c192Mi9jb25zdGFudF9vYmplY3RpdmVfbWFya2VyX25vZGVf",
|
||||
"ZGF0YS5wcm90bxILY2lyY3VpdHNfdjIi2AEKG0NvbnN0YW50T2JqZWN0aXZl",
|
||||
"TWFya2VyRGF0YRIVCg1mcmllbmRseV9uYW1lGAEgASgJEg8KB2NvbG9ySWQY",
|
||||
"AiABKAUSDQoFbGFiZWwYAyABKAkSFQoNbGFiZWxfZW5hYmxlZBgEIAEoCBIi",
|
||||
"ChpkaXN0YW5jZV9pbmRpY2F0b3JfZW5hYmxlZBgFIAEoCBIlCh1wcmlvcml0",
|
||||
"aXplX2Rpc3RhbmNlX2luZGljYXRvchgGIAEoCBIgChhwcm94aW1pdHlfZmFk",
|
||||
"ZV90aHJlc2hvbGQYByABKAJCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnBy",
|
||||
"b3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantObjectiveMarkerData), global::CircuitsV2.Protobuf.ConstantObjectiveMarkerData.Parser, new[]{ "FriendlyName", "ColorId", "Label", "LabelEnabled", "DistanceIndicatorEnabled", "PrioritizeDistanceIndicator", "ProximityFadeThreshold" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantObjectiveMarkerData : pb::IMessage<ConstantObjectiveMarkerData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantObjectiveMarkerData> _parser = new pb::MessageParser<ConstantObjectiveMarkerData>(() => new ConstantObjectiveMarkerData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantObjectiveMarkerData> 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.ConstantObjectiveMarkerNodeDataReflection.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 ConstantObjectiveMarkerData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantObjectiveMarkerData(ConstantObjectiveMarkerData other) : this() {
|
||||
friendlyName_ = other.friendlyName_;
|
||||
colorId_ = other.colorId_;
|
||||
label_ = other.label_;
|
||||
labelEnabled_ = other.labelEnabled_;
|
||||
distanceIndicatorEnabled_ = other.distanceIndicatorEnabled_;
|
||||
prioritizeDistanceIndicator_ = other.prioritizeDistanceIndicator_;
|
||||
proximityFadeThreshold_ = other.proximityFadeThreshold_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantObjectiveMarkerData Clone() {
|
||||
return new ConstantObjectiveMarkerData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "friendly_name" field.</summary>
|
||||
public const int FriendlyNameFieldNumber = 1;
|
||||
private string friendlyName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string FriendlyName {
|
||||
get { return friendlyName_; }
|
||||
set {
|
||||
friendlyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "colorId" field.</summary>
|
||||
public const int ColorIdFieldNumber = 2;
|
||||
private int colorId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ColorId {
|
||||
get { return colorId_; }
|
||||
set {
|
||||
colorId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "label" field.</summary>
|
||||
public const int LabelFieldNumber = 3;
|
||||
private string label_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Label {
|
||||
get { return label_; }
|
||||
set {
|
||||
label_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "label_enabled" field.</summary>
|
||||
public const int LabelEnabledFieldNumber = 4;
|
||||
private bool labelEnabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool LabelEnabled {
|
||||
get { return labelEnabled_; }
|
||||
set {
|
||||
labelEnabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "distance_indicator_enabled" field.</summary>
|
||||
public const int DistanceIndicatorEnabledFieldNumber = 5;
|
||||
private bool distanceIndicatorEnabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DistanceIndicatorEnabled {
|
||||
get { return distanceIndicatorEnabled_; }
|
||||
set {
|
||||
distanceIndicatorEnabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "prioritize_distance_indicator" field.</summary>
|
||||
public const int PrioritizeDistanceIndicatorFieldNumber = 6;
|
||||
private bool prioritizeDistanceIndicator_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool PrioritizeDistanceIndicator {
|
||||
get { return prioritizeDistanceIndicator_; }
|
||||
set {
|
||||
prioritizeDistanceIndicator_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "proximity_fade_threshold" field.</summary>
|
||||
public const int ProximityFadeThresholdFieldNumber = 7;
|
||||
private float proximityFadeThreshold_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ProximityFadeThreshold {
|
||||
get { return proximityFadeThreshold_; }
|
||||
set {
|
||||
proximityFadeThreshold_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantObjectiveMarkerData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantObjectiveMarkerData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (FriendlyName != other.FriendlyName) return false;
|
||||
if (ColorId != other.ColorId) return false;
|
||||
if (Label != other.Label) return false;
|
||||
if (LabelEnabled != other.LabelEnabled) return false;
|
||||
if (DistanceIndicatorEnabled != other.DistanceIndicatorEnabled) return false;
|
||||
if (PrioritizeDistanceIndicator != other.PrioritizeDistanceIndicator) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ProximityFadeThreshold, other.ProximityFadeThreshold)) 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 (FriendlyName.Length != 0) hash ^= FriendlyName.GetHashCode();
|
||||
if (ColorId != 0) hash ^= ColorId.GetHashCode();
|
||||
if (Label.Length != 0) hash ^= Label.GetHashCode();
|
||||
if (LabelEnabled != false) hash ^= LabelEnabled.GetHashCode();
|
||||
if (DistanceIndicatorEnabled != false) hash ^= DistanceIndicatorEnabled.GetHashCode();
|
||||
if (PrioritizeDistanceIndicator != false) hash ^= PrioritizeDistanceIndicator.GetHashCode();
|
||||
if (ProximityFadeThreshold != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProximityFadeThreshold);
|
||||
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 (FriendlyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(FriendlyName);
|
||||
}
|
||||
if (ColorId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ColorId);
|
||||
}
|
||||
if (Label.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Label);
|
||||
}
|
||||
if (LabelEnabled != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(LabelEnabled);
|
||||
}
|
||||
if (DistanceIndicatorEnabled != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(DistanceIndicatorEnabled);
|
||||
}
|
||||
if (PrioritizeDistanceIndicator != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(PrioritizeDistanceIndicator);
|
||||
}
|
||||
if (ProximityFadeThreshold != 0F) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(ProximityFadeThreshold);
|
||||
}
|
||||
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 (FriendlyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(FriendlyName);
|
||||
}
|
||||
if (ColorId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ColorId);
|
||||
}
|
||||
if (Label.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Label);
|
||||
}
|
||||
if (LabelEnabled != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(LabelEnabled);
|
||||
}
|
||||
if (DistanceIndicatorEnabled != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(DistanceIndicatorEnabled);
|
||||
}
|
||||
if (PrioritizeDistanceIndicator != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(PrioritizeDistanceIndicator);
|
||||
}
|
||||
if (ProximityFadeThreshold != 0F) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(ProximityFadeThreshold);
|
||||
}
|
||||
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 (FriendlyName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(FriendlyName);
|
||||
}
|
||||
if (ColorId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorId);
|
||||
}
|
||||
if (Label.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Label);
|
||||
}
|
||||
if (LabelEnabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DistanceIndicatorEnabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (PrioritizeDistanceIndicator != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (ProximityFadeThreshold != 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(ConstantObjectiveMarkerData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.FriendlyName.Length != 0) {
|
||||
FriendlyName = other.FriendlyName;
|
||||
}
|
||||
if (other.ColorId != 0) {
|
||||
ColorId = other.ColorId;
|
||||
}
|
||||
if (other.Label.Length != 0) {
|
||||
Label = other.Label;
|
||||
}
|
||||
if (other.LabelEnabled != false) {
|
||||
LabelEnabled = other.LabelEnabled;
|
||||
}
|
||||
if (other.DistanceIndicatorEnabled != false) {
|
||||
DistanceIndicatorEnabled = other.DistanceIndicatorEnabled;
|
||||
}
|
||||
if (other.PrioritizeDistanceIndicator != false) {
|
||||
PrioritizeDistanceIndicator = other.PrioritizeDistanceIndicator;
|
||||
}
|
||||
if (other.ProximityFadeThreshold != 0F) {
|
||||
ProximityFadeThreshold = other.ProximityFadeThreshold;
|
||||
}
|
||||
_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: {
|
||||
FriendlyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ColorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Label = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
LabelEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DistanceIndicatorEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
PrioritizeDistanceIndicator = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
ProximityFadeThreshold = 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: {
|
||||
FriendlyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ColorId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Label = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
LabelEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DistanceIndicatorEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
PrioritizeDistanceIndicator = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
ProximityFadeThreshold = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
291
ConstantPlayerEventNodeData.cs
Normal file
291
ConstantPlayerEventNodeData.cs
Normal file
@@ -0,0 +1,291 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_player_event_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/constant_player_event_node_data.proto</summary>
|
||||
public static partial class ConstantPlayerEventNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_player_event_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantPlayerEventNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjFjaXJjdWl0c192Mi9jb25zdGFudF9wbGF5ZXJfZXZlbnRfbm9kZV9kYXRh",
|
||||
"LnByb3RvEgtjaXJjdWl0c192MhosY2lyY3VpdHNfdjIvY2lyY3VpdHNfcGxh",
|
||||
"eWVyX2V2ZW50X2RhdGEucHJvdG8icwobQ29uc3RhbnRQbGF5ZXJFdmVudE5v",
|
||||
"ZGVEYXRhEhgKEGhhc19wbGF5ZXJfZXZlbnQYASABKAgSOgoMcGxheWVyX2V2",
|
||||
"ZW50GAIgASgLMiQuY2lyY3VpdHNfdjIuQ2lyY3VpdHNQbGF5ZXJFdmVudERh",
|
||||
"dGFCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CircuitsPlayerEventDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantPlayerEventNodeData), global::CircuitsV2.Protobuf.ConstantPlayerEventNodeData.Parser, new[]{ "HasPlayerEvent", "PlayerEvent" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantPlayerEventNodeData : pb::IMessage<ConstantPlayerEventNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantPlayerEventNodeData> _parser = new pb::MessageParser<ConstantPlayerEventNodeData>(() => new ConstantPlayerEventNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantPlayerEventNodeData> 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.ConstantPlayerEventNodeDataReflection.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 ConstantPlayerEventNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantPlayerEventNodeData(ConstantPlayerEventNodeData other) : this() {
|
||||
hasPlayerEvent_ = other.hasPlayerEvent_;
|
||||
playerEvent_ = other.playerEvent_ != null ? other.playerEvent_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantPlayerEventNodeData Clone() {
|
||||
return new ConstantPlayerEventNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "has_player_event" field.</summary>
|
||||
public const int HasPlayerEventFieldNumber = 1;
|
||||
private bool hasPlayerEvent_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasPlayerEvent {
|
||||
get { return hasPlayerEvent_; }
|
||||
set {
|
||||
hasPlayerEvent_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_event" field.</summary>
|
||||
public const int PlayerEventFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.CircuitsPlayerEventData playerEvent_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitsPlayerEventData PlayerEvent {
|
||||
get { return playerEvent_; }
|
||||
set {
|
||||
playerEvent_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantPlayerEventNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantPlayerEventNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (HasPlayerEvent != other.HasPlayerEvent) return false;
|
||||
if (!object.Equals(PlayerEvent, other.PlayerEvent)) 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 (HasPlayerEvent != false) hash ^= HasPlayerEvent.GetHashCode();
|
||||
if (playerEvent_ != null) hash ^= PlayerEvent.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 (HasPlayerEvent != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(HasPlayerEvent);
|
||||
}
|
||||
if (playerEvent_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(PlayerEvent);
|
||||
}
|
||||
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 (HasPlayerEvent != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(HasPlayerEvent);
|
||||
}
|
||||
if (playerEvent_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(PlayerEvent);
|
||||
}
|
||||
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 (HasPlayerEvent != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (playerEvent_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerEvent);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantPlayerEventNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.HasPlayerEvent != false) {
|
||||
HasPlayerEvent = other.HasPlayerEvent;
|
||||
}
|
||||
if (other.playerEvent_ != null) {
|
||||
if (playerEvent_ == null) {
|
||||
PlayerEvent = new global::CircuitsV2.Protobuf.CircuitsPlayerEventData();
|
||||
}
|
||||
PlayerEvent.MergeFrom(other.PlayerEvent);
|
||||
}
|
||||
_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: {
|
||||
HasPlayerEvent = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (playerEvent_ == null) {
|
||||
PlayerEvent = new global::CircuitsV2.Protobuf.CircuitsPlayerEventData();
|
||||
}
|
||||
input.ReadMessage(PlayerEvent);
|
||||
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: {
|
||||
HasPlayerEvent = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (playerEvent_ == null) {
|
||||
PlayerEvent = new global::CircuitsV2.Protobuf.CircuitsPlayerEventData();
|
||||
}
|
||||
input.ReadMessage(PlayerEvent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
243
ConstantPlayerOutfitSlotFlagNodeData.cs
Normal file
243
ConstantPlayerOutfitSlotFlagNodeData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_player_outfit_slot_flag_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/constant_player_outfit_slot_flag_node_data.proto</summary>
|
||||
public static partial class ConstantPlayerOutfitSlotFlagNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_player_outfit_slot_flag_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantPlayerOutfitSlotFlagNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjxjaXJjdWl0c192Mi9jb25zdGFudF9wbGF5ZXJfb3V0Zml0X3Nsb3RfZmxh",
|
||||
"Z19ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyIkcKJENvbnN0YW50UGxh",
|
||||
"eWVyT3V0Zml0U2xvdEZsYWdOb2RlRGF0YRIfChdwbGF5ZXJfb3V0Zml0X3Ns",
|
||||
"b3RfZmxhZxgBIAEoBUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantPlayerOutfitSlotFlagNodeData), global::CircuitsV2.Protobuf.ConstantPlayerOutfitSlotFlagNodeData.Parser, new[]{ "PlayerOutfitSlotFlag" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantPlayerOutfitSlotFlagNodeData : pb::IMessage<ConstantPlayerOutfitSlotFlagNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantPlayerOutfitSlotFlagNodeData> _parser = new pb::MessageParser<ConstantPlayerOutfitSlotFlagNodeData>(() => new ConstantPlayerOutfitSlotFlagNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantPlayerOutfitSlotFlagNodeData> 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.ConstantPlayerOutfitSlotFlagNodeDataReflection.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 ConstantPlayerOutfitSlotFlagNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantPlayerOutfitSlotFlagNodeData(ConstantPlayerOutfitSlotFlagNodeData other) : this() {
|
||||
playerOutfitSlotFlag_ = other.playerOutfitSlotFlag_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantPlayerOutfitSlotFlagNodeData Clone() {
|
||||
return new ConstantPlayerOutfitSlotFlagNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "player_outfit_slot_flag" field.</summary>
|
||||
public const int PlayerOutfitSlotFlagFieldNumber = 1;
|
||||
private int playerOutfitSlotFlag_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int PlayerOutfitSlotFlag {
|
||||
get { return playerOutfitSlotFlag_; }
|
||||
set {
|
||||
playerOutfitSlotFlag_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantPlayerOutfitSlotFlagNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantPlayerOutfitSlotFlagNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PlayerOutfitSlotFlag != other.PlayerOutfitSlotFlag) 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 (PlayerOutfitSlotFlag != 0) hash ^= PlayerOutfitSlotFlag.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 (PlayerOutfitSlotFlag != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(PlayerOutfitSlotFlag);
|
||||
}
|
||||
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 (PlayerOutfitSlotFlag != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(PlayerOutfitSlotFlag);
|
||||
}
|
||||
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 (PlayerOutfitSlotFlag != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerOutfitSlotFlag);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantPlayerOutfitSlotFlagNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PlayerOutfitSlotFlag != 0) {
|
||||
PlayerOutfitSlotFlag = other.PlayerOutfitSlotFlag;
|
||||
}
|
||||
_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: {
|
||||
PlayerOutfitSlotFlag = input.ReadInt32();
|
||||
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: {
|
||||
PlayerOutfitSlotFlag = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
232
ConstantQuickChatTableNodeData.cs
Normal file
232
ConstantQuickChatTableNodeData.cs
Normal file
@@ -0,0 +1,232 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_quick_chat_table_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/constant_quick_chat_table_node_data.proto</summary>
|
||||
public static partial class ConstantQuickChatTableNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_quick_chat_table_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantQuickChatTableNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjVjaXJjdWl0c192Mi9jb25zdGFudF9xdWlja19jaGF0X3RhYmxlX25vZGVf",
|
||||
"ZGF0YS5wcm90bxILY2lyY3VpdHNfdjIiLQoaQ29uc3RhbnRRdWlja0NoYXRU",
|
||||
"YWJsZURhdGESDwoHcGhyYXNlcxgBIAMoCUIWqgITQ2lyY3VpdHNWMi5Qcm90",
|
||||
"b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantQuickChatTableData), global::CircuitsV2.Protobuf.ConstantQuickChatTableData.Parser, new[]{ "Phrases" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantQuickChatTableData : pb::IMessage<ConstantQuickChatTableData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantQuickChatTableData> _parser = new pb::MessageParser<ConstantQuickChatTableData>(() => new ConstantQuickChatTableData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantQuickChatTableData> 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.ConstantQuickChatTableNodeDataReflection.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 ConstantQuickChatTableData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantQuickChatTableData(ConstantQuickChatTableData other) : this() {
|
||||
phrases_ = other.phrases_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantQuickChatTableData Clone() {
|
||||
return new ConstantQuickChatTableData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "phrases" field.</summary>
|
||||
public const int PhrasesFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<string> _repeated_phrases_codec
|
||||
= pb::FieldCodec.ForString(10);
|
||||
private readonly pbc::RepeatedField<string> phrases_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> Phrases {
|
||||
get { return phrases_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantQuickChatTableData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantQuickChatTableData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!phrases_.Equals(other.phrases_)) 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;
|
||||
hash ^= phrases_.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
|
||||
phrases_.WriteTo(output, _repeated_phrases_codec);
|
||||
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) {
|
||||
phrases_.WriteTo(ref output, _repeated_phrases_codec);
|
||||
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;
|
||||
size += phrases_.CalculateSize(_repeated_phrases_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantQuickChatTableData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
phrases_.Add(other.phrases_);
|
||||
_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: {
|
||||
phrases_.AddEntriesFrom(input, _repeated_phrases_codec);
|
||||
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: {
|
||||
phrases_.AddEntriesFrom(ref input, _repeated_phrases_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
252
ConstantRewardData.cs
Normal file
252
ConstantRewardData.cs
Normal file
@@ -0,0 +1,252 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_reward_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/constant_reward_data.proto</summary>
|
||||
public static partial class ConstantRewardDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_reward_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantRewardDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiZjaXJjdWl0c192Mi9jb25zdGFudF9yZXdhcmRfZGF0YS5wcm90bxILY2ly",
|
||||
"Y3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIjcKEkNvbnN0YW50UmV3",
|
||||
"YXJkRGF0YRIhCglyZXdhcmRfaWQYASABKAsyDi5jb3JlLkd1aWREYXRhQhaq",
|
||||
"AhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantRewardData), global::CircuitsV2.Protobuf.ConstantRewardData.Parser, new[]{ "RewardId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantRewardData : pb::IMessage<ConstantRewardData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantRewardData> _parser = new pb::MessageParser<ConstantRewardData>(() => new ConstantRewardData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantRewardData> 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.ConstantRewardDataReflection.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 ConstantRewardData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRewardData(ConstantRewardData other) : this() {
|
||||
rewardId_ = other.rewardId_ != null ? other.rewardId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRewardData Clone() {
|
||||
return new ConstantRewardData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward_id" field.</summary>
|
||||
public const int RewardIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData rewardId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData RewardId {
|
||||
get { return rewardId_; }
|
||||
set {
|
||||
rewardId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantRewardData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantRewardData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RewardId, other.RewardId)) 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 (rewardId_ != null) hash ^= RewardId.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 (rewardId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RewardId);
|
||||
}
|
||||
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 (rewardId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RewardId);
|
||||
}
|
||||
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 (rewardId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RewardId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantRewardData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.rewardId_ != null) {
|
||||
if (rewardId_ == null) {
|
||||
RewardId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
RewardId.MergeFrom(other.RewardId);
|
||||
}
|
||||
_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 (rewardId_ == null) {
|
||||
RewardId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RewardId);
|
||||
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 (rewardId_ == null) {
|
||||
RewardId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RewardId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
253
ConstantRoomCurrencyNodeData.cs
Normal file
253
ConstantRoomCurrencyNodeData.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_room_currency_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/constant_room_currency_node_data.proto</summary>
|
||||
public static partial class ConstantRoomCurrencyNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_room_currency_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantRoomCurrencyNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjJjaXJjdWl0c192Mi9jb25zdGFudF9yb29tX2N1cnJlbmN5X25vZGVfZGF0",
|
||||
"YS5wcm90bxILY2lyY3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIkQK",
|
||||
"GENvbnN0YW50Um9vbUN1cnJlbmN5RGF0YRIoChByb29tX2N1cnJlbmN5X2lk",
|
||||
"GAEgASgLMg4uY29yZS5HdWlkRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1",
|
||||
"ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantRoomCurrencyData), global::CircuitsV2.Protobuf.ConstantRoomCurrencyData.Parser, new[]{ "RoomCurrencyId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantRoomCurrencyData : pb::IMessage<ConstantRoomCurrencyData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantRoomCurrencyData> _parser = new pb::MessageParser<ConstantRoomCurrencyData>(() => new ConstantRoomCurrencyData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantRoomCurrencyData> 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.ConstantRoomCurrencyNodeDataReflection.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 ConstantRoomCurrencyData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomCurrencyData(ConstantRoomCurrencyData other) : this() {
|
||||
roomCurrencyId_ = other.roomCurrencyId_ != null ? other.roomCurrencyId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomCurrencyData Clone() {
|
||||
return new ConstantRoomCurrencyData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "room_currency_id" field.</summary>
|
||||
public const int RoomCurrencyIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData roomCurrencyId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData RoomCurrencyId {
|
||||
get { return roomCurrencyId_; }
|
||||
set {
|
||||
roomCurrencyId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantRoomCurrencyData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantRoomCurrencyData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RoomCurrencyId, other.RoomCurrencyId)) 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 (roomCurrencyId_ != null) hash ^= RoomCurrencyId.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 (roomCurrencyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomCurrencyId);
|
||||
}
|
||||
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 (roomCurrencyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomCurrencyId);
|
||||
}
|
||||
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 (roomCurrencyId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomCurrencyId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantRoomCurrencyData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.roomCurrencyId_ != null) {
|
||||
if (roomCurrencyId_ == null) {
|
||||
RoomCurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
RoomCurrencyId.MergeFrom(other.RoomCurrencyId);
|
||||
}
|
||||
_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 (roomCurrencyId_ == null) {
|
||||
RoomCurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomCurrencyId);
|
||||
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 (roomCurrencyId_ == null) {
|
||||
RoomCurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomCurrencyId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
252
ConstantRoomKeyNodeData.cs
Normal file
252
ConstantRoomKeyNodeData.cs
Normal file
@@ -0,0 +1,252 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_room_key_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/constant_room_key_node_data.proto</summary>
|
||||
public static partial class ConstantRoomKeyNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_room_key_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantRoomKeyNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci1jaXJjdWl0c192Mi9jb25zdGFudF9yb29tX2tleV9ub2RlX2RhdGEucHJv",
|
||||
"dG8SC2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byI6ChNDb25z",
|
||||
"dGFudFJvb21LZXlEYXRhEiMKC3Jvb21fa2V5X2lkGAEgASgLMg4uY29yZS5H",
|
||||
"dWlkRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantRoomKeyData), global::CircuitsV2.Protobuf.ConstantRoomKeyData.Parser, new[]{ "RoomKeyId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantRoomKeyData : pb::IMessage<ConstantRoomKeyData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantRoomKeyData> _parser = new pb::MessageParser<ConstantRoomKeyData>(() => new ConstantRoomKeyData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantRoomKeyData> 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.ConstantRoomKeyNodeDataReflection.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 ConstantRoomKeyData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomKeyData(ConstantRoomKeyData other) : this() {
|
||||
roomKeyId_ = other.roomKeyId_ != null ? other.roomKeyId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomKeyData Clone() {
|
||||
return new ConstantRoomKeyData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "room_key_id" field.</summary>
|
||||
public const int RoomKeyIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData roomKeyId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData RoomKeyId {
|
||||
get { return roomKeyId_; }
|
||||
set {
|
||||
roomKeyId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantRoomKeyData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantRoomKeyData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RoomKeyId, other.RoomKeyId)) 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 (roomKeyId_ != null) hash ^= RoomKeyId.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 (roomKeyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomKeyId);
|
||||
}
|
||||
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 (roomKeyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomKeyId);
|
||||
}
|
||||
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 (roomKeyId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomKeyId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantRoomKeyData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.roomKeyId_ != null) {
|
||||
if (roomKeyId_ == null) {
|
||||
RoomKeyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
RoomKeyId.MergeFrom(other.RoomKeyId);
|
||||
}
|
||||
_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 (roomKeyId_ == null) {
|
||||
RoomKeyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomKeyId);
|
||||
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 (roomKeyId_ == null) {
|
||||
RoomKeyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomKeyId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
252
ConstantRoomOfferNodeData.cs
Normal file
252
ConstantRoomOfferNodeData.cs
Normal file
@@ -0,0 +1,252 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_room_offer_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/constant_room_offer_node_data.proto</summary>
|
||||
public static partial class ConstantRoomOfferNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_room_offer_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantRoomOfferNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9jaXJjdWl0c192Mi9jb25zdGFudF9yb29tX29mZmVyX25vZGVfZGF0YS5w",
|
||||
"cm90bxILY2lyY3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIj4KFUNv",
|
||||
"bnN0YW50Um9vbU9mZmVyRGF0YRIlCg1yb29tX29mZmVyX2lkGAEgASgLMg4u",
|
||||
"Y29yZS5HdWlkRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantRoomOfferData), global::CircuitsV2.Protobuf.ConstantRoomOfferData.Parser, new[]{ "RoomOfferId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantRoomOfferData : pb::IMessage<ConstantRoomOfferData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantRoomOfferData> _parser = new pb::MessageParser<ConstantRoomOfferData>(() => new ConstantRoomOfferData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantRoomOfferData> 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.ConstantRoomOfferNodeDataReflection.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 ConstantRoomOfferData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomOfferData(ConstantRoomOfferData other) : this() {
|
||||
roomOfferId_ = other.roomOfferId_ != null ? other.roomOfferId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantRoomOfferData Clone() {
|
||||
return new ConstantRoomOfferData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "room_offer_id" field.</summary>
|
||||
public const int RoomOfferIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData roomOfferId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData RoomOfferId {
|
||||
get { return roomOfferId_; }
|
||||
set {
|
||||
roomOfferId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantRoomOfferData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantRoomOfferData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RoomOfferId, other.RoomOfferId)) 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 (roomOfferId_ != null) hash ^= RoomOfferId.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 (roomOfferId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomOfferId);
|
||||
}
|
||||
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 (roomOfferId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RoomOfferId);
|
||||
}
|
||||
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 (roomOfferId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomOfferId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantRoomOfferData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.roomOfferId_ != null) {
|
||||
if (roomOfferId_ == null) {
|
||||
RoomOfferId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
RoomOfferId.MergeFrom(other.RoomOfferId);
|
||||
}
|
||||
_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 (roomOfferId_ == null) {
|
||||
RoomOfferId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomOfferId);
|
||||
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 (roomOfferId_ == null) {
|
||||
RoomOfferId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(RoomOfferId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
252
ConstantStateData.cs
Normal file
252
ConstantStateData.cs
Normal file
@@ -0,0 +1,252 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_state_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/constant_state_data.proto</summary>
|
||||
public static partial class ConstantStateDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_state_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantStateDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiVjaXJjdWl0c192Mi9jb25zdGFudF9zdGF0ZV9kYXRhLnByb3RvEgtjaXJj",
|
||||
"dWl0c192MhoUY29yZS9ndWlkX2RhdGEucHJvdG8iNQoRQ29uc3RhbnRTdGF0",
|
||||
"ZURhdGESIAoIc3RhdGVfaWQYASABKAsyDi5jb3JlLkd1aWREYXRhQhaqAhND",
|
||||
"aXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantStateData), global::CircuitsV2.Protobuf.ConstantStateData.Parser, new[]{ "StateId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantStateData : pb::IMessage<ConstantStateData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantStateData> _parser = new pb::MessageParser<ConstantStateData>(() => new ConstantStateData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantStateData> 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.ConstantStateDataReflection.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 ConstantStateData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantStateData(ConstantStateData other) : this() {
|
||||
stateId_ = other.stateId_ != null ? other.stateId_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantStateData Clone() {
|
||||
return new ConstantStateData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "state_id" field.</summary>
|
||||
public const int StateIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData stateId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData StateId {
|
||||
get { return stateId_; }
|
||||
set {
|
||||
stateId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantStateData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantStateData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(StateId, other.StateId)) 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 (stateId_ != null) hash ^= StateId.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 (stateId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(StateId);
|
||||
}
|
||||
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 (stateId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(StateId);
|
||||
}
|
||||
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 (stateId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StateId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantStateData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.stateId_ != null) {
|
||||
if (stateId_ == null) {
|
||||
StateId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
StateId.MergeFrom(other.StateId);
|
||||
}
|
||||
_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 (stateId_ == null) {
|
||||
StateId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(StateId);
|
||||
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 (stateId_ == null) {
|
||||
StateId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(StateId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
ConstantStorefrontItemData.cs
Normal file
280
ConstantStorefrontItemData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/constant_storefront_item_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/constant_storefront_item_data.proto</summary>
|
||||
public static partial class ConstantStorefrontItemDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/constant_storefront_item_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConstantStorefrontItemDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9jaXJjdWl0c192Mi9jb25zdGFudF9zdG9yZWZyb250X2l0ZW1fZGF0YS5w",
|
||||
"cm90bxILY2lyY3VpdHNfdjIiRwoaQ29uc3RhbnRTdG9yZWZyb250SXRlbURh",
|
||||
"dGESFQoNc3RvcmVmcm9udF9pZBgBIAEoBRISCgppdGVtX2luZGV4GAIgASgF",
|
||||
"QhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantStorefrontItemData), global::CircuitsV2.Protobuf.ConstantStorefrontItemData.Parser, new[]{ "StorefrontId", "ItemIndex" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConstantStorefrontItemData : pb::IMessage<ConstantStorefrontItemData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConstantStorefrontItemData> _parser = new pb::MessageParser<ConstantStorefrontItemData>(() => new ConstantStorefrontItemData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConstantStorefrontItemData> 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.ConstantStorefrontItemDataReflection.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 ConstantStorefrontItemData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantStorefrontItemData(ConstantStorefrontItemData other) : this() {
|
||||
storefrontId_ = other.storefrontId_;
|
||||
itemIndex_ = other.itemIndex_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConstantStorefrontItemData Clone() {
|
||||
return new ConstantStorefrontItemData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "storefront_id" field.</summary>
|
||||
public const int StorefrontIdFieldNumber = 1;
|
||||
private int storefrontId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int StorefrontId {
|
||||
get { return storefrontId_; }
|
||||
set {
|
||||
storefrontId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_index" field.</summary>
|
||||
public const int ItemIndexFieldNumber = 2;
|
||||
private int itemIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemIndex {
|
||||
get { return itemIndex_; }
|
||||
set {
|
||||
itemIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConstantStorefrontItemData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConstantStorefrontItemData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (StorefrontId != other.StorefrontId) return false;
|
||||
if (ItemIndex != other.ItemIndex) 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 (StorefrontId != 0) hash ^= StorefrontId.GetHashCode();
|
||||
if (ItemIndex != 0) hash ^= ItemIndex.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 (StorefrontId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(StorefrontId);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ItemIndex);
|
||||
}
|
||||
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 (StorefrontId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(StorefrontId);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(ItemIndex);
|
||||
}
|
||||
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 (StorefrontId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StorefrontId);
|
||||
}
|
||||
if (ItemIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConstantStorefrontItemData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.StorefrontId != 0) {
|
||||
StorefrontId = other.StorefrontId;
|
||||
}
|
||||
if (other.ItemIndex != 0) {
|
||||
ItemIndex = other.ItemIndex;
|
||||
}
|
||||
_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: {
|
||||
StorefrontId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ItemIndex = input.ReadInt32();
|
||||
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: {
|
||||
StorefrontId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
ItemIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
290
ConsumableRewardData.cs
Normal file
290
ConsumableRewardData.cs
Normal file
@@ -0,0 +1,290 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/consumable_reward_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/consumable_reward_data.proto</summary>
|
||||
public static partial class ConsumableRewardDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/consumable_reward_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ConsumableRewardDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihjaXJjdWl0c192Mi9jb25zdW1hYmxlX3Jld2FyZF9kYXRhLnByb3RvEgtj",
|
||||
"aXJjdWl0c192MhoUY29yZS9ndWlkX2RhdGEucHJvdG8iTwoUQ29uc3VtYWJs",
|
||||
"ZVJld2FyZERhdGESJQoNY29uc3VtYWJsZV9pZBgBIAEoCzIOLmNvcmUuR3Vp",
|
||||
"ZERhdGESEAoIcXVhbnRpdHkYAiABKAVCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
|
||||
"dWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConsumableRewardData), global::CircuitsV2.Protobuf.ConsumableRewardData.Parser, new[]{ "ConsumableId", "Quantity" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ConsumableRewardData : pb::IMessage<ConsumableRewardData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ConsumableRewardData> _parser = new pb::MessageParser<ConsumableRewardData>(() => new ConsumableRewardData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ConsumableRewardData> 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.ConsumableRewardDataReflection.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 ConsumableRewardData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConsumableRewardData(ConsumableRewardData other) : this() {
|
||||
consumableId_ = other.consumableId_ != null ? other.consumableId_.Clone() : null;
|
||||
quantity_ = other.quantity_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ConsumableRewardData Clone() {
|
||||
return new ConsumableRewardData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "consumable_id" field.</summary>
|
||||
public const int ConsumableIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData consumableId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData ConsumableId {
|
||||
get { return consumableId_; }
|
||||
set {
|
||||
consumableId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "quantity" field.</summary>
|
||||
public const int QuantityFieldNumber = 2;
|
||||
private int quantity_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Quantity {
|
||||
get { return quantity_; }
|
||||
set {
|
||||
quantity_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ConsumableRewardData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ConsumableRewardData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(ConsumableId, other.ConsumableId)) return false;
|
||||
if (Quantity != other.Quantity) 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 (consumableId_ != null) hash ^= ConsumableId.GetHashCode();
|
||||
if (Quantity != 0) hash ^= Quantity.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 (consumableId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(ConsumableId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Quantity);
|
||||
}
|
||||
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 (consumableId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(ConsumableId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Quantity);
|
||||
}
|
||||
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 (consumableId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConsumableId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Quantity);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ConsumableRewardData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.consumableId_ != null) {
|
||||
if (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
ConsumableId.MergeFrom(other.ConsumableId);
|
||||
}
|
||||
if (other.Quantity != 0) {
|
||||
Quantity = other.Quantity;
|
||||
}
|
||||
_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 (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ConsumableId);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Quantity = input.ReadInt32();
|
||||
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 (consumableId_ == null) {
|
||||
ConsumableId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(ConsumableId);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Quantity = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
414
ControlPanelCircuitObjectData.cs
Normal file
414
ControlPanelCircuitObjectData.cs
Normal file
@@ -0,0 +1,414 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/control_panel_circuit_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/control_panel_circuit_object_data.proto</summary>
|
||||
public static partial class ControlPanelCircuitObjectDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/control_panel_circuit_object_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ControlPanelCircuitObjectDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjxyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb250cm9sX3BhbmVsX2NpcmN1aXRf",
|
||||
"b2JqZWN0X2RhdGEucHJvdG8SCHJlY19yb29tGhdjb3JlL3ZlY3RvcjNfZGF0",
|
||||
"YS5wcm90byKAAgodQ29udHJvbFBhbmVsQ2lyY3VpdE9iamVjdERhdGESHgoW",
|
||||
"Y29udHJvbF9wYW5lbF9ncmFwaF9pZBgCIAEoDBIlCh1jb250cm9sX3BhbmVs",
|
||||
"X3BhcmVudF9ncmFwaF9pZBgDIAEoDBI2ChthdHRhY2hfcG9pbnRfbG9jYWxf",
|
||||
"cG9zaXRpb24YBCABKAsyES5jb3JlLlZlY3RvcjNEYXRhEjYKG2F0dGFjaF9w",
|
||||
"b2ludF9sb2NhbF9yb3RhdGlvbhgFIAEoCzIRLmNvcmUuVmVjdG9yM0RhdGES",
|
||||
"KAogREVQUkVDQVRFRF9jb250cm9sX3BhbmVsX25vZGVfaWQYASABKAxCE6oC",
|
||||
"EFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ControlPanelCircuitObjectData), global::RecRoom.Protobuf.ControlPanelCircuitObjectData.Parser, new[]{ "ControlPanelGraphId", "ControlPanelParentGraphId", "AttachPointLocalPosition", "AttachPointLocalRotation", "DEPRECATEDControlPanelNodeId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ControlPanelCircuitObjectData : pb::IMessage<ControlPanelCircuitObjectData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ControlPanelCircuitObjectData> _parser = new pb::MessageParser<ControlPanelCircuitObjectData>(() => new ControlPanelCircuitObjectData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ControlPanelCircuitObjectData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.ControlPanelCircuitObjectDataReflection.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 ControlPanelCircuitObjectData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelCircuitObjectData(ControlPanelCircuitObjectData other) : this() {
|
||||
controlPanelGraphId_ = other.controlPanelGraphId_;
|
||||
controlPanelParentGraphId_ = other.controlPanelParentGraphId_;
|
||||
attachPointLocalPosition_ = other.attachPointLocalPosition_ != null ? other.attachPointLocalPosition_.Clone() : null;
|
||||
attachPointLocalRotation_ = other.attachPointLocalRotation_ != null ? other.attachPointLocalRotation_.Clone() : null;
|
||||
dEPRECATEDControlPanelNodeId_ = other.dEPRECATEDControlPanelNodeId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelCircuitObjectData Clone() {
|
||||
return new ControlPanelCircuitObjectData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "control_panel_graph_id" field.</summary>
|
||||
public const int ControlPanelGraphIdFieldNumber = 2;
|
||||
private pb::ByteString controlPanelGraphId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString ControlPanelGraphId {
|
||||
get { return controlPanelGraphId_; }
|
||||
set {
|
||||
controlPanelGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "control_panel_parent_graph_id" field.</summary>
|
||||
public const int ControlPanelParentGraphIdFieldNumber = 3;
|
||||
private pb::ByteString controlPanelParentGraphId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString ControlPanelParentGraphId {
|
||||
get { return controlPanelParentGraphId_; }
|
||||
set {
|
||||
controlPanelParentGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "attach_point_local_position" field.</summary>
|
||||
public const int AttachPointLocalPositionFieldNumber = 4;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data attachPointLocalPosition_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data AttachPointLocalPosition {
|
||||
get { return attachPointLocalPosition_; }
|
||||
set {
|
||||
attachPointLocalPosition_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "attach_point_local_rotation" field.</summary>
|
||||
public const int AttachPointLocalRotationFieldNumber = 5;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data attachPointLocalRotation_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data AttachPointLocalRotation {
|
||||
get { return attachPointLocalRotation_; }
|
||||
set {
|
||||
attachPointLocalRotation_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_control_panel_node_id" field.</summary>
|
||||
public const int DEPRECATEDControlPanelNodeIdFieldNumber = 1;
|
||||
private pb::ByteString dEPRECATEDControlPanelNodeId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString DEPRECATEDControlPanelNodeId {
|
||||
get { return dEPRECATEDControlPanelNodeId_; }
|
||||
set {
|
||||
dEPRECATEDControlPanelNodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ControlPanelCircuitObjectData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ControlPanelCircuitObjectData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ControlPanelGraphId != other.ControlPanelGraphId) return false;
|
||||
if (ControlPanelParentGraphId != other.ControlPanelParentGraphId) return false;
|
||||
if (!object.Equals(AttachPointLocalPosition, other.AttachPointLocalPosition)) return false;
|
||||
if (!object.Equals(AttachPointLocalRotation, other.AttachPointLocalRotation)) return false;
|
||||
if (DEPRECATEDControlPanelNodeId != other.DEPRECATEDControlPanelNodeId) 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 (ControlPanelGraphId.Length != 0) hash ^= ControlPanelGraphId.GetHashCode();
|
||||
if (ControlPanelParentGraphId.Length != 0) hash ^= ControlPanelParentGraphId.GetHashCode();
|
||||
if (attachPointLocalPosition_ != null) hash ^= AttachPointLocalPosition.GetHashCode();
|
||||
if (attachPointLocalRotation_ != null) hash ^= AttachPointLocalRotation.GetHashCode();
|
||||
if (DEPRECATEDControlPanelNodeId.Length != 0) hash ^= DEPRECATEDControlPanelNodeId.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 (DEPRECATEDControlPanelNodeId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDControlPanelNodeId);
|
||||
}
|
||||
if (ControlPanelGraphId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(ControlPanelGraphId);
|
||||
}
|
||||
if (ControlPanelParentGraphId.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteBytes(ControlPanelParentGraphId);
|
||||
}
|
||||
if (attachPointLocalPosition_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(AttachPointLocalPosition);
|
||||
}
|
||||
if (attachPointLocalRotation_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(AttachPointLocalRotation);
|
||||
}
|
||||
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 (DEPRECATEDControlPanelNodeId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(DEPRECATEDControlPanelNodeId);
|
||||
}
|
||||
if (ControlPanelGraphId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteBytes(ControlPanelGraphId);
|
||||
}
|
||||
if (ControlPanelParentGraphId.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteBytes(ControlPanelParentGraphId);
|
||||
}
|
||||
if (attachPointLocalPosition_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(AttachPointLocalPosition);
|
||||
}
|
||||
if (attachPointLocalRotation_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(AttachPointLocalRotation);
|
||||
}
|
||||
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 (ControlPanelGraphId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ControlPanelGraphId);
|
||||
}
|
||||
if (ControlPanelParentGraphId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ControlPanelParentGraphId);
|
||||
}
|
||||
if (attachPointLocalPosition_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttachPointLocalPosition);
|
||||
}
|
||||
if (attachPointLocalRotation_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttachPointLocalRotation);
|
||||
}
|
||||
if (DEPRECATEDControlPanelNodeId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDControlPanelNodeId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ControlPanelCircuitObjectData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ControlPanelGraphId.Length != 0) {
|
||||
ControlPanelGraphId = other.ControlPanelGraphId;
|
||||
}
|
||||
if (other.ControlPanelParentGraphId.Length != 0) {
|
||||
ControlPanelParentGraphId = other.ControlPanelParentGraphId;
|
||||
}
|
||||
if (other.attachPointLocalPosition_ != null) {
|
||||
if (attachPointLocalPosition_ == null) {
|
||||
AttachPointLocalPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
AttachPointLocalPosition.MergeFrom(other.AttachPointLocalPosition);
|
||||
}
|
||||
if (other.attachPointLocalRotation_ != null) {
|
||||
if (attachPointLocalRotation_ == null) {
|
||||
AttachPointLocalRotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
AttachPointLocalRotation.MergeFrom(other.AttachPointLocalRotation);
|
||||
}
|
||||
if (other.DEPRECATEDControlPanelNodeId.Length != 0) {
|
||||
DEPRECATEDControlPanelNodeId = other.DEPRECATEDControlPanelNodeId;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDControlPanelNodeId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
ControlPanelGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
ControlPanelParentGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (attachPointLocalPosition_ == null) {
|
||||
AttachPointLocalPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(AttachPointLocalPosition);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (attachPointLocalRotation_ == null) {
|
||||
AttachPointLocalRotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(AttachPointLocalRotation);
|
||||
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: {
|
||||
DEPRECATEDControlPanelNodeId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
ControlPanelGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
ControlPanelParentGraphId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (attachPointLocalPosition_ == null) {
|
||||
AttachPointLocalPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(AttachPointLocalPosition);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (attachPointLocalRotation_ == null) {
|
||||
AttachPointLocalRotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(AttachPointLocalRotation);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
318
ControlPanelData.cs
Normal file
318
ControlPanelData.cs
Normal file
@@ -0,0 +1,318 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/control_panel_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/control_panel_data.proto</summary>
|
||||
public static partial class ControlPanelDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/control_panel_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ControlPanelDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiRjaXJjdWl0c192Mi9jb250cm9sX3BhbmVsX2RhdGEucHJvdG8SC2NpcmN1",
|
||||
"aXRzX3YyIocBChBDb250cm9sUGFuZWxEYXRhEhcKD2F0dGFjaG1lbnRfbW9k",
|
||||
"ZRgDIAEoBRIqCiJERVBSRUNBVEVEX2lzX2RldGFjaGVkX2Zyb21fb2JqZWN0",
|
||||
"GAEgASgIEi4KJkRFUFJFQ0FURURfd2FzX2F0dGFjaGVkX3RvX2JldGFfb2Jq",
|
||||
"ZWN0GAIgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ControlPanelData), global::CircuitsV2.Protobuf.ControlPanelData.Parser, new[]{ "AttachmentMode", "DEPRECATEDIsDetachedFromObject", "DEPRECATEDWasAttachedToBetaObject" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ControlPanelData : pb::IMessage<ControlPanelData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ControlPanelData> _parser = new pb::MessageParser<ControlPanelData>(() => new ControlPanelData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ControlPanelData> 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.ControlPanelDataReflection.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 ControlPanelData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelData(ControlPanelData other) : this() {
|
||||
attachmentMode_ = other.attachmentMode_;
|
||||
dEPRECATEDIsDetachedFromObject_ = other.dEPRECATEDIsDetachedFromObject_;
|
||||
dEPRECATEDWasAttachedToBetaObject_ = other.dEPRECATEDWasAttachedToBetaObject_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelData Clone() {
|
||||
return new ControlPanelData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "attachment_mode" field.</summary>
|
||||
public const int AttachmentModeFieldNumber = 3;
|
||||
private int attachmentMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AttachmentMode {
|
||||
get { return attachmentMode_; }
|
||||
set {
|
||||
attachmentMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_is_detached_from_object" field.</summary>
|
||||
public const int DEPRECATEDIsDetachedFromObjectFieldNumber = 1;
|
||||
private bool dEPRECATEDIsDetachedFromObject_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDIsDetachedFromObject {
|
||||
get { return dEPRECATEDIsDetachedFromObject_; }
|
||||
set {
|
||||
dEPRECATEDIsDetachedFromObject_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_was_attached_to_beta_object" field.</summary>
|
||||
public const int DEPRECATEDWasAttachedToBetaObjectFieldNumber = 2;
|
||||
private bool dEPRECATEDWasAttachedToBetaObject_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDWasAttachedToBetaObject {
|
||||
get { return dEPRECATEDWasAttachedToBetaObject_; }
|
||||
set {
|
||||
dEPRECATEDWasAttachedToBetaObject_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ControlPanelData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ControlPanelData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (AttachmentMode != other.AttachmentMode) return false;
|
||||
if (DEPRECATEDIsDetachedFromObject != other.DEPRECATEDIsDetachedFromObject) return false;
|
||||
if (DEPRECATEDWasAttachedToBetaObject != other.DEPRECATEDWasAttachedToBetaObject) 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 (AttachmentMode != 0) hash ^= AttachmentMode.GetHashCode();
|
||||
if (DEPRECATEDIsDetachedFromObject != false) hash ^= DEPRECATEDIsDetachedFromObject.GetHashCode();
|
||||
if (DEPRECATEDWasAttachedToBetaObject != false) hash ^= DEPRECATEDWasAttachedToBetaObject.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 (DEPRECATEDIsDetachedFromObject != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(DEPRECATEDIsDetachedFromObject);
|
||||
}
|
||||
if (DEPRECATEDWasAttachedToBetaObject != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDWasAttachedToBetaObject);
|
||||
}
|
||||
if (AttachmentMode != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(AttachmentMode);
|
||||
}
|
||||
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 (DEPRECATEDIsDetachedFromObject != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(DEPRECATEDIsDetachedFromObject);
|
||||
}
|
||||
if (DEPRECATEDWasAttachedToBetaObject != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDWasAttachedToBetaObject);
|
||||
}
|
||||
if (AttachmentMode != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(AttachmentMode);
|
||||
}
|
||||
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 (AttachmentMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttachmentMode);
|
||||
}
|
||||
if (DEPRECATEDIsDetachedFromObject != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DEPRECATEDWasAttachedToBetaObject != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ControlPanelData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.AttachmentMode != 0) {
|
||||
AttachmentMode = other.AttachmentMode;
|
||||
}
|
||||
if (other.DEPRECATEDIsDetachedFromObject != false) {
|
||||
DEPRECATEDIsDetachedFromObject = other.DEPRECATEDIsDetachedFromObject;
|
||||
}
|
||||
if (other.DEPRECATEDWasAttachedToBetaObject != false) {
|
||||
DEPRECATEDWasAttachedToBetaObject = other.DEPRECATEDWasAttachedToBetaObject;
|
||||
}
|
||||
_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: {
|
||||
DEPRECATEDIsDetachedFromObject = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDWasAttachedToBetaObject = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
AttachmentMode = input.ReadInt32();
|
||||
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: {
|
||||
DEPRECATEDIsDetachedFromObject = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDWasAttachedToBetaObject = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
AttachmentMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
389
ControlPanelRootData.cs
Normal file
389
ControlPanelRootData.cs
Normal file
@@ -0,0 +1,389 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/control_panel_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/control_panel_root_data.proto</summary>
|
||||
public static partial class ControlPanelRootDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/control_panel_root_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ControlPanelRootDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiljaXJjdWl0c192Mi9jb250cm9sX3BhbmVsX3Jvb3RfZGF0YS5wcm90bxIL",
|
||||
"Y2lyY3VpdHNfdjIaLmNpcmN1aXRzX3YyL2NpcmN1aXRfZ2xvYmFsX2VudGl0",
|
||||
"aWVzX2RhdGEucHJvdG8aJGNpcmN1aXRzX3YyL2NpcmN1aXRfZ3JhcGhfZGF0",
|
||||
"YS5wcm90bxojY2lyY3VpdHNfdjIvY2lyY3VpdF9ub2RlX2RhdGEucHJvdG8a",
|
||||
"L2NpcmN1aXRzX3YyL2NpcmN1aXRfc2VyaWFsaXphdGlvbl92ZXJzaW9uLnBy",
|
||||
"b3RvIoICChRDb250cm9sUGFuZWxSb290RGF0YRI5Cgd2ZXJzaW9uGAEgASgO",
|
||||
"MiguY2lyY3VpdHNfdjIuQ2lyY3VpdFNlcmlhbGl6YXRpb25WZXJzaW9uEjUK",
|
||||
"DmdyYXBoX3RlbXBsYXRlGAIgASgLMh0uY2lyY3VpdHNfdjIuQ2lyY3VpdEdy",
|
||||
"YXBoRGF0YRI4CghlbnRpdGllcxgEIAEoCzImLmNpcmN1aXRzX3YyLkNpcmN1",
|
||||
"aXRHbG9iYWxFbnRpdGllc0RhdGESPgoYREVQUkVDQVRFRF9ub2RlX3RlbXBs",
|
||||
"YXRlGAMgASgLMhwuY2lyY3VpdHNfdjIuQ2lyY3VpdE5vZGVEYXRhQhaqAhND",
|
||||
"aXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CircuitGlobalEntitiesDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitGraphDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitNodeDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitSerializationVersionReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ControlPanelRootData), global::CircuitsV2.Protobuf.ControlPanelRootData.Parser, new[]{ "Version", "GraphTemplate", "Entities", "DEPRECATEDNodeTemplate" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class ControlPanelRootData : pb::IMessage<ControlPanelRootData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ControlPanelRootData> _parser = new pb::MessageParser<ControlPanelRootData>(() => new ControlPanelRootData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ControlPanelRootData> 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.ControlPanelRootDataReflection.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 ControlPanelRootData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelRootData(ControlPanelRootData other) : this() {
|
||||
version_ = other.version_;
|
||||
graphTemplate_ = other.graphTemplate_ != null ? other.graphTemplate_.Clone() : null;
|
||||
entities_ = other.entities_ != null ? other.entities_.Clone() : null;
|
||||
dEPRECATEDNodeTemplate_ = other.dEPRECATEDNodeTemplate_ != null ? other.dEPRECATEDNodeTemplate_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ControlPanelRootData Clone() {
|
||||
return new ControlPanelRootData(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 "graph_template" field.</summary>
|
||||
public const int GraphTemplateFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.CircuitGraphData graphTemplate_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitGraphData GraphTemplate {
|
||||
get { return graphTemplate_; }
|
||||
set {
|
||||
graphTemplate_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entities" field.</summary>
|
||||
public const int EntitiesFieldNumber = 4;
|
||||
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 "DEPRECATED_node_template" field.</summary>
|
||||
public const int DEPRECATEDNodeTemplateFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.CircuitNodeData dEPRECATEDNodeTemplate_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitNodeData DEPRECATEDNodeTemplate {
|
||||
get { return dEPRECATEDNodeTemplate_; }
|
||||
set {
|
||||
dEPRECATEDNodeTemplate_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ControlPanelRootData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ControlPanelRootData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Version != other.Version) return false;
|
||||
if (!object.Equals(GraphTemplate, other.GraphTemplate)) return false;
|
||||
if (!object.Equals(Entities, other.Entities)) return false;
|
||||
if (!object.Equals(DEPRECATEDNodeTemplate, other.DEPRECATEDNodeTemplate)) 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 (graphTemplate_ != null) hash ^= GraphTemplate.GetHashCode();
|
||||
if (entities_ != null) hash ^= Entities.GetHashCode();
|
||||
if (dEPRECATEDNodeTemplate_ != null) hash ^= DEPRECATEDNodeTemplate.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 (graphTemplate_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(GraphTemplate);
|
||||
}
|
||||
if (dEPRECATEDNodeTemplate_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DEPRECATEDNodeTemplate);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
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 (graphTemplate_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(GraphTemplate);
|
||||
}
|
||||
if (dEPRECATEDNodeTemplate_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DEPRECATEDNodeTemplate);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(Entities);
|
||||
}
|
||||
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 (graphTemplate_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GraphTemplate);
|
||||
}
|
||||
if (entities_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Entities);
|
||||
}
|
||||
if (dEPRECATEDNodeTemplate_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDNodeTemplate);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ControlPanelRootData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) {
|
||||
Version = other.Version;
|
||||
}
|
||||
if (other.graphTemplate_ != null) {
|
||||
if (graphTemplate_ == null) {
|
||||
GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
GraphTemplate.MergeFrom(other.GraphTemplate);
|
||||
}
|
||||
if (other.entities_ != null) {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
Entities.MergeFrom(other.Entities);
|
||||
}
|
||||
if (other.dEPRECATEDNodeTemplate_ != null) {
|
||||
if (dEPRECATEDNodeTemplate_ == null) {
|
||||
DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData();
|
||||
}
|
||||
DEPRECATEDNodeTemplate.MergeFrom(other.DEPRECATEDNodeTemplate);
|
||||
}
|
||||
_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 (graphTemplate_ == null) {
|
||||
GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
input.ReadMessage(GraphTemplate);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dEPRECATEDNodeTemplate_ == null) {
|
||||
DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDNodeTemplate);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
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 (graphTemplate_ == null) {
|
||||
GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData();
|
||||
}
|
||||
input.ReadMessage(GraphTemplate);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dEPRECATEDNodeTemplate_ == null) {
|
||||
DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDNodeTemplate);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (entities_ == null) {
|
||||
Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData();
|
||||
}
|
||||
input.ReadMessage(Entities);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
533
CostumeData.cs
Normal file
533
CostumeData.cs
Normal file
@@ -0,0 +1,533 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/costume_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/costume_data.proto</summary>
|
||||
public static partial class CostumeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/costume_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CostumeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CidyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb3N0dW1lX2RhdGEucHJvdG8SCHJl",
|
||||
"Y19yb29tIrACCgtDb3N0dW1lRGF0YRIgChhhZGRfcGxheWVyX3JvbGVfb25f",
|
||||
"ZXF1aXAYASADKAkSLAokZG9fbm90X3JlbW92ZV9wbGF5ZXJfcm9sZV9vbl91",
|
||||
"bmVxdWlwGAIgASgIEhwKFGRvX25vdF9zaG93X2VxdWlwX3VpGAMgASgIEhoK",
|
||||
"EmhpZGVfcGxheWVyX291dGZpdBgEIAEoCBImCh5kb19ub3RfcGxheV9lcXVp",
|
||||
"cF9zb3VuZF9lZmZlY3QYBSABKAgSFQoNb3V0Zml0X2ZpbHRlchgGIAEoBRIe",
|
||||
"ChZlcXVpcF9sb2NrZWRfYnlfa2V5X2lkGAcgASgMEhwKFGFuaW1hdGlvbl9w",
|
||||
"b3NlX2luZGV4GAggASgFEhoKEmF2YXRhcl90eXBlX2ZpbHRlchgJIAEoBUIT",
|
||||
"qgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CostumeData), global::RecRoom.Protobuf.CostumeData.Parser, new[]{ "AddPlayerRoleOnEquip", "DoNotRemovePlayerRoleOnUnequip", "DoNotShowEquipUi", "HidePlayerOutfit", "DoNotPlayEquipSoundEffect", "OutfitFilter", "EquipLockedByKeyId", "AnimationPoseIndex", "AvatarTypeFilter" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CostumeData : pb::IMessage<CostumeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CostumeData> _parser = new pb::MessageParser<CostumeData>(() => new CostumeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CostumeData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CostumeDataReflection.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 CostumeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CostumeData(CostumeData other) : this() {
|
||||
addPlayerRoleOnEquip_ = other.addPlayerRoleOnEquip_.Clone();
|
||||
doNotRemovePlayerRoleOnUnequip_ = other.doNotRemovePlayerRoleOnUnequip_;
|
||||
doNotShowEquipUi_ = other.doNotShowEquipUi_;
|
||||
hidePlayerOutfit_ = other.hidePlayerOutfit_;
|
||||
doNotPlayEquipSoundEffect_ = other.doNotPlayEquipSoundEffect_;
|
||||
outfitFilter_ = other.outfitFilter_;
|
||||
equipLockedByKeyId_ = other.equipLockedByKeyId_;
|
||||
animationPoseIndex_ = other.animationPoseIndex_;
|
||||
avatarTypeFilter_ = other.avatarTypeFilter_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CostumeData Clone() {
|
||||
return new CostumeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "add_player_role_on_equip" field.</summary>
|
||||
public const int AddPlayerRoleOnEquipFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<string> _repeated_addPlayerRoleOnEquip_codec
|
||||
= pb::FieldCodec.ForString(10);
|
||||
private readonly pbc::RepeatedField<string> addPlayerRoleOnEquip_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> AddPlayerRoleOnEquip {
|
||||
get { return addPlayerRoleOnEquip_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "do_not_remove_player_role_on_unequip" field.</summary>
|
||||
public const int DoNotRemovePlayerRoleOnUnequipFieldNumber = 2;
|
||||
private bool doNotRemovePlayerRoleOnUnequip_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DoNotRemovePlayerRoleOnUnequip {
|
||||
get { return doNotRemovePlayerRoleOnUnequip_; }
|
||||
set {
|
||||
doNotRemovePlayerRoleOnUnequip_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "do_not_show_equip_ui" field.</summary>
|
||||
public const int DoNotShowEquipUiFieldNumber = 3;
|
||||
private bool doNotShowEquipUi_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DoNotShowEquipUi {
|
||||
get { return doNotShowEquipUi_; }
|
||||
set {
|
||||
doNotShowEquipUi_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "hide_player_outfit" field.</summary>
|
||||
public const int HidePlayerOutfitFieldNumber = 4;
|
||||
private bool hidePlayerOutfit_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HidePlayerOutfit {
|
||||
get { return hidePlayerOutfit_; }
|
||||
set {
|
||||
hidePlayerOutfit_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "do_not_play_equip_sound_effect" field.</summary>
|
||||
public const int DoNotPlayEquipSoundEffectFieldNumber = 5;
|
||||
private bool doNotPlayEquipSoundEffect_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DoNotPlayEquipSoundEffect {
|
||||
get { return doNotPlayEquipSoundEffect_; }
|
||||
set {
|
||||
doNotPlayEquipSoundEffect_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "outfit_filter" field.</summary>
|
||||
public const int OutfitFilterFieldNumber = 6;
|
||||
private int outfitFilter_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int OutfitFilter {
|
||||
get { return outfitFilter_; }
|
||||
set {
|
||||
outfitFilter_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "equip_locked_by_key_id" field.</summary>
|
||||
public const int EquipLockedByKeyIdFieldNumber = 7;
|
||||
private pb::ByteString equipLockedByKeyId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString EquipLockedByKeyId {
|
||||
get { return equipLockedByKeyId_; }
|
||||
set {
|
||||
equipLockedByKeyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "animation_pose_index" field.</summary>
|
||||
public const int AnimationPoseIndexFieldNumber = 8;
|
||||
private int animationPoseIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AnimationPoseIndex {
|
||||
get { return animationPoseIndex_; }
|
||||
set {
|
||||
animationPoseIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "avatar_type_filter" field.</summary>
|
||||
public const int AvatarTypeFilterFieldNumber = 9;
|
||||
private int avatarTypeFilter_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AvatarTypeFilter {
|
||||
get { return avatarTypeFilter_; }
|
||||
set {
|
||||
avatarTypeFilter_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CostumeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CostumeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!addPlayerRoleOnEquip_.Equals(other.addPlayerRoleOnEquip_)) return false;
|
||||
if (DoNotRemovePlayerRoleOnUnequip != other.DoNotRemovePlayerRoleOnUnequip) return false;
|
||||
if (DoNotShowEquipUi != other.DoNotShowEquipUi) return false;
|
||||
if (HidePlayerOutfit != other.HidePlayerOutfit) return false;
|
||||
if (DoNotPlayEquipSoundEffect != other.DoNotPlayEquipSoundEffect) return false;
|
||||
if (OutfitFilter != other.OutfitFilter) return false;
|
||||
if (EquipLockedByKeyId != other.EquipLockedByKeyId) return false;
|
||||
if (AnimationPoseIndex != other.AnimationPoseIndex) return false;
|
||||
if (AvatarTypeFilter != other.AvatarTypeFilter) 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;
|
||||
hash ^= addPlayerRoleOnEquip_.GetHashCode();
|
||||
if (DoNotRemovePlayerRoleOnUnequip != false) hash ^= DoNotRemovePlayerRoleOnUnequip.GetHashCode();
|
||||
if (DoNotShowEquipUi != false) hash ^= DoNotShowEquipUi.GetHashCode();
|
||||
if (HidePlayerOutfit != false) hash ^= HidePlayerOutfit.GetHashCode();
|
||||
if (DoNotPlayEquipSoundEffect != false) hash ^= DoNotPlayEquipSoundEffect.GetHashCode();
|
||||
if (OutfitFilter != 0) hash ^= OutfitFilter.GetHashCode();
|
||||
if (EquipLockedByKeyId.Length != 0) hash ^= EquipLockedByKeyId.GetHashCode();
|
||||
if (AnimationPoseIndex != 0) hash ^= AnimationPoseIndex.GetHashCode();
|
||||
if (AvatarTypeFilter != 0) hash ^= AvatarTypeFilter.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
|
||||
addPlayerRoleOnEquip_.WriteTo(output, _repeated_addPlayerRoleOnEquip_codec);
|
||||
if (DoNotRemovePlayerRoleOnUnequip != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DoNotRemovePlayerRoleOnUnequip);
|
||||
}
|
||||
if (DoNotShowEquipUi != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(DoNotShowEquipUi);
|
||||
}
|
||||
if (HidePlayerOutfit != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(HidePlayerOutfit);
|
||||
}
|
||||
if (DoNotPlayEquipSoundEffect != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(DoNotPlayEquipSoundEffect);
|
||||
}
|
||||
if (OutfitFilter != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(OutfitFilter);
|
||||
}
|
||||
if (EquipLockedByKeyId.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteBytes(EquipLockedByKeyId);
|
||||
}
|
||||
if (AnimationPoseIndex != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(AnimationPoseIndex);
|
||||
}
|
||||
if (AvatarTypeFilter != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(AvatarTypeFilter);
|
||||
}
|
||||
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) {
|
||||
addPlayerRoleOnEquip_.WriteTo(ref output, _repeated_addPlayerRoleOnEquip_codec);
|
||||
if (DoNotRemovePlayerRoleOnUnequip != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DoNotRemovePlayerRoleOnUnequip);
|
||||
}
|
||||
if (DoNotShowEquipUi != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(DoNotShowEquipUi);
|
||||
}
|
||||
if (HidePlayerOutfit != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(HidePlayerOutfit);
|
||||
}
|
||||
if (DoNotPlayEquipSoundEffect != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(DoNotPlayEquipSoundEffect);
|
||||
}
|
||||
if (OutfitFilter != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(OutfitFilter);
|
||||
}
|
||||
if (EquipLockedByKeyId.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteBytes(EquipLockedByKeyId);
|
||||
}
|
||||
if (AnimationPoseIndex != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(AnimationPoseIndex);
|
||||
}
|
||||
if (AvatarTypeFilter != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(AvatarTypeFilter);
|
||||
}
|
||||
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;
|
||||
size += addPlayerRoleOnEquip_.CalculateSize(_repeated_addPlayerRoleOnEquip_codec);
|
||||
if (DoNotRemovePlayerRoleOnUnequip != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DoNotShowEquipUi != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (HidePlayerOutfit != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (DoNotPlayEquipSoundEffect != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (OutfitFilter != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutfitFilter);
|
||||
}
|
||||
if (EquipLockedByKeyId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EquipLockedByKeyId);
|
||||
}
|
||||
if (AnimationPoseIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AnimationPoseIndex);
|
||||
}
|
||||
if (AvatarTypeFilter != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AvatarTypeFilter);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CostumeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
addPlayerRoleOnEquip_.Add(other.addPlayerRoleOnEquip_);
|
||||
if (other.DoNotRemovePlayerRoleOnUnequip != false) {
|
||||
DoNotRemovePlayerRoleOnUnequip = other.DoNotRemovePlayerRoleOnUnequip;
|
||||
}
|
||||
if (other.DoNotShowEquipUi != false) {
|
||||
DoNotShowEquipUi = other.DoNotShowEquipUi;
|
||||
}
|
||||
if (other.HidePlayerOutfit != false) {
|
||||
HidePlayerOutfit = other.HidePlayerOutfit;
|
||||
}
|
||||
if (other.DoNotPlayEquipSoundEffect != false) {
|
||||
DoNotPlayEquipSoundEffect = other.DoNotPlayEquipSoundEffect;
|
||||
}
|
||||
if (other.OutfitFilter != 0) {
|
||||
OutfitFilter = other.OutfitFilter;
|
||||
}
|
||||
if (other.EquipLockedByKeyId.Length != 0) {
|
||||
EquipLockedByKeyId = other.EquipLockedByKeyId;
|
||||
}
|
||||
if (other.AnimationPoseIndex != 0) {
|
||||
AnimationPoseIndex = other.AnimationPoseIndex;
|
||||
}
|
||||
if (other.AvatarTypeFilter != 0) {
|
||||
AvatarTypeFilter = other.AvatarTypeFilter;
|
||||
}
|
||||
_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: {
|
||||
addPlayerRoleOnEquip_.AddEntriesFrom(input, _repeated_addPlayerRoleOnEquip_codec);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DoNotRemovePlayerRoleOnUnequip = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DoNotShowEquipUi = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
HidePlayerOutfit = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DoNotPlayEquipSoundEffect = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
OutfitFilter = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
EquipLockedByKeyId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
AnimationPoseIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
AvatarTypeFilter = input.ReadInt32();
|
||||
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: {
|
||||
addPlayerRoleOnEquip_.AddEntriesFrom(ref input, _repeated_addPlayerRoleOnEquip_codec);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DoNotRemovePlayerRoleOnUnequip = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
DoNotShowEquipUi = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
HidePlayerOutfit = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DoNotPlayEquipSoundEffect = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
OutfitFilter = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
EquipLockedByKeyId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
AnimationPoseIndex = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
AvatarTypeFilter = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
802
CreationObjectData.cs
Normal file
802
CreationObjectData.cs
Normal file
@@ -0,0 +1,802 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/creation_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 RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from rec_room/persistence/creation_object_data.proto</summary>
|
||||
public static partial class CreationObjectDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/creation_object_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CreationObjectDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci9yZWNfcm9vbS9wZXJzaXN0ZW5jZS9jcmVhdGlvbl9vYmplY3RfZGF0YS5w",
|
||||
"cm90bxIIcmVjX3Jvb20aFWNvcmUvY29sb3JfZGF0YS5wcm90bxovcmVjX3Jv",
|
||||
"b20vcGVyc2lzdGVuY2UvaW52ZW50aW9uX3BpZWNlX2RhdGEucHJvdG8aLXJl",
|
||||
"Y19yb29tL3BlcnNpc3RlbmNlL2ludGVyYWN0aW9uX2ZpbHRlci5wcm90byK6",
|
||||
"BAoSQ3JlYXRpb25PYmplY3REYXRhEicKDmNvbG9yX292ZXJyaWRlGAIgASgL",
|
||||
"Mg8uY29yZS5Db2xvckRhdGESFQoNdGVhbV9vdmVycmlkZRgDIAEoERIRCglp",
|
||||
"c19mcm96ZW4YBCABKAgSOgoUaW52ZW50aW9uX3BpZWNlX2RhdGEYBSABKAsy",
|
||||
"HC5yZWNfcm9vbS5JbnZlbnRpb25QaWVjZURhdGESFAoMaXNfZ3JhYmJhYmxl",
|
||||
"GAYgASgIEhQKDGlzX2NsaW1iYWJsZRgHIAEoCBIZChFwcmV2ZW50c193YWxs",
|
||||
"X3J1bhgIIAEoCBIbChNwcmV2ZW50c19jbGFtYmVyaW5nGAkgASgIEh8KF25h",
|
||||
"dm1lc2hfZ2VuZXJhdGlvbl9tb2RlGAogASgFEh8KF3BpY2t1cF9sb2NrZWRf",
|
||||
"Ynlfa2V5X2lkGAsgASgMEkAKF2ludGVyYWN0aW9uX2ZpbHRlcl9kYXRhGA4g",
|
||||
"ASgLMh8ucmVjX3Jvb20uSW50ZXJhY3Rpb25GaWx0ZXJEYXRhEi0KJURFUFJF",
|
||||
"Q0FURURfaW50ZXJhY3Rpb25fZmlsdGVyX2VuYWJsZWQYDyABKAgSMAoodG9v",
|
||||
"bF9wcmVmZXJyZWRfaGFuZF90eXBlX2Zvcl9pbnRlcmFjdGlvbhgQIAEoBRIk",
|
||||
"ChxtYWtlcl9wZW5faW50ZXJhY3Rpb25fZmlsdGVyGBEgASgFEiYKHmlzX2xv",
|
||||
"Y2tlZF9ieV9yb29tX2NvbnRyaWJ1dG9ycxgSIAEoCEITqgIQUmVjUm9vbS5Q",
|
||||
"cm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.ColorDataReflection.Descriptor, global::RecRoom.Protobuf.InventionPieceDataReflection.Descriptor, global::RecRoom.Protobuf.InteractionFilterReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CreationObjectData), global::RecRoom.Protobuf.CreationObjectData.Parser, new[]{ "ColorOverride", "TeamOverride", "IsFrozen", "InventionPieceData", "IsGrabbable", "IsClimbable", "PreventsWallRun", "PreventsClambering", "NavmeshGenerationMode", "PickupLockedByKeyId", "InteractionFilterData", "DEPRECATEDInteractionFilterEnabled", "ToolPreferredHandTypeForInteraction", "MakerPenInteractionFilter", "IsLockedByRoomContributors" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CreationObjectData : pb::IMessage<CreationObjectData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CreationObjectData> _parser = new pb::MessageParser<CreationObjectData>(() => new CreationObjectData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CreationObjectData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::RecRoom.Protobuf.CreationObjectDataReflection.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 CreationObjectData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CreationObjectData(CreationObjectData other) : this() {
|
||||
colorOverride_ = other.colorOverride_ != null ? other.colorOverride_.Clone() : null;
|
||||
teamOverride_ = other.teamOverride_;
|
||||
isFrozen_ = other.isFrozen_;
|
||||
inventionPieceData_ = other.inventionPieceData_ != null ? other.inventionPieceData_.Clone() : null;
|
||||
isGrabbable_ = other.isGrabbable_;
|
||||
isClimbable_ = other.isClimbable_;
|
||||
preventsWallRun_ = other.preventsWallRun_;
|
||||
preventsClambering_ = other.preventsClambering_;
|
||||
navmeshGenerationMode_ = other.navmeshGenerationMode_;
|
||||
pickupLockedByKeyId_ = other.pickupLockedByKeyId_;
|
||||
interactionFilterData_ = other.interactionFilterData_ != null ? other.interactionFilterData_.Clone() : null;
|
||||
dEPRECATEDInteractionFilterEnabled_ = other.dEPRECATEDInteractionFilterEnabled_;
|
||||
toolPreferredHandTypeForInteraction_ = other.toolPreferredHandTypeForInteraction_;
|
||||
makerPenInteractionFilter_ = other.makerPenInteractionFilter_;
|
||||
isLockedByRoomContributors_ = other.isLockedByRoomContributors_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CreationObjectData Clone() {
|
||||
return new CreationObjectData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "color_override" field.</summary>
|
||||
public const int ColorOverrideFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.ColorData colorOverride_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.ColorData ColorOverride {
|
||||
get { return colorOverride_; }
|
||||
set {
|
||||
colorOverride_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_override" field.</summary>
|
||||
public const int TeamOverrideFieldNumber = 3;
|
||||
private int teamOverride_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TeamOverride {
|
||||
get { return teamOverride_; }
|
||||
set {
|
||||
teamOverride_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_frozen" field.</summary>
|
||||
public const int IsFrozenFieldNumber = 4;
|
||||
private bool isFrozen_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsFrozen {
|
||||
get { return isFrozen_; }
|
||||
set {
|
||||
isFrozen_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "invention_piece_data" field.</summary>
|
||||
public const int InventionPieceDataFieldNumber = 5;
|
||||
private global::RecRoom.Protobuf.InventionPieceData inventionPieceData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.InventionPieceData InventionPieceData {
|
||||
get { return inventionPieceData_; }
|
||||
set {
|
||||
inventionPieceData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_grabbable" field.</summary>
|
||||
public const int IsGrabbableFieldNumber = 6;
|
||||
private bool isGrabbable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsGrabbable {
|
||||
get { return isGrabbable_; }
|
||||
set {
|
||||
isGrabbable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_climbable" field.</summary>
|
||||
public const int IsClimbableFieldNumber = 7;
|
||||
private bool isClimbable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsClimbable {
|
||||
get { return isClimbable_; }
|
||||
set {
|
||||
isClimbable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "prevents_wall_run" field.</summary>
|
||||
public const int PreventsWallRunFieldNumber = 8;
|
||||
private bool preventsWallRun_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool PreventsWallRun {
|
||||
get { return preventsWallRun_; }
|
||||
set {
|
||||
preventsWallRun_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "prevents_clambering" field.</summary>
|
||||
public const int PreventsClamberingFieldNumber = 9;
|
||||
private bool preventsClambering_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool PreventsClambering {
|
||||
get { return preventsClambering_; }
|
||||
set {
|
||||
preventsClambering_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "navmesh_generation_mode" field.</summary>
|
||||
public const int NavmeshGenerationModeFieldNumber = 10;
|
||||
private int navmeshGenerationMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int NavmeshGenerationMode {
|
||||
get { return navmeshGenerationMode_; }
|
||||
set {
|
||||
navmeshGenerationMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "pickup_locked_by_key_id" field.</summary>
|
||||
public const int PickupLockedByKeyIdFieldNumber = 11;
|
||||
private pb::ByteString pickupLockedByKeyId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString PickupLockedByKeyId {
|
||||
get { return pickupLockedByKeyId_; }
|
||||
set {
|
||||
pickupLockedByKeyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "interaction_filter_data" field.</summary>
|
||||
public const int InteractionFilterDataFieldNumber = 14;
|
||||
private global::RecRoom.Protobuf.InteractionFilterData interactionFilterData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.InteractionFilterData InteractionFilterData {
|
||||
get { return interactionFilterData_; }
|
||||
set {
|
||||
interactionFilterData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_interaction_filter_enabled" field.</summary>
|
||||
public const int DEPRECATEDInteractionFilterEnabledFieldNumber = 15;
|
||||
private bool dEPRECATEDInteractionFilterEnabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDInteractionFilterEnabled {
|
||||
get { return dEPRECATEDInteractionFilterEnabled_; }
|
||||
set {
|
||||
dEPRECATEDInteractionFilterEnabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "tool_preferred_hand_type_for_interaction" field.</summary>
|
||||
public const int ToolPreferredHandTypeForInteractionFieldNumber = 16;
|
||||
private int toolPreferredHandTypeForInteraction_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ToolPreferredHandTypeForInteraction {
|
||||
get { return toolPreferredHandTypeForInteraction_; }
|
||||
set {
|
||||
toolPreferredHandTypeForInteraction_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maker_pen_interaction_filter" field.</summary>
|
||||
public const int MakerPenInteractionFilterFieldNumber = 17;
|
||||
private int makerPenInteractionFilter_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int MakerPenInteractionFilter {
|
||||
get { return makerPenInteractionFilter_; }
|
||||
set {
|
||||
makerPenInteractionFilter_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_locked_by_room_contributors" field.</summary>
|
||||
public const int IsLockedByRoomContributorsFieldNumber = 18;
|
||||
private bool isLockedByRoomContributors_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsLockedByRoomContributors {
|
||||
get { return isLockedByRoomContributors_; }
|
||||
set {
|
||||
isLockedByRoomContributors_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CreationObjectData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CreationObjectData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(ColorOverride, other.ColorOverride)) return false;
|
||||
if (TeamOverride != other.TeamOverride) return false;
|
||||
if (IsFrozen != other.IsFrozen) return false;
|
||||
if (!object.Equals(InventionPieceData, other.InventionPieceData)) return false;
|
||||
if (IsGrabbable != other.IsGrabbable) return false;
|
||||
if (IsClimbable != other.IsClimbable) return false;
|
||||
if (PreventsWallRun != other.PreventsWallRun) return false;
|
||||
if (PreventsClambering != other.PreventsClambering) return false;
|
||||
if (NavmeshGenerationMode != other.NavmeshGenerationMode) return false;
|
||||
if (PickupLockedByKeyId != other.PickupLockedByKeyId) return false;
|
||||
if (!object.Equals(InteractionFilterData, other.InteractionFilterData)) return false;
|
||||
if (DEPRECATEDInteractionFilterEnabled != other.DEPRECATEDInteractionFilterEnabled) return false;
|
||||
if (ToolPreferredHandTypeForInteraction != other.ToolPreferredHandTypeForInteraction) return false;
|
||||
if (MakerPenInteractionFilter != other.MakerPenInteractionFilter) return false;
|
||||
if (IsLockedByRoomContributors != other.IsLockedByRoomContributors) 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 (colorOverride_ != null) hash ^= ColorOverride.GetHashCode();
|
||||
if (TeamOverride != 0) hash ^= TeamOverride.GetHashCode();
|
||||
if (IsFrozen != false) hash ^= IsFrozen.GetHashCode();
|
||||
if (inventionPieceData_ != null) hash ^= InventionPieceData.GetHashCode();
|
||||
if (IsGrabbable != false) hash ^= IsGrabbable.GetHashCode();
|
||||
if (IsClimbable != false) hash ^= IsClimbable.GetHashCode();
|
||||
if (PreventsWallRun != false) hash ^= PreventsWallRun.GetHashCode();
|
||||
if (PreventsClambering != false) hash ^= PreventsClambering.GetHashCode();
|
||||
if (NavmeshGenerationMode != 0) hash ^= NavmeshGenerationMode.GetHashCode();
|
||||
if (PickupLockedByKeyId.Length != 0) hash ^= PickupLockedByKeyId.GetHashCode();
|
||||
if (interactionFilterData_ != null) hash ^= InteractionFilterData.GetHashCode();
|
||||
if (DEPRECATEDInteractionFilterEnabled != false) hash ^= DEPRECATEDInteractionFilterEnabled.GetHashCode();
|
||||
if (ToolPreferredHandTypeForInteraction != 0) hash ^= ToolPreferredHandTypeForInteraction.GetHashCode();
|
||||
if (MakerPenInteractionFilter != 0) hash ^= MakerPenInteractionFilter.GetHashCode();
|
||||
if (IsLockedByRoomContributors != false) hash ^= IsLockedByRoomContributors.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 (colorOverride_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(ColorOverride);
|
||||
}
|
||||
if (TeamOverride != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteSInt32(TeamOverride);
|
||||
}
|
||||
if (IsFrozen != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(IsFrozen);
|
||||
}
|
||||
if (inventionPieceData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(InventionPieceData);
|
||||
}
|
||||
if (IsGrabbable != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsGrabbable);
|
||||
}
|
||||
if (IsClimbable != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsClimbable);
|
||||
}
|
||||
if (PreventsWallRun != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(PreventsWallRun);
|
||||
}
|
||||
if (PreventsClambering != false) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteBool(PreventsClambering);
|
||||
}
|
||||
if (NavmeshGenerationMode != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(NavmeshGenerationMode);
|
||||
}
|
||||
if (PickupLockedByKeyId.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteBytes(PickupLockedByKeyId);
|
||||
}
|
||||
if (interactionFilterData_ != null) {
|
||||
output.WriteRawTag(114);
|
||||
output.WriteMessage(InteractionFilterData);
|
||||
}
|
||||
if (DEPRECATEDInteractionFilterEnabled != false) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteBool(DEPRECATEDInteractionFilterEnabled);
|
||||
}
|
||||
if (ToolPreferredHandTypeForInteraction != 0) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteInt32(ToolPreferredHandTypeForInteraction);
|
||||
}
|
||||
if (MakerPenInteractionFilter != 0) {
|
||||
output.WriteRawTag(136, 1);
|
||||
output.WriteInt32(MakerPenInteractionFilter);
|
||||
}
|
||||
if (IsLockedByRoomContributors != false) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteBool(IsLockedByRoomContributors);
|
||||
}
|
||||
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 (colorOverride_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(ColorOverride);
|
||||
}
|
||||
if (TeamOverride != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteSInt32(TeamOverride);
|
||||
}
|
||||
if (IsFrozen != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(IsFrozen);
|
||||
}
|
||||
if (inventionPieceData_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(InventionPieceData);
|
||||
}
|
||||
if (IsGrabbable != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsGrabbable);
|
||||
}
|
||||
if (IsClimbable != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(IsClimbable);
|
||||
}
|
||||
if (PreventsWallRun != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(PreventsWallRun);
|
||||
}
|
||||
if (PreventsClambering != false) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteBool(PreventsClambering);
|
||||
}
|
||||
if (NavmeshGenerationMode != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(NavmeshGenerationMode);
|
||||
}
|
||||
if (PickupLockedByKeyId.Length != 0) {
|
||||
output.WriteRawTag(90);
|
||||
output.WriteBytes(PickupLockedByKeyId);
|
||||
}
|
||||
if (interactionFilterData_ != null) {
|
||||
output.WriteRawTag(114);
|
||||
output.WriteMessage(InteractionFilterData);
|
||||
}
|
||||
if (DEPRECATEDInteractionFilterEnabled != false) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteBool(DEPRECATEDInteractionFilterEnabled);
|
||||
}
|
||||
if (ToolPreferredHandTypeForInteraction != 0) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteInt32(ToolPreferredHandTypeForInteraction);
|
||||
}
|
||||
if (MakerPenInteractionFilter != 0) {
|
||||
output.WriteRawTag(136, 1);
|
||||
output.WriteInt32(MakerPenInteractionFilter);
|
||||
}
|
||||
if (IsLockedByRoomContributors != false) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteBool(IsLockedByRoomContributors);
|
||||
}
|
||||
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 (colorOverride_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColorOverride);
|
||||
}
|
||||
if (TeamOverride != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeSInt32Size(TeamOverride);
|
||||
}
|
||||
if (IsFrozen != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (inventionPieceData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InventionPieceData);
|
||||
}
|
||||
if (IsGrabbable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (IsClimbable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (PreventsWallRun != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (PreventsClambering != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (NavmeshGenerationMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NavmeshGenerationMode);
|
||||
}
|
||||
if (PickupLockedByKeyId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(PickupLockedByKeyId);
|
||||
}
|
||||
if (interactionFilterData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InteractionFilterData);
|
||||
}
|
||||
if (DEPRECATEDInteractionFilterEnabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (ToolPreferredHandTypeForInteraction != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToolPreferredHandTypeForInteraction);
|
||||
}
|
||||
if (MakerPenInteractionFilter != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt32Size(MakerPenInteractionFilter);
|
||||
}
|
||||
if (IsLockedByRoomContributors != false) {
|
||||
size += 2 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CreationObjectData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.colorOverride_ != null) {
|
||||
if (colorOverride_ == null) {
|
||||
ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
ColorOverride.MergeFrom(other.ColorOverride);
|
||||
}
|
||||
if (other.TeamOverride != 0) {
|
||||
TeamOverride = other.TeamOverride;
|
||||
}
|
||||
if (other.IsFrozen != false) {
|
||||
IsFrozen = other.IsFrozen;
|
||||
}
|
||||
if (other.inventionPieceData_ != null) {
|
||||
if (inventionPieceData_ == null) {
|
||||
InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
|
||||
}
|
||||
InventionPieceData.MergeFrom(other.InventionPieceData);
|
||||
}
|
||||
if (other.IsGrabbable != false) {
|
||||
IsGrabbable = other.IsGrabbable;
|
||||
}
|
||||
if (other.IsClimbable != false) {
|
||||
IsClimbable = other.IsClimbable;
|
||||
}
|
||||
if (other.PreventsWallRun != false) {
|
||||
PreventsWallRun = other.PreventsWallRun;
|
||||
}
|
||||
if (other.PreventsClambering != false) {
|
||||
PreventsClambering = other.PreventsClambering;
|
||||
}
|
||||
if (other.NavmeshGenerationMode != 0) {
|
||||
NavmeshGenerationMode = other.NavmeshGenerationMode;
|
||||
}
|
||||
if (other.PickupLockedByKeyId.Length != 0) {
|
||||
PickupLockedByKeyId = other.PickupLockedByKeyId;
|
||||
}
|
||||
if (other.interactionFilterData_ != null) {
|
||||
if (interactionFilterData_ == null) {
|
||||
InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
InteractionFilterData.MergeFrom(other.InteractionFilterData);
|
||||
}
|
||||
if (other.DEPRECATEDInteractionFilterEnabled != false) {
|
||||
DEPRECATEDInteractionFilterEnabled = other.DEPRECATEDInteractionFilterEnabled;
|
||||
}
|
||||
if (other.ToolPreferredHandTypeForInteraction != 0) {
|
||||
ToolPreferredHandTypeForInteraction = other.ToolPreferredHandTypeForInteraction;
|
||||
}
|
||||
if (other.MakerPenInteractionFilter != 0) {
|
||||
MakerPenInteractionFilter = other.MakerPenInteractionFilter;
|
||||
}
|
||||
if (other.IsLockedByRoomContributors != false) {
|
||||
IsLockedByRoomContributors = other.IsLockedByRoomContributors;
|
||||
}
|
||||
_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 18: {
|
||||
if (colorOverride_ == null) {
|
||||
ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
input.ReadMessage(ColorOverride);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TeamOverride = input.ReadSInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
IsFrozen = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (inventionPieceData_ == null) {
|
||||
InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
|
||||
}
|
||||
input.ReadMessage(InventionPieceData);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsGrabbable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsClimbable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
PreventsWallRun = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
PreventsClambering = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
NavmeshGenerationMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
PickupLockedByKeyId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
if (interactionFilterData_ == null) {
|
||||
InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(InteractionFilterData);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
DEPRECATEDInteractionFilterEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
ToolPreferredHandTypeForInteraction = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 136: {
|
||||
MakerPenInteractionFilter = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
IsLockedByRoomContributors = input.ReadBool();
|
||||
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 18: {
|
||||
if (colorOverride_ == null) {
|
||||
ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
input.ReadMessage(ColorOverride);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TeamOverride = input.ReadSInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
IsFrozen = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (inventionPieceData_ == null) {
|
||||
InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
|
||||
}
|
||||
input.ReadMessage(InventionPieceData);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsGrabbable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
IsClimbable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
PreventsWallRun = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
PreventsClambering = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
NavmeshGenerationMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
PickupLockedByKeyId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
if (interactionFilterData_ == null) {
|
||||
InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(InteractionFilterData);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
DEPRECATEDInteractionFilterEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
ToolPreferredHandTypeForInteraction = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 136: {
|
||||
MakerPenInteractionFilter = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
IsLockedByRoomContributors = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
254
CreationObjectGetAllOfTypeWithTagNodeData.cs
Normal file
254
CreationObjectGetAllOfTypeWithTagNodeData.cs
Normal file
@@ -0,0 +1,254 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/creation_object_get_all_of_type_with_tag_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/creation_object_get_all_of_type_with_tag_node_data.proto</summary>
|
||||
public static partial class CreationObjectGetAllOfTypeWithTagNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/creation_object_get_all_of_type_with_tag_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CreationObjectGetAllOfTypeWithTagNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkRjaXJjdWl0c192Mi9jcmVhdGlvbl9vYmplY3RfZ2V0X2FsbF9vZl90eXBl",
|
||||
"X3dpdGhfdGFnX25vZGVfZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaKmNpcmN1",
|
||||
"aXRzL3N0YXRpYy9ldi9jaXJjdWl0X3R5cGVfZGF0YS5wcm90byJbCilDcmVh",
|
||||
"dGlvbk9iamVjdEdldEFsbE9mVHlwZVdpdGhUYWdOb2RlRGF0YRIuCgt0YXJn",
|
||||
"ZXRfdHlwZRgBIAEoCzIZLmNpcmN1aXRzLkNpcmN1aXRUeXBlRGF0YUIWqgIT",
|
||||
"Q2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CreationObjectGetAllOfTypeWithTagNodeData), global::CircuitsV2.Protobuf.CreationObjectGetAllOfTypeWithTagNodeData.Parser, new[]{ "TargetType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CreationObjectGetAllOfTypeWithTagNodeData : pb::IMessage<CreationObjectGetAllOfTypeWithTagNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CreationObjectGetAllOfTypeWithTagNodeData> _parser = new pb::MessageParser<CreationObjectGetAllOfTypeWithTagNodeData>(() => new CreationObjectGetAllOfTypeWithTagNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CreationObjectGetAllOfTypeWithTagNodeData> 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.CreationObjectGetAllOfTypeWithTagNodeDataReflection.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 CreationObjectGetAllOfTypeWithTagNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CreationObjectGetAllOfTypeWithTagNodeData(CreationObjectGetAllOfTypeWithTagNodeData other) : this() {
|
||||
targetType_ = other.targetType_ != null ? other.targetType_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CreationObjectGetAllOfTypeWithTagNodeData Clone() {
|
||||
return new CreationObjectGetAllOfTypeWithTagNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "target_type" field.</summary>
|
||||
public const int TargetTypeFieldNumber = 1;
|
||||
private global::Circuits.Static.EV.Protobuf.CircuitTypeData targetType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.EV.Protobuf.CircuitTypeData TargetType {
|
||||
get { return targetType_; }
|
||||
set {
|
||||
targetType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CreationObjectGetAllOfTypeWithTagNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CreationObjectGetAllOfTypeWithTagNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(TargetType, other.TargetType)) 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 (targetType_ != null) hash ^= TargetType.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 (targetType_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(TargetType);
|
||||
}
|
||||
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 (targetType_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(TargetType);
|
||||
}
|
||||
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 (targetType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetType);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CreationObjectGetAllOfTypeWithTagNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.targetType_ != null) {
|
||||
if (targetType_ == null) {
|
||||
TargetType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
TargetType.MergeFrom(other.TargetType);
|
||||
}
|
||||
_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 (targetType_ == null) {
|
||||
TargetType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(TargetType);
|
||||
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 (targetType_ == null) {
|
||||
TargetType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(TargetType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
290
CurrencyRewardData.cs
Normal file
290
CurrencyRewardData.cs
Normal file
@@ -0,0 +1,290 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/currency_reward_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/currency_reward_data.proto</summary>
|
||||
public static partial class CurrencyRewardDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/currency_reward_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CurrencyRewardDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiZjaXJjdWl0c192Mi9jdXJyZW5jeV9yZXdhcmRfZGF0YS5wcm90bxILY2ly",
|
||||
"Y3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIksKEkN1cnJlbmN5UmV3",
|
||||
"YXJkRGF0YRIjCgtjdXJyZW5jeV9pZBgBIAEoCzIOLmNvcmUuR3VpZERhdGES",
|
||||
"EAoIcXVhbnRpdHkYAiABKAVCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnBy",
|
||||
"b3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CurrencyRewardData), global::CircuitsV2.Protobuf.CurrencyRewardData.Parser, new[]{ "CurrencyId", "Quantity" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CurrencyRewardData : pb::IMessage<CurrencyRewardData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CurrencyRewardData> _parser = new pb::MessageParser<CurrencyRewardData>(() => new CurrencyRewardData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CurrencyRewardData> 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.CurrencyRewardDataReflection.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 CurrencyRewardData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CurrencyRewardData(CurrencyRewardData other) : this() {
|
||||
currencyId_ = other.currencyId_ != null ? other.currencyId_.Clone() : null;
|
||||
quantity_ = other.quantity_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CurrencyRewardData Clone() {
|
||||
return new CurrencyRewardData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "currency_id" field.</summary>
|
||||
public const int CurrencyIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData currencyId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData CurrencyId {
|
||||
get { return currencyId_; }
|
||||
set {
|
||||
currencyId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "quantity" field.</summary>
|
||||
public const int QuantityFieldNumber = 2;
|
||||
private int quantity_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Quantity {
|
||||
get { return quantity_; }
|
||||
set {
|
||||
quantity_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CurrencyRewardData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CurrencyRewardData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(CurrencyId, other.CurrencyId)) return false;
|
||||
if (Quantity != other.Quantity) 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 (currencyId_ != null) hash ^= CurrencyId.GetHashCode();
|
||||
if (Quantity != 0) hash ^= Quantity.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 (currencyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CurrencyId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Quantity);
|
||||
}
|
||||
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 (currencyId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(CurrencyId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Quantity);
|
||||
}
|
||||
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 (currencyId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrencyId);
|
||||
}
|
||||
if (Quantity != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Quantity);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CurrencyRewardData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.currencyId_ != null) {
|
||||
if (currencyId_ == null) {
|
||||
CurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
CurrencyId.MergeFrom(other.CurrencyId);
|
||||
}
|
||||
if (other.Quantity != 0) {
|
||||
Quantity = other.Quantity;
|
||||
}
|
||||
_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 (currencyId_ == null) {
|
||||
CurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(CurrencyId);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Quantity = input.ReadInt32();
|
||||
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 (currencyId_ == null) {
|
||||
CurrencyId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(CurrencyId);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Quantity = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
526
CustomPropertiesStateData.cs
Normal file
526
CustomPropertiesStateData.cs
Normal file
@@ -0,0 +1,526 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/custom_properties_state_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/custom_properties_state_data.proto</summary>
|
||||
public static partial class CustomPropertiesStateDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/custom_properties_state_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CustomPropertiesStateDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5jaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydGllc19zdGF0ZV9kYXRhLnBy",
|
||||
"b3RvEgtjaXJjdWl0c192MhouY2lyY3VpdHMvc2hhcmVkL3V0aWxpdGllcy9z",
|
||||
"b2FfaWRfMzJfZGF0YS5wcm90bxoqY2lyY3VpdHMvc3RhdGljL2V2L2NpcmN1",
|
||||
"aXRfdHlwZV9kYXRhLnByb3RvGiVjaXJjdWl0cy9zdGF0aWMvZXYvdmFyaWFu",
|
||||
"dF9kYXRhLnByb3RvGjNjaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydHlfaW5z",
|
||||
"dGFuY2Vfc2V0X2RhdGEucHJvdG8aJWNpcmN1aXRzL3NoYXJlZC9hcGkvaWRf",
|
||||
"MTI4X2RhdGEucHJvdG8isAQKGUN1c3RvbVByb3BlcnRpZXNTdGF0ZURhdGES",
|
||||
"MwoUcHJvcGVydHlfZGVmaW5pdGlvbnMYASABKAsyFS5jaXJjdWl0cy5TT0FJ",
|
||||
"ZDMyRGF0YRIhChlwcm9wZXJ0eV9kZWZpbml0aW9uX25hbWVzGAIgAygJEjwK",
|
||||
"GXByb3BlcnR5X2RlZmluaXRpb25fdHlwZXMYAyADKAsyGS5jaXJjdWl0cy5D",
|
||||
"aXJjdWl0VHlwZURhdGESMQoScHJvcGVydHlfaW5zdGFuY2VzGAQgASgLMhUu",
|
||||
"Y2lyY3VpdHMuU09BSWQzMkRhdGESJQodcHJvcGVydHlfaW5zdGFuY2VfZGVm",
|
||||
"aW5pdGlvbnMYBSADKAUSJgoecHJvcGVydHlfaW5zdGFuY2VfbWVtb3J5X2tp",
|
||||
"bmRzGAYgAygFEkMKJHByb3BlcnR5X2luc3RhbmNlX3N0b3JlZF9ob21lX3Zh",
|
||||
"bHVlcxgHIAMoCzIVLmNpcmN1aXRzLlZhcmlhbnREYXRhEjgKG3Byb3BlcnR5",
|
||||
"X2luc3RhbmNlX2V2ZW50X2lkcxgKIAMoCzITLmNpcmN1aXRzLklkMTI4RGF0",
|
||||
"YRJQChxwcm9wZXJ0eV9pbnN0YW5jZXNfYnlfb2JqZWN0GAkgAygLMiouY2ly",
|
||||
"Y3VpdHNfdjIuQ3VzdG9tUHJvcGVydHlJbnN0YW5jZVNldERhdGESKgoicHJv",
|
||||
"cGVydHlfaW5zdGFuY2VfZGlzcGxheV9tZXRhZGF0YRgLIAMoCUIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::Circuits.Static.EV.Protobuf.VariantDataReflection.Descriptor, global::CircuitsV2.Protobuf.CustomPropertyInstanceSetDataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CustomPropertiesStateData), global::CircuitsV2.Protobuf.CustomPropertiesStateData.Parser, new[]{ "PropertyDefinitions", "PropertyDefinitionNames", "PropertyDefinitionTypes", "PropertyInstances", "PropertyInstanceDefinitions", "PropertyInstanceMemoryKinds", "PropertyInstanceStoredHomeValues", "PropertyInstanceEventIds", "PropertyInstancesByObject", "PropertyInstanceDisplayMetadata" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CustomPropertiesStateData : pb::IMessage<CustomPropertiesStateData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CustomPropertiesStateData> _parser = new pb::MessageParser<CustomPropertiesStateData>(() => new CustomPropertiesStateData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CustomPropertiesStateData> 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.CustomPropertiesStateDataReflection.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 CustomPropertiesStateData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertiesStateData(CustomPropertiesStateData other) : this() {
|
||||
propertyDefinitions_ = other.propertyDefinitions_ != null ? other.propertyDefinitions_.Clone() : null;
|
||||
propertyDefinitionNames_ = other.propertyDefinitionNames_.Clone();
|
||||
propertyDefinitionTypes_ = other.propertyDefinitionTypes_.Clone();
|
||||
propertyInstances_ = other.propertyInstances_ != null ? other.propertyInstances_.Clone() : null;
|
||||
propertyInstanceDefinitions_ = other.propertyInstanceDefinitions_.Clone();
|
||||
propertyInstanceMemoryKinds_ = other.propertyInstanceMemoryKinds_.Clone();
|
||||
propertyInstanceStoredHomeValues_ = other.propertyInstanceStoredHomeValues_.Clone();
|
||||
propertyInstanceEventIds_ = other.propertyInstanceEventIds_.Clone();
|
||||
propertyInstancesByObject_ = other.propertyInstancesByObject_.Clone();
|
||||
propertyInstanceDisplayMetadata_ = other.propertyInstanceDisplayMetadata_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertiesStateData Clone() {
|
||||
return new CustomPropertiesStateData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definitions" field.</summary>
|
||||
public const int PropertyDefinitionsFieldNumber = 1;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data propertyDefinitions_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data PropertyDefinitions {
|
||||
get { return propertyDefinitions_; }
|
||||
set {
|
||||
propertyDefinitions_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definition_names" field.</summary>
|
||||
public const int PropertyDefinitionNamesFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<string> _repeated_propertyDefinitionNames_codec
|
||||
= pb::FieldCodec.ForString(18);
|
||||
private readonly pbc::RepeatedField<string> propertyDefinitionNames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> PropertyDefinitionNames {
|
||||
get { return propertyDefinitionNames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definition_types" field.</summary>
|
||||
public const int PropertyDefinitionTypesFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.EV.Protobuf.CircuitTypeData> _repeated_propertyDefinitionTypes_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::Circuits.Static.EV.Protobuf.CircuitTypeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> propertyDefinitionTypes_ = new pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> PropertyDefinitionTypes {
|
||||
get { return propertyDefinitionTypes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instances" field.</summary>
|
||||
public const int PropertyInstancesFieldNumber = 4;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data propertyInstances_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data PropertyInstances {
|
||||
get { return propertyInstances_; }
|
||||
set {
|
||||
propertyInstances_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_definitions" field.</summary>
|
||||
public const int PropertyInstanceDefinitionsFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<int> _repeated_propertyInstanceDefinitions_codec
|
||||
= pb::FieldCodec.ForInt32(42);
|
||||
private readonly pbc::RepeatedField<int> propertyInstanceDefinitions_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> PropertyInstanceDefinitions {
|
||||
get { return propertyInstanceDefinitions_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_memory_kinds" field.</summary>
|
||||
public const int PropertyInstanceMemoryKindsFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<int> _repeated_propertyInstanceMemoryKinds_codec
|
||||
= pb::FieldCodec.ForInt32(50);
|
||||
private readonly pbc::RepeatedField<int> propertyInstanceMemoryKinds_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> PropertyInstanceMemoryKinds {
|
||||
get { return propertyInstanceMemoryKinds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_stored_home_values" field.</summary>
|
||||
public const int PropertyInstanceStoredHomeValuesFieldNumber = 7;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.EV.Protobuf.VariantData> _repeated_propertyInstanceStoredHomeValues_codec
|
||||
= pb::FieldCodec.ForMessage(58, global::Circuits.Static.EV.Protobuf.VariantData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData> propertyInstanceStoredHomeValues_ = new pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData> PropertyInstanceStoredHomeValues {
|
||||
get { return propertyInstanceStoredHomeValues_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_event_ids" field.</summary>
|
||||
public const int PropertyInstanceEventIdsFieldNumber = 10;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_propertyInstanceEventIds_codec
|
||||
= pb::FieldCodec.ForMessage(82, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> propertyInstanceEventIds_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> PropertyInstanceEventIds {
|
||||
get { return propertyInstanceEventIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instances_by_object" field.</summary>
|
||||
public const int PropertyInstancesByObjectFieldNumber = 9;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> _repeated_propertyInstancesByObject_codec
|
||||
= pb::FieldCodec.ForMessage(74, global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> propertyInstancesByObject_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> PropertyInstancesByObject {
|
||||
get { return propertyInstancesByObject_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_display_metadata" field.</summary>
|
||||
public const int PropertyInstanceDisplayMetadataFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<string> _repeated_propertyInstanceDisplayMetadata_codec
|
||||
= pb::FieldCodec.ForString(90);
|
||||
private readonly pbc::RepeatedField<string> propertyInstanceDisplayMetadata_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> PropertyInstanceDisplayMetadata {
|
||||
get { return propertyInstanceDisplayMetadata_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CustomPropertiesStateData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CustomPropertiesStateData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(PropertyDefinitions, other.PropertyDefinitions)) return false;
|
||||
if(!propertyDefinitionNames_.Equals(other.propertyDefinitionNames_)) return false;
|
||||
if(!propertyDefinitionTypes_.Equals(other.propertyDefinitionTypes_)) return false;
|
||||
if (!object.Equals(PropertyInstances, other.PropertyInstances)) return false;
|
||||
if(!propertyInstanceDefinitions_.Equals(other.propertyInstanceDefinitions_)) return false;
|
||||
if(!propertyInstanceMemoryKinds_.Equals(other.propertyInstanceMemoryKinds_)) return false;
|
||||
if(!propertyInstanceStoredHomeValues_.Equals(other.propertyInstanceStoredHomeValues_)) return false;
|
||||
if(!propertyInstanceEventIds_.Equals(other.propertyInstanceEventIds_)) return false;
|
||||
if(!propertyInstancesByObject_.Equals(other.propertyInstancesByObject_)) return false;
|
||||
if(!propertyInstanceDisplayMetadata_.Equals(other.propertyInstanceDisplayMetadata_)) 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 (propertyDefinitions_ != null) hash ^= PropertyDefinitions.GetHashCode();
|
||||
hash ^= propertyDefinitionNames_.GetHashCode();
|
||||
hash ^= propertyDefinitionTypes_.GetHashCode();
|
||||
if (propertyInstances_ != null) hash ^= PropertyInstances.GetHashCode();
|
||||
hash ^= propertyInstanceDefinitions_.GetHashCode();
|
||||
hash ^= propertyInstanceMemoryKinds_.GetHashCode();
|
||||
hash ^= propertyInstanceStoredHomeValues_.GetHashCode();
|
||||
hash ^= propertyInstanceEventIds_.GetHashCode();
|
||||
hash ^= propertyInstancesByObject_.GetHashCode();
|
||||
hash ^= propertyInstanceDisplayMetadata_.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 (propertyDefinitions_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.WriteTo(output, _repeated_propertyDefinitionNames_codec);
|
||||
propertyDefinitionTypes_.WriteTo(output, _repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.WriteTo(output, _repeated_propertyInstanceDefinitions_codec);
|
||||
propertyInstanceMemoryKinds_.WriteTo(output, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
propertyInstanceStoredHomeValues_.WriteTo(output, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
propertyInstancesByObject_.WriteTo(output, _repeated_propertyInstancesByObject_codec);
|
||||
propertyInstanceEventIds_.WriteTo(output, _repeated_propertyInstanceEventIds_codec);
|
||||
propertyInstanceDisplayMetadata_.WriteTo(output, _repeated_propertyInstanceDisplayMetadata_codec);
|
||||
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 (propertyDefinitions_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.WriteTo(ref output, _repeated_propertyDefinitionNames_codec);
|
||||
propertyDefinitionTypes_.WriteTo(ref output, _repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.WriteTo(ref output, _repeated_propertyInstanceDefinitions_codec);
|
||||
propertyInstanceMemoryKinds_.WriteTo(ref output, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
propertyInstanceStoredHomeValues_.WriteTo(ref output, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
propertyInstancesByObject_.WriteTo(ref output, _repeated_propertyInstancesByObject_codec);
|
||||
propertyInstanceEventIds_.WriteTo(ref output, _repeated_propertyInstanceEventIds_codec);
|
||||
propertyInstanceDisplayMetadata_.WriteTo(ref output, _repeated_propertyInstanceDisplayMetadata_codec);
|
||||
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 (propertyDefinitions_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyDefinitions);
|
||||
}
|
||||
size += propertyDefinitionNames_.CalculateSize(_repeated_propertyDefinitionNames_codec);
|
||||
size += propertyDefinitionTypes_.CalculateSize(_repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyInstances);
|
||||
}
|
||||
size += propertyInstanceDefinitions_.CalculateSize(_repeated_propertyInstanceDefinitions_codec);
|
||||
size += propertyInstanceMemoryKinds_.CalculateSize(_repeated_propertyInstanceMemoryKinds_codec);
|
||||
size += propertyInstanceStoredHomeValues_.CalculateSize(_repeated_propertyInstanceStoredHomeValues_codec);
|
||||
size += propertyInstanceEventIds_.CalculateSize(_repeated_propertyInstanceEventIds_codec);
|
||||
size += propertyInstancesByObject_.CalculateSize(_repeated_propertyInstancesByObject_codec);
|
||||
size += propertyInstanceDisplayMetadata_.CalculateSize(_repeated_propertyInstanceDisplayMetadata_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CustomPropertiesStateData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.propertyDefinitions_ != null) {
|
||||
if (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
PropertyDefinitions.MergeFrom(other.PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.Add(other.propertyDefinitionNames_);
|
||||
propertyDefinitionTypes_.Add(other.propertyDefinitionTypes_);
|
||||
if (other.propertyInstances_ != null) {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
PropertyInstances.MergeFrom(other.PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.Add(other.propertyInstanceDefinitions_);
|
||||
propertyInstanceMemoryKinds_.Add(other.propertyInstanceMemoryKinds_);
|
||||
propertyInstanceStoredHomeValues_.Add(other.propertyInstanceStoredHomeValues_);
|
||||
propertyInstanceEventIds_.Add(other.propertyInstanceEventIds_);
|
||||
propertyInstancesByObject_.Add(other.propertyInstancesByObject_);
|
||||
propertyInstanceDisplayMetadata_.Add(other.propertyInstanceDisplayMetadata_);
|
||||
_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 (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyDefinitions);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
propertyDefinitionNames_.AddEntriesFrom(input, _repeated_propertyDefinitionNames_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
propertyDefinitionTypes_.AddEntriesFrom(input, _repeated_propertyDefinitionTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyInstances);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
propertyInstanceDefinitions_.AddEntriesFrom(input, _repeated_propertyInstanceDefinitions_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
propertyInstanceMemoryKinds_.AddEntriesFrom(input, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
propertyInstanceStoredHomeValues_.AddEntriesFrom(input, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
propertyInstancesByObject_.AddEntriesFrom(input, _repeated_propertyInstancesByObject_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
propertyInstanceEventIds_.AddEntriesFrom(input, _repeated_propertyInstanceEventIds_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
propertyInstanceDisplayMetadata_.AddEntriesFrom(input, _repeated_propertyInstanceDisplayMetadata_codec);
|
||||
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 (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyDefinitions);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
propertyDefinitionNames_.AddEntriesFrom(ref input, _repeated_propertyDefinitionNames_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
propertyDefinitionTypes_.AddEntriesFrom(ref input, _repeated_propertyDefinitionTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyInstances);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
propertyInstanceDefinitions_.AddEntriesFrom(ref input, _repeated_propertyInstanceDefinitions_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
propertyInstanceMemoryKinds_.AddEntriesFrom(ref input, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
propertyInstanceStoredHomeValues_.AddEntriesFrom(ref input, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
propertyInstancesByObject_.AddEntriesFrom(ref input, _repeated_propertyInstancesByObject_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
propertyInstanceEventIds_.AddEntriesFrom(ref input, _repeated_propertyInstanceEventIds_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
propertyInstanceDisplayMetadata_.AddEntriesFrom(ref input, _repeated_propertyInstanceDisplayMetadata_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
234
CustomPropertyInstanceSetData.cs
Normal file
234
CustomPropertyInstanceSetData.cs
Normal file
@@ -0,0 +1,234 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/custom_property_instance_set_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/custom_property_instance_set_data.proto</summary>
|
||||
public static partial class CustomPropertyInstanceSetDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/custom_property_instance_set_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CustomPropertyInstanceSetDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjNjaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydHlfaW5zdGFuY2Vfc2V0X2Rh",
|
||||
"dGEucHJvdG8SC2NpcmN1aXRzX3YyIjsKHUN1c3RvbVByb3BlcnR5SW5zdGFu",
|
||||
"Y2VTZXREYXRhEhoKEnByb3BlcnR5X2luc3RhbmNlcxgBIAMoBUIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData), global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData.Parser, new[]{ "PropertyInstances" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CustomPropertyInstanceSetData : pb::IMessage<CustomPropertyInstanceSetData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CustomPropertyInstanceSetData> _parser = new pb::MessageParser<CustomPropertyInstanceSetData>(() => new CustomPropertyInstanceSetData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CustomPropertyInstanceSetData> 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.CustomPropertyInstanceSetDataReflection.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 CustomPropertyInstanceSetData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyInstanceSetData(CustomPropertyInstanceSetData other) : this() {
|
||||
propertyInstances_ = other.propertyInstances_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyInstanceSetData Clone() {
|
||||
return new CustomPropertyInstanceSetData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instances" field.</summary>
|
||||
public const int PropertyInstancesFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<int> _repeated_propertyInstances_codec
|
||||
= pb::FieldCodec.ForInt32(10);
|
||||
private readonly pbc::RepeatedField<int> propertyInstances_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> PropertyInstances {
|
||||
get { return propertyInstances_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CustomPropertyInstanceSetData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CustomPropertyInstanceSetData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!propertyInstances_.Equals(other.propertyInstances_)) 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;
|
||||
hash ^= propertyInstances_.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
|
||||
propertyInstances_.WriteTo(output, _repeated_propertyInstances_codec);
|
||||
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) {
|
||||
propertyInstances_.WriteTo(ref output, _repeated_propertyInstances_codec);
|
||||
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;
|
||||
size += propertyInstances_.CalculateSize(_repeated_propertyInstances_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CustomPropertyInstanceSetData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
propertyInstances_.Add(other.propertyInstances_);
|
||||
_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:
|
||||
case 8: {
|
||||
propertyInstances_.AddEntriesFrom(input, _repeated_propertyInstances_codec);
|
||||
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:
|
||||
case 8: {
|
||||
propertyInstances_.AddEntriesFrom(ref input, _repeated_propertyInstances_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
253
CustomPropertyNodeData.cs
Normal file
253
CustomPropertyNodeData.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/custom_property_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/custom_property_node_data.proto</summary>
|
||||
public static partial class CustomPropertyNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/custom_property_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CustomPropertyNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CitjaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydHlfbm9kZV9kYXRhLnByb3Rv",
|
||||
"EgtjaXJjdWl0c192MhogY2lyY3VpdHNfdjIvbm9kZV9kZXNjX2RhdGEucHJv",
|
||||
"dG8iRgoWQ3VzdG9tUHJvcGVydHlOb2RlRGF0YRIsCglub2RlX2Rlc2MYASAB",
|
||||
"KAsyGS5jaXJjdWl0c192Mi5Ob2RlRGVzY0RhdGFCFqoCE0NpcmN1aXRzVjIu",
|
||||
"UHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.NodeDescDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CustomPropertyNodeData), global::CircuitsV2.Protobuf.CustomPropertyNodeData.Parser, new[]{ "NodeDesc" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CustomPropertyNodeData : pb::IMessage<CustomPropertyNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CustomPropertyNodeData> _parser = new pb::MessageParser<CustomPropertyNodeData>(() => new CustomPropertyNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CustomPropertyNodeData> 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.CustomPropertyNodeDataReflection.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 CustomPropertyNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyNodeData(CustomPropertyNodeData other) : this() {
|
||||
nodeDesc_ = other.nodeDesc_ != null ? other.nodeDesc_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyNodeData Clone() {
|
||||
return new CustomPropertyNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_desc" field.</summary>
|
||||
public const int NodeDescFieldNumber = 1;
|
||||
private global::CircuitsV2.Protobuf.NodeDescData nodeDesc_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.NodeDescData NodeDesc {
|
||||
get { return nodeDesc_; }
|
||||
set {
|
||||
nodeDesc_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CustomPropertyNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CustomPropertyNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(NodeDesc, other.NodeDesc)) 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 (nodeDesc_ != null) hash ^= NodeDesc.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 (nodeDesc_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(NodeDesc);
|
||||
}
|
||||
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 (nodeDesc_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(NodeDesc);
|
||||
}
|
||||
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 (nodeDesc_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NodeDesc);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CustomPropertyNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.nodeDesc_ != null) {
|
||||
if (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
NodeDesc.MergeFrom(other.NodeDesc);
|
||||
}
|
||||
_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 (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
input.ReadMessage(NodeDesc);
|
||||
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 (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
input.ReadMessage(NodeDesc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
280
CustomPropertyNodeInstData.cs
Normal file
280
CustomPropertyNodeInstData.cs
Normal file
@@ -0,0 +1,280 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/custom_property_node_inst_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/custom_property_node_inst_data.proto</summary>
|
||||
public static partial class CustomPropertyNodeInstDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/custom_property_node_inst_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CustomPropertyNodeInstDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjBjaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydHlfbm9kZV9pbnN0X2RhdGEu",
|
||||
"cHJvdG8SC2NpcmN1aXRzX3YyIlIKGkN1c3RvbVByb3BlcnR5Tm9kZUluc3RE",
|
||||
"YXRhEhcKD3Byb3BlcnR5X2RlZl9pZBgBIAEoBRIbChNoYXNfcHJvcGVydHlf",
|
||||
"ZGVmX2lkGAIgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CustomPropertyNodeInstData), global::CircuitsV2.Protobuf.CustomPropertyNodeInstData.Parser, new[]{ "PropertyDefId", "HasPropertyDefId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CustomPropertyNodeInstData : pb::IMessage<CustomPropertyNodeInstData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CustomPropertyNodeInstData> _parser = new pb::MessageParser<CustomPropertyNodeInstData>(() => new CustomPropertyNodeInstData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CustomPropertyNodeInstData> 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.CustomPropertyNodeInstDataReflection.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 CustomPropertyNodeInstData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyNodeInstData(CustomPropertyNodeInstData other) : this() {
|
||||
propertyDefId_ = other.propertyDefId_;
|
||||
hasPropertyDefId_ = other.hasPropertyDefId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertyNodeInstData Clone() {
|
||||
return new CustomPropertyNodeInstData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_def_id" field.</summary>
|
||||
public const int PropertyDefIdFieldNumber = 1;
|
||||
private int propertyDefId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int PropertyDefId {
|
||||
get { return propertyDefId_; }
|
||||
set {
|
||||
propertyDefId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "has_property_def_id" field.</summary>
|
||||
public const int HasPropertyDefIdFieldNumber = 2;
|
||||
private bool hasPropertyDefId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool HasPropertyDefId {
|
||||
get { return hasPropertyDefId_; }
|
||||
set {
|
||||
hasPropertyDefId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CustomPropertyNodeInstData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CustomPropertyNodeInstData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PropertyDefId != other.PropertyDefId) return false;
|
||||
if (HasPropertyDefId != other.HasPropertyDefId) 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 (PropertyDefId != 0) hash ^= PropertyDefId.GetHashCode();
|
||||
if (HasPropertyDefId != false) hash ^= HasPropertyDefId.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 (PropertyDefId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(PropertyDefId);
|
||||
}
|
||||
if (HasPropertyDefId != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(HasPropertyDefId);
|
||||
}
|
||||
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 (PropertyDefId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(PropertyDefId);
|
||||
}
|
||||
if (HasPropertyDefId != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(HasPropertyDefId);
|
||||
}
|
||||
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 (PropertyDefId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropertyDefId);
|
||||
}
|
||||
if (HasPropertyDefId != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CustomPropertyNodeInstData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PropertyDefId != 0) {
|
||||
PropertyDefId = other.PropertyDefId;
|
||||
}
|
||||
if (other.HasPropertyDefId != false) {
|
||||
HasPropertyDefId = other.HasPropertyDefId;
|
||||
}
|
||||
_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: {
|
||||
PropertyDefId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
HasPropertyDefId = input.ReadBool();
|
||||
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: {
|
||||
PropertyDefId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
HasPropertyDefId = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
310
DEPRECATEDCircuitEventDefinitionData.cs
Normal file
310
DEPRECATEDCircuitEventDefinitionData.cs
Normal file
@@ -0,0 +1,310 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_event_definition_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_definition_data.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitEventDefinitionDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_event_definition_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitEventDefinitionDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkVjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9l",
|
||||
"dmVudF9kZWZpbml0aW9uX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyGkNjaXJj",
|
||||
"dWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9ldmVudF9w",
|
||||
"cm9wZXJ0eV9kYXRhLnByb3RvIpUBCiVERVBSRUNBVEVEX0NpcmN1aXRFdmVu",
|
||||
"dERlZmluaXRpb25EYXRhEhAKCGV2ZW50X2lkGAEgASgMEhIKCmV2ZW50X25h",
|
||||
"bWUYAiABKAkSRgoQZXZlbnRfcHJvcGVydGllcxgEIAMoCzIsLmNpcmN1aXRz",
|
||||
"X3YyLkRFUFJFQ0FURURfQ2lyY3VpdEV2ZW50UHJvcGVydHlCFqoCE0NpcmN1",
|
||||
"aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDCircuitEventPropertyDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData), global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData.Parser, new[]{ "EventId", "EventName", "EventProperties" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class DEPRECATED_CircuitEventDefinitionData : pb::IMessage<DEPRECATED_CircuitEventDefinitionData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<DEPRECATED_CircuitEventDefinitionData> _parser = new pb::MessageParser<DEPRECATED_CircuitEventDefinitionData>(() => new DEPRECATED_CircuitEventDefinitionData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<DEPRECATED_CircuitEventDefinitionData> 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.DEPRECATEDCircuitEventDefinitionDataReflection.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_CircuitEventDefinitionData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventDefinitionData(DEPRECATED_CircuitEventDefinitionData other) : this() {
|
||||
eventId_ = other.eventId_;
|
||||
eventName_ = other.eventName_;
|
||||
eventProperties_ = other.eventProperties_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventDefinitionData Clone() {
|
||||
return new DEPRECATED_CircuitEventDefinitionData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_id" field.</summary>
|
||||
public const int EventIdFieldNumber = 1;
|
||||
private pb::ByteString eventId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString EventId {
|
||||
get { return eventId_; }
|
||||
set {
|
||||
eventId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_name" field.</summary>
|
||||
public const int EventNameFieldNumber = 2;
|
||||
private string eventName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string EventName {
|
||||
get { return eventName_; }
|
||||
set {
|
||||
eventName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_properties" field.</summary>
|
||||
public const int EventPropertiesFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> _repeated_eventProperties_codec
|
||||
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> eventProperties_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> EventProperties {
|
||||
get { return eventProperties_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as DEPRECATED_CircuitEventDefinitionData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(DEPRECATED_CircuitEventDefinitionData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (EventId != other.EventId) return false;
|
||||
if (EventName != other.EventName) return false;
|
||||
if(!eventProperties_.Equals(other.eventProperties_)) 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 (EventId.Length != 0) hash ^= EventId.GetHashCode();
|
||||
if (EventName.Length != 0) hash ^= EventName.GetHashCode();
|
||||
hash ^= eventProperties_.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 (EventId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(EventName);
|
||||
}
|
||||
eventProperties_.WriteTo(output, _repeated_eventProperties_codec);
|
||||
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 (EventId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(EventName);
|
||||
}
|
||||
eventProperties_.WriteTo(ref output, _repeated_eventProperties_codec);
|
||||
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 (EventId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(EventName);
|
||||
}
|
||||
size += eventProperties_.CalculateSize(_repeated_eventProperties_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(DEPRECATED_CircuitEventDefinitionData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.EventId.Length != 0) {
|
||||
EventId = other.EventId;
|
||||
}
|
||||
if (other.EventName.Length != 0) {
|
||||
EventName = other.EventName;
|
||||
}
|
||||
eventProperties_.Add(other.eventProperties_);
|
||||
_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: {
|
||||
EventId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
EventName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
eventProperties_.AddEntriesFrom(input, _repeated_eventProperties_codec);
|
||||
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: {
|
||||
EventId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
EventName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
eventProperties_.AddEntriesFrom(ref input, _repeated_eventProperties_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
352
DEPRECATEDCircuitEventObjectData.cs
Normal file
352
DEPRECATEDCircuitEventObjectData.cs
Normal file
@@ -0,0 +1,352 @@
|
||||
// <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
|
||||
340
DEPRECATEDCircuitEventPropertyData.cs
Normal file
340
DEPRECATEDCircuitEventPropertyData.cs
Normal file
@@ -0,0 +1,340 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_event_property_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_property_data.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitEventPropertyDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_event_property_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitEventPropertyDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkNjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9l",
|
||||
"dmVudF9wcm9wZXJ0eV9kYXRhLnByb3RvEgtjaXJjdWl0c192MhoqY2lyY3Vp",
|
||||
"dHMvc3RhdGljL2V2L2NpcmN1aXRfdHlwZV9kYXRhLnByb3RvGjljaXJjdWl0",
|
||||
"c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF90eXBlX2RhdGEu",
|
||||
"cHJvdG8itQEKH0RFUFJFQ0FURURfQ2lyY3VpdEV2ZW50UHJvcGVydHkSFQoN",
|
||||
"cHJvcGVydHlfbmFtZRgBIAEoCRIwCg1wcm9wZXJ0eV90eXBlGAMgASgLMhku",
|
||||
"Y2lyY3VpdHMuQ2lyY3VpdFR5cGVEYXRhEkkKGERFUFJFQ0FURURfcHJvcGVy",
|
||||
"dHlfdHlwZRgCIAEoCzInLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3Vp",
|
||||
"dFR5cGVEYXRhQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitTypeDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty), global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty.Parser, new[]{ "PropertyName", "PropertyType", "DEPRECATEDPropertyType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class DEPRECATED_CircuitEventProperty : pb::IMessage<DEPRECATED_CircuitEventProperty>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<DEPRECATED_CircuitEventProperty> _parser = new pb::MessageParser<DEPRECATED_CircuitEventProperty>(() => new DEPRECATED_CircuitEventProperty());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<DEPRECATED_CircuitEventProperty> 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.DEPRECATEDCircuitEventPropertyDataReflection.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_CircuitEventProperty() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventProperty(DEPRECATED_CircuitEventProperty other) : this() {
|
||||
propertyName_ = other.propertyName_;
|
||||
propertyType_ = other.propertyType_ != null ? other.propertyType_.Clone() : null;
|
||||
dEPRECATEDPropertyType_ = other.dEPRECATEDPropertyType_ != null ? other.dEPRECATEDPropertyType_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventProperty Clone() {
|
||||
return new DEPRECATED_CircuitEventProperty(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_name" field.</summary>
|
||||
public const int PropertyNameFieldNumber = 1;
|
||||
private string propertyName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string PropertyName {
|
||||
get { return propertyName_; }
|
||||
set {
|
||||
propertyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_type" field.</summary>
|
||||
public const int PropertyTypeFieldNumber = 3;
|
||||
private global::Circuits.Static.EV.Protobuf.CircuitTypeData propertyType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.EV.Protobuf.CircuitTypeData PropertyType {
|
||||
get { return propertyType_; }
|
||||
set {
|
||||
propertyType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_property_type" field.</summary>
|
||||
public const int DEPRECATEDPropertyTypeFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData dEPRECATEDPropertyType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData DEPRECATEDPropertyType {
|
||||
get { return dEPRECATEDPropertyType_; }
|
||||
set {
|
||||
dEPRECATEDPropertyType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as DEPRECATED_CircuitEventProperty);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(DEPRECATED_CircuitEventProperty other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PropertyName != other.PropertyName) return false;
|
||||
if (!object.Equals(PropertyType, other.PropertyType)) return false;
|
||||
if (!object.Equals(DEPRECATEDPropertyType, other.DEPRECATEDPropertyType)) 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 (PropertyName.Length != 0) hash ^= PropertyName.GetHashCode();
|
||||
if (propertyType_ != null) hash ^= PropertyType.GetHashCode();
|
||||
if (dEPRECATEDPropertyType_ != null) hash ^= DEPRECATEDPropertyType.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 (PropertyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(PropertyName);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(PropertyType);
|
||||
}
|
||||
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 (PropertyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(PropertyName);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(PropertyType);
|
||||
}
|
||||
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 (PropertyName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PropertyName);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyType);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(DEPRECATED_CircuitEventProperty other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PropertyName.Length != 0) {
|
||||
PropertyName = other.PropertyName;
|
||||
}
|
||||
if (other.propertyType_ != null) {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
PropertyType.MergeFrom(other.PropertyType);
|
||||
}
|
||||
if (other.dEPRECATEDPropertyType_ != null) {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
DEPRECATEDPropertyType.MergeFrom(other.DEPRECATEDPropertyType);
|
||||
}
|
||||
_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: {
|
||||
PropertyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPropertyType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(PropertyType);
|
||||
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: {
|
||||
PropertyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPropertyType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(PropertyType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
59
DEPRECATEDCircuitGraphKind.cs
Normal file
59
DEPRECATEDCircuitGraphKind.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_graph_kind.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_graph_kind.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitGraphKindReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_graph_kind.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitGraphKindReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjpjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9n",
|
||||
"cmFwaF9raW5kLnByb3RvEgtjaXJjdWl0c192Miq+AQobREVQUkVDQVRFRF9D",
|
||||
"aXJjdWl0R3JhcGhLaW5kEgoKBkdsb2JhbBAAEhAKDENpcmN1aXRCb2FyZBAB",
|
||||
"EhAKDENvbnRyb2xQYW5lbBACEgsKB1ByZXZpZXcQAxIUChBQbGF5ZXJEZWZp",
|
||||
"bml0aW9uEAQSEwoPUGxheWVyUmVmZXJlbmNlEAUSEAoMU3RhdGVNYWNoaW5l",
|
||||
"EAYSCQoFU3RhdGUQBxIPCgtGdW5jdGlvbkRlZhAIEgkKBUNvdW50EAlCFqoC",
|
||||
"E0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitGraphKind), }, null, null));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum DEPRECATED_CircuitGraphKind {
|
||||
[pbr::OriginalName("Global")] Global = 0,
|
||||
[pbr::OriginalName("CircuitBoard")] CircuitBoard = 1,
|
||||
[pbr::OriginalName("ControlPanel")] ControlPanel = 2,
|
||||
[pbr::OriginalName("Preview")] Preview = 3,
|
||||
[pbr::OriginalName("PlayerDefinition")] PlayerDefinition = 4,
|
||||
[pbr::OriginalName("PlayerReference")] PlayerReference = 5,
|
||||
[pbr::OriginalName("StateMachine")] StateMachine = 6,
|
||||
[pbr::OriginalName("State")] State = 7,
|
||||
[pbr::OriginalName("FunctionDef")] FunctionDef = 8,
|
||||
[pbr::OriginalName("Count")] Count = 9,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
48
DEPRECATEDCircuitSerializationVersion.cs
Normal file
48
DEPRECATEDCircuitSerializationVersion.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_serialization_version.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_serialization_version.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitSerializationVersionReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_serialization_version.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitSerializationVersionReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkVjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9z",
|
||||
"ZXJpYWxpemF0aW9uX3ZlcnNpb24ucHJvdG8SC2NpcmN1aXRzX3YyKkcKJkRF",
|
||||
"UFJFQ0FURURfQ2lyY3VpdFNlcmlhbGl6YXRpb25WZXJzaW9uEh0KGURFUFJF",
|
||||
"Q0FURURfSW5pdGlhbFZlcnNpb24QAEIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1",
|
||||
"ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitSerializationVersion), }, null, null));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum DEPRECATED_CircuitSerializationVersion {
|
||||
[pbr::OriginalName("DEPRECATED_InitialVersion")] DeprecatedInitialVersion = 0,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
4486
DEPRECATEDCircuitTypeData.cs
Normal file
4486
DEPRECATEDCircuitTypeData.cs
Normal file
File diff suppressed because it is too large
Load Diff
51
DEPRECATEDCloudDataLedgerVersion.cs
Normal file
51
DEPRECATEDCloudDataLedgerVersion.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_cloud_data_ledger_version.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_cloud_data_ledger_version.proto</summary>
|
||||
public static partial class DEPRECATEDCloudDataLedgerVersionReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_cloud_data_ledger_version.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCloudDataLedgerVersionReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkFjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2xvdWRfZGF0",
|
||||
"YV9sZWRnZXJfdmVyc2lvbi5wcm90bxILY2lyY3VpdHNfdjIqgAEKIURFUFJF",
|
||||
"Q0FURURfQ2xvdWREYXRhTGVkZ2VyVmVyc2lvbhIfChtWME5ld0Nsb3VkRGF0",
|
||||
"YUxlZGdlclZlcnNpb24QABIUChBWMVR5cGVzSW5FbnRyaWVzEAESIAocTGF0",
|
||||
"ZXN0Q2xvdWREYXRhTGVkZ2VyVmVyc2lvbhABGgIQAUIWqgITQ2lyY3VpdHNW",
|
||||
"Mi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.DEPRECATED_CloudDataLedgerVersion), }, null, null));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum DEPRECATED_CloudDataLedgerVersion {
|
||||
[pbr::OriginalName("V0NewCloudDataLedgerVersion")] V0NewCloudDataLedgerVersion = 0,
|
||||
[pbr::OriginalName("V1TypesInEntries")] V1TypesInEntries = 1,
|
||||
[pbr::OriginalName("LatestCloudDataLedgerVersion", PreferredAlias = false)] LatestCloudDataLedgerVersion = 1,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user