Protobuf...

This commit is contained in:
2026-05-10 13:39:01 -07:00
commit c1830ab510
421 changed files with 313428 additions and 0 deletions

288
EnvironmentData.cs Normal file
View File

@@ -0,0 +1,288 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/environment_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/environment_data.proto</summary>
public static partial class EnvironmentDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/environment_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EnvironmentDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJjaXJjdWl0c192Mi9lbnZpcm9ubWVudF9kYXRhLnByb3RvEgtjaXJjdWl0",
"c192MhooY2lyY3VpdHNfdjIvZW50aXR5X2RlZmluaXRpb25fZGF0YS5wcm90",
"bxodY2lyY3VpdHNfdjIvb3JwaGFuX2RhdGEucHJvdG8aFGNvcmUvZ3VpZF9k",
"YXRhLnByb3RvIpIBCg9FbnZpcm9ubWVudERhdGESMwoIZW50aXRpZXMYASAD",
"KAsyIS5jaXJjdWl0c192Mi5FbnRpdHlEZWZpbml0aW9uRGF0YRIoCgdvcnBo",
"YW5zGAIgAygLMhcuY2lyY3VpdHNfdjIuT3JwaGFuRGF0YRIgCghjb250ZXh0",
"cxgDIAMoCzIOLmNvcmUuR3VpZERhdGFCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
"dWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.EntityDefinitionDataReflection.Descriptor, global::CircuitsV2.Protobuf.OrphanDataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.EnvironmentData), global::CircuitsV2.Protobuf.EnvironmentData.Parser, new[]{ "Entities", "Orphans", "Contexts" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EnvironmentData : pb::IMessage<EnvironmentData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EnvironmentData> _parser = new pb::MessageParser<EnvironmentData>(() => new EnvironmentData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EnvironmentData> 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.EnvironmentDataReflection.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 EnvironmentData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EnvironmentData(EnvironmentData other) : this() {
entities_ = other.entities_.Clone();
orphans_ = other.orphans_.Clone();
contexts_ = other.contexts_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EnvironmentData Clone() {
return new EnvironmentData(this);
}
/// <summary>Field number for the "entities" field.</summary>
public const int EntitiesFieldNumber = 1;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.EntityDefinitionData> _repeated_entities_codec
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.EntityDefinitionData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.EntityDefinitionData> entities_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.EntityDefinitionData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.EntityDefinitionData> Entities {
get { return entities_; }
}
/// <summary>Field number for the "orphans" field.</summary>
public const int OrphansFieldNumber = 2;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.OrphanData> _repeated_orphans_codec
= pb::FieldCodec.ForMessage(18, global::CircuitsV2.Protobuf.OrphanData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.OrphanData> orphans_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.OrphanData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.OrphanData> Orphans {
get { return orphans_; }
}
/// <summary>Field number for the "contexts" field.</summary>
public const int ContextsFieldNumber = 3;
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_contexts_codec
= pb::FieldCodec.ForMessage(26, global::RecRoom.Protobuf.Core.GuidData.Parser);
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> contexts_ = 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> Contexts {
get { return contexts_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EnvironmentData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EnvironmentData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!entities_.Equals(other.entities_)) return false;
if(!orphans_.Equals(other.orphans_)) return false;
if(!contexts_.Equals(other.contexts_)) 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 ^= entities_.GetHashCode();
hash ^= orphans_.GetHashCode();
hash ^= contexts_.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
entities_.WriteTo(output, _repeated_entities_codec);
orphans_.WriteTo(output, _repeated_orphans_codec);
contexts_.WriteTo(output, _repeated_contexts_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) {
entities_.WriteTo(ref output, _repeated_entities_codec);
orphans_.WriteTo(ref output, _repeated_orphans_codec);
contexts_.WriteTo(ref output, _repeated_contexts_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 += entities_.CalculateSize(_repeated_entities_codec);
size += orphans_.CalculateSize(_repeated_orphans_codec);
size += contexts_.CalculateSize(_repeated_contexts_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(EnvironmentData other) {
if (other == null) {
return;
}
entities_.Add(other.entities_);
orphans_.Add(other.orphans_);
contexts_.Add(other.contexts_);
_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: {
entities_.AddEntriesFrom(input, _repeated_entities_codec);
break;
}
case 18: {
orphans_.AddEntriesFrom(input, _repeated_orphans_codec);
break;
}
case 26: {
contexts_.AddEntriesFrom(input, _repeated_contexts_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: {
entities_.AddEntriesFrom(ref input, _repeated_entities_codec);
break;
}
case 18: {
orphans_.AddEntriesFrom(ref input, _repeated_orphans_codec);
break;
}
case 26: {
contexts_.AddEntriesFrom(ref input, _repeated_contexts_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code