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

468
TextLabelData.cs Normal file
View File

@@ -0,0 +1,468 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/text_label_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/text_label_data.proto</summary>
public static partial class TextLabelDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/text_label_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TextLabelDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CipyZWNfcm9vbS9wZXJzaXN0ZW5jZS90ZXh0X2xhYmVsX2RhdGEucHJvdG8S",
"CHJlY19yb29tIrwBCg1UZXh0TGFiZWxEYXRhEhwKFGhvcml6b250YWxfYWxp",
"Z25tZW50GAEgASgFEhkKEWNoYXJhY3Rlcl9zcGFjaW5nGAIgASgFEhQKDGxp",
"bmVfc3BhY2luZxgDIAEoBRIZChFwYXJhZ3JhcGhfc3BhY2luZxgEIAEoBRIW",
"Cg50ZXh0X3RoaWNrbmVzcxgFIAEoAhIRCgliaWxsYm9hcmQYBiABKAgSFgoO",
"YmlsbGJvYXJkUGl0Y2gYByABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TextLabelData), global::RecRoom.Protobuf.TextLabelData.Parser, new[]{ "HorizontalAlignment", "CharacterSpacing", "LineSpacing", "ParagraphSpacing", "TextThickness", "Billboard", "BillboardPitch" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TextLabelData : pb::IMessage<TextLabelData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TextLabelData> _parser = new pb::MessageParser<TextLabelData>(() => new TextLabelData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TextLabelData> 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.TextLabelDataReflection.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 TextLabelData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TextLabelData(TextLabelData other) : this() {
horizontalAlignment_ = other.horizontalAlignment_;
characterSpacing_ = other.characterSpacing_;
lineSpacing_ = other.lineSpacing_;
paragraphSpacing_ = other.paragraphSpacing_;
textThickness_ = other.textThickness_;
billboard_ = other.billboard_;
billboardPitch_ = other.billboardPitch_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TextLabelData Clone() {
return new TextLabelData(this);
}
/// <summary>Field number for the "horizontal_alignment" field.</summary>
public const int HorizontalAlignmentFieldNumber = 1;
private int horizontalAlignment_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int HorizontalAlignment {
get { return horizontalAlignment_; }
set {
horizontalAlignment_ = value;
}
}
/// <summary>Field number for the "character_spacing" field.</summary>
public const int CharacterSpacingFieldNumber = 2;
private int characterSpacing_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CharacterSpacing {
get { return characterSpacing_; }
set {
characterSpacing_ = value;
}
}
/// <summary>Field number for the "line_spacing" field.</summary>
public const int LineSpacingFieldNumber = 3;
private int lineSpacing_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LineSpacing {
get { return lineSpacing_; }
set {
lineSpacing_ = value;
}
}
/// <summary>Field number for the "paragraph_spacing" field.</summary>
public const int ParagraphSpacingFieldNumber = 4;
private int paragraphSpacing_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ParagraphSpacing {
get { return paragraphSpacing_; }
set {
paragraphSpacing_ = value;
}
}
/// <summary>Field number for the "text_thickness" field.</summary>
public const int TextThicknessFieldNumber = 5;
private float textThickness_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float TextThickness {
get { return textThickness_; }
set {
textThickness_ = value;
}
}
/// <summary>Field number for the "billboard" field.</summary>
public const int BillboardFieldNumber = 6;
private bool billboard_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Billboard {
get { return billboard_; }
set {
billboard_ = value;
}
}
/// <summary>Field number for the "billboardPitch" field.</summary>
public const int BillboardPitchFieldNumber = 7;
private bool billboardPitch_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool BillboardPitch {
get { return billboardPitch_; }
set {
billboardPitch_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TextLabelData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TextLabelData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (HorizontalAlignment != other.HorizontalAlignment) return false;
if (CharacterSpacing != other.CharacterSpacing) return false;
if (LineSpacing != other.LineSpacing) return false;
if (ParagraphSpacing != other.ParagraphSpacing) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TextThickness, other.TextThickness)) return false;
if (Billboard != other.Billboard) return false;
if (BillboardPitch != other.BillboardPitch) 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 (HorizontalAlignment != 0) hash ^= HorizontalAlignment.GetHashCode();
if (CharacterSpacing != 0) hash ^= CharacterSpacing.GetHashCode();
if (LineSpacing != 0) hash ^= LineSpacing.GetHashCode();
if (ParagraphSpacing != 0) hash ^= ParagraphSpacing.GetHashCode();
if (TextThickness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TextThickness);
if (Billboard != false) hash ^= Billboard.GetHashCode();
if (BillboardPitch != false) hash ^= BillboardPitch.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 (HorizontalAlignment != 0) {
output.WriteRawTag(8);
output.WriteInt32(HorizontalAlignment);
}
if (CharacterSpacing != 0) {
output.WriteRawTag(16);
output.WriteInt32(CharacterSpacing);
}
if (LineSpacing != 0) {
output.WriteRawTag(24);
output.WriteInt32(LineSpacing);
}
if (ParagraphSpacing != 0) {
output.WriteRawTag(32);
output.WriteInt32(ParagraphSpacing);
}
if (TextThickness != 0F) {
output.WriteRawTag(45);
output.WriteFloat(TextThickness);
}
if (Billboard != false) {
output.WriteRawTag(48);
output.WriteBool(Billboard);
}
if (BillboardPitch != false) {
output.WriteRawTag(56);
output.WriteBool(BillboardPitch);
}
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 (HorizontalAlignment != 0) {
output.WriteRawTag(8);
output.WriteInt32(HorizontalAlignment);
}
if (CharacterSpacing != 0) {
output.WriteRawTag(16);
output.WriteInt32(CharacterSpacing);
}
if (LineSpacing != 0) {
output.WriteRawTag(24);
output.WriteInt32(LineSpacing);
}
if (ParagraphSpacing != 0) {
output.WriteRawTag(32);
output.WriteInt32(ParagraphSpacing);
}
if (TextThickness != 0F) {
output.WriteRawTag(45);
output.WriteFloat(TextThickness);
}
if (Billboard != false) {
output.WriteRawTag(48);
output.WriteBool(Billboard);
}
if (BillboardPitch != false) {
output.WriteRawTag(56);
output.WriteBool(BillboardPitch);
}
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 (HorizontalAlignment != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorizontalAlignment);
}
if (CharacterSpacing != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterSpacing);
}
if (LineSpacing != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineSpacing);
}
if (ParagraphSpacing != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParagraphSpacing);
}
if (TextThickness != 0F) {
size += 1 + 4;
}
if (Billboard != false) {
size += 1 + 1;
}
if (BillboardPitch != 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(TextLabelData other) {
if (other == null) {
return;
}
if (other.HorizontalAlignment != 0) {
HorizontalAlignment = other.HorizontalAlignment;
}
if (other.CharacterSpacing != 0) {
CharacterSpacing = other.CharacterSpacing;
}
if (other.LineSpacing != 0) {
LineSpacing = other.LineSpacing;
}
if (other.ParagraphSpacing != 0) {
ParagraphSpacing = other.ParagraphSpacing;
}
if (other.TextThickness != 0F) {
TextThickness = other.TextThickness;
}
if (other.Billboard != false) {
Billboard = other.Billboard;
}
if (other.BillboardPitch != false) {
BillboardPitch = other.BillboardPitch;
}
_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: {
HorizontalAlignment = input.ReadInt32();
break;
}
case 16: {
CharacterSpacing = input.ReadInt32();
break;
}
case 24: {
LineSpacing = input.ReadInt32();
break;
}
case 32: {
ParagraphSpacing = input.ReadInt32();
break;
}
case 45: {
TextThickness = input.ReadFloat();
break;
}
case 48: {
Billboard = input.ReadBool();
break;
}
case 56: {
BillboardPitch = 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: {
HorizontalAlignment = input.ReadInt32();
break;
}
case 16: {
CharacterSpacing = input.ReadInt32();
break;
}
case 24: {
LineSpacing = input.ReadInt32();
break;
}
case 32: {
ParagraphSpacing = input.ReadInt32();
break;
}
case 45: {
TextThickness = input.ReadFloat();
break;
}
case 48: {
Billboard = input.ReadBool();
break;
}
case 56: {
BillboardPitch = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code