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

564
NavmeshData.cs Normal file
View File

@@ -0,0 +1,564 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/navmesh_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/navmesh_data.proto</summary>
public static partial class NavmeshDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/navmesh_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NavmeshDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CidyZWNfcm9vbS9wZXJzaXN0ZW5jZS9uYXZtZXNoX2RhdGEucHJvdG8SCHJl",
"Y19yb29tImMKFU5hdk1lc2hTZXJpYWxpemVkRGF0YRIlCgZncmFwaHMYASAB",
"KAsyFS5yZWNfcm9vbS5OYXZNZXNoRGF0YRIRCgl1bmNoYW5nZWQYAiABKAgS",
"EAoIcmV2aXNpb24YAyABKAUiMAoLTmF2TWVzaERhdGESEwoLZ3JhcGhzX2Rh",
"dGEYASABKAwSDAoEaGFzaBgCIAEoBEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.NavMeshSerializedData), global::RecRoom.Protobuf.NavMeshSerializedData.Parser, new[]{ "Graphs", "Unchanged", "Revision" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.NavMeshData), global::RecRoom.Protobuf.NavMeshData.Parser, new[]{ "GraphsData", "Hash" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NavMeshSerializedData : pb::IMessage<NavMeshSerializedData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NavMeshSerializedData> _parser = new pb::MessageParser<NavMeshSerializedData>(() => new NavMeshSerializedData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NavMeshSerializedData> 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.NavmeshDataReflection.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 NavMeshSerializedData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NavMeshSerializedData(NavMeshSerializedData other) : this() {
graphs_ = other.graphs_ != null ? other.graphs_.Clone() : null;
unchanged_ = other.unchanged_;
revision_ = other.revision_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NavMeshSerializedData Clone() {
return new NavMeshSerializedData(this);
}
/// <summary>Field number for the "graphs" field.</summary>
public const int GraphsFieldNumber = 1;
private global::RecRoom.Protobuf.NavMeshData graphs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.NavMeshData Graphs {
get { return graphs_; }
set {
graphs_ = value;
}
}
/// <summary>Field number for the "unchanged" field.</summary>
public const int UnchangedFieldNumber = 2;
private bool unchanged_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Unchanged {
get { return unchanged_; }
set {
unchanged_ = value;
}
}
/// <summary>Field number for the "revision" field.</summary>
public const int RevisionFieldNumber = 3;
private int revision_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Revision {
get { return revision_; }
set {
revision_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as NavMeshSerializedData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(NavMeshSerializedData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Graphs, other.Graphs)) return false;
if (Unchanged != other.Unchanged) return false;
if (Revision != other.Revision) 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 (graphs_ != null) hash ^= Graphs.GetHashCode();
if (Unchanged != false) hash ^= Unchanged.GetHashCode();
if (Revision != 0) hash ^= Revision.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 (graphs_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Graphs);
}
if (Unchanged != false) {
output.WriteRawTag(16);
output.WriteBool(Unchanged);
}
if (Revision != 0) {
output.WriteRawTag(24);
output.WriteInt32(Revision);
}
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 (graphs_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Graphs);
}
if (Unchanged != false) {
output.WriteRawTag(16);
output.WriteBool(Unchanged);
}
if (Revision != 0) {
output.WriteRawTag(24);
output.WriteInt32(Revision);
}
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 (graphs_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Graphs);
}
if (Unchanged != false) {
size += 1 + 1;
}
if (Revision != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Revision);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(NavMeshSerializedData other) {
if (other == null) {
return;
}
if (other.graphs_ != null) {
if (graphs_ == null) {
Graphs = new global::RecRoom.Protobuf.NavMeshData();
}
Graphs.MergeFrom(other.Graphs);
}
if (other.Unchanged != false) {
Unchanged = other.Unchanged;
}
if (other.Revision != 0) {
Revision = other.Revision;
}
_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 (graphs_ == null) {
Graphs = new global::RecRoom.Protobuf.NavMeshData();
}
input.ReadMessage(Graphs);
break;
}
case 16: {
Unchanged = input.ReadBool();
break;
}
case 24: {
Revision = 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 (graphs_ == null) {
Graphs = new global::RecRoom.Protobuf.NavMeshData();
}
input.ReadMessage(Graphs);
break;
}
case 16: {
Unchanged = input.ReadBool();
break;
}
case 24: {
Revision = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NavMeshData : pb::IMessage<NavMeshData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NavMeshData> _parser = new pb::MessageParser<NavMeshData>(() => new NavMeshData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NavMeshData> 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.NavmeshDataReflection.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 NavMeshData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NavMeshData(NavMeshData other) : this() {
graphsData_ = other.graphsData_;
hash_ = other.hash_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NavMeshData Clone() {
return new NavMeshData(this);
}
/// <summary>Field number for the "graphs_data" field.</summary>
public const int GraphsDataFieldNumber = 1;
private pb::ByteString graphsData_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString GraphsData {
get { return graphsData_; }
set {
graphsData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "hash" field.</summary>
public const int HashFieldNumber = 2;
private ulong hash_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong Hash {
get { return hash_; }
set {
hash_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as NavMeshData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(NavMeshData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GraphsData != other.GraphsData) return false;
if (Hash != other.Hash) 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 (GraphsData.Length != 0) hash ^= GraphsData.GetHashCode();
if (Hash != 0UL) hash ^= Hash.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 (GraphsData.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(GraphsData);
}
if (Hash != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(Hash);
}
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 (GraphsData.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(GraphsData);
}
if (Hash != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(Hash);
}
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 (GraphsData.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(GraphsData);
}
if (Hash != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Hash);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(NavMeshData other) {
if (other == null) {
return;
}
if (other.GraphsData.Length != 0) {
GraphsData = other.GraphsData;
}
if (other.Hash != 0UL) {
Hash = other.Hash;
}
_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: {
GraphsData = input.ReadBytes();
break;
}
case 16: {
Hash = input.ReadUInt64();
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: {
GraphsData = input.ReadBytes();
break;
}
case 16: {
Hash = input.ReadUInt64();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code