Files
RecRoom.Protobuf/ControlPanelCircuitObjectData.cs
2026-05-10 13:39:01 -07:00

415 lines
17 KiB
C#

// <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