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

465
SwingHandleData.cs Normal file
View File

@@ -0,0 +1,465 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/swing_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/swing_handle_data.proto</summary>
public static partial class SwingHandleDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/swing_handle_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SwingHandleDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CixyZWNfcm9vbS9wZXJzaXN0ZW5jZS9zd2luZ19oYW5kbGVfZGF0YS5wcm90",
"bxIIcmVjX3Jvb20ikQQKD1N3aW5nSGFuZGxlRGF0YRJJChFzY3JlZW5zX2Fu",
"aW1hdGlvbhgBIAEoDjIuLnJlY19yb29tLlN3aW5nSGFuZGxlRGF0YS5Td2lu",
"Z0hhbmRsZUFuaW1hdGlvbhJOChdERVBSRUNBVEVEX3NjcmVlbnNfcG9zZRgC",
"IAEoDjItLnJlY19yb29tLlN3aW5nSGFuZGxlRGF0YS5Td2luZ0hhbmRsZUlk",
"bGVQb3NlEh8KF3N1cHBvcnRzX2NoYXJnZWRfYXR0YWNrGAMgASgIEiEKGXN1",
"cHBvcnRzX2NvbnRpbnVvdXNfc3dpbmcYBCABKAgSGgoSYWltX2Fzc2lzdF9l",
"bmFibGVkGAUgASgIEiAKGHZyX3N3aW5nX2RldGVjdGlvbl9zcGVlZBgGIAEo",
"AiK5AQoUU3dpbmdIYW5kbGVBbmltYXRpb24SDwoLUVVFU1RfU1dPUkQQABIN",
"CglQSVRDSEZPUksQARILCgdDVVRMQVNTEAISDgoKRlJZSU5HX1BBThADEgcK",
"A09BUhAEEgkKBVNUT09MEAUSCAoERklTSBAGEg0KCVBVU0hCUk9PTRAHEgoK",
"BlNIT1ZFTBAIEgsKB1BJQ0tBWEUQCRILCgdIQU5EQVhFEAoSEQoNUElDS0FY",
"RV9IRUFWWRALIiUKE1N3aW5nSGFuZGxlSWRsZVBvc2USDgoKREVQUkVDQVRF",
"RBAAQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SwingHandleData), global::RecRoom.Protobuf.SwingHandleData.Parser, new[]{ "ScreensAnimation", "DEPRECATEDScreensPose", "SupportsChargedAttack", "SupportsContinuousSwing", "AimAssistEnabled", "VrSwingDetectionSpeed" }, null, new[]{ typeof(global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation), typeof(global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose) }, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SwingHandleData : pb::IMessage<SwingHandleData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SwingHandleData> _parser = new pb::MessageParser<SwingHandleData>(() => new SwingHandleData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SwingHandleData> 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.SwingHandleDataReflection.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 SwingHandleData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SwingHandleData(SwingHandleData other) : this() {
screensAnimation_ = other.screensAnimation_;
dEPRECATEDScreensPose_ = other.dEPRECATEDScreensPose_;
supportsChargedAttack_ = other.supportsChargedAttack_;
supportsContinuousSwing_ = other.supportsContinuousSwing_;
aimAssistEnabled_ = other.aimAssistEnabled_;
vrSwingDetectionSpeed_ = other.vrSwingDetectionSpeed_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SwingHandleData Clone() {
return new SwingHandleData(this);
}
/// <summary>Field number for the "screens_animation" field.</summary>
public const int ScreensAnimationFieldNumber = 1;
private global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation screensAnimation_ = global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation ScreensAnimation {
get { return screensAnimation_; }
set {
screensAnimation_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_screens_pose" field.</summary>
public const int DEPRECATEDScreensPoseFieldNumber = 2;
private global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose dEPRECATEDScreensPose_ = global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose DEPRECATEDScreensPose {
get { return dEPRECATEDScreensPose_; }
set {
dEPRECATEDScreensPose_ = value;
}
}
/// <summary>Field number for the "supports_charged_attack" field.</summary>
public const int SupportsChargedAttackFieldNumber = 3;
private bool supportsChargedAttack_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SupportsChargedAttack {
get { return supportsChargedAttack_; }
set {
supportsChargedAttack_ = value;
}
}
/// <summary>Field number for the "supports_continuous_swing" field.</summary>
public const int SupportsContinuousSwingFieldNumber = 4;
private bool supportsContinuousSwing_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SupportsContinuousSwing {
get { return supportsContinuousSwing_; }
set {
supportsContinuousSwing_ = value;
}
}
/// <summary>Field number for the "aim_assist_enabled" field.</summary>
public const int AimAssistEnabledFieldNumber = 5;
private bool aimAssistEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AimAssistEnabled {
get { return aimAssistEnabled_; }
set {
aimAssistEnabled_ = value;
}
}
/// <summary>Field number for the "vr_swing_detection_speed" field.</summary>
public const int VrSwingDetectionSpeedFieldNumber = 6;
private float vrSwingDetectionSpeed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float VrSwingDetectionSpeed {
get { return vrSwingDetectionSpeed_; }
set {
vrSwingDetectionSpeed_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SwingHandleData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SwingHandleData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ScreensAnimation != other.ScreensAnimation) return false;
if (DEPRECATEDScreensPose != other.DEPRECATEDScreensPose) return false;
if (SupportsChargedAttack != other.SupportsChargedAttack) return false;
if (SupportsContinuousSwing != other.SupportsContinuousSwing) return false;
if (AimAssistEnabled != other.AimAssistEnabled) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VrSwingDetectionSpeed, other.VrSwingDetectionSpeed)) 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 (ScreensAnimation != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword) hash ^= ScreensAnimation.GetHashCode();
if (DEPRECATEDScreensPose != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated) hash ^= DEPRECATEDScreensPose.GetHashCode();
if (SupportsChargedAttack != false) hash ^= SupportsChargedAttack.GetHashCode();
if (SupportsContinuousSwing != false) hash ^= SupportsContinuousSwing.GetHashCode();
if (AimAssistEnabled != false) hash ^= AimAssistEnabled.GetHashCode();
if (VrSwingDetectionSpeed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VrSwingDetectionSpeed);
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 (ScreensAnimation != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword) {
output.WriteRawTag(8);
output.WriteEnum((int) ScreensAnimation);
}
if (DEPRECATEDScreensPose != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated) {
output.WriteRawTag(16);
output.WriteEnum((int) DEPRECATEDScreensPose);
}
if (SupportsChargedAttack != false) {
output.WriteRawTag(24);
output.WriteBool(SupportsChargedAttack);
}
if (SupportsContinuousSwing != false) {
output.WriteRawTag(32);
output.WriteBool(SupportsContinuousSwing);
}
if (AimAssistEnabled != false) {
output.WriteRawTag(40);
output.WriteBool(AimAssistEnabled);
}
if (VrSwingDetectionSpeed != 0F) {
output.WriteRawTag(53);
output.WriteFloat(VrSwingDetectionSpeed);
}
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 (ScreensAnimation != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword) {
output.WriteRawTag(8);
output.WriteEnum((int) ScreensAnimation);
}
if (DEPRECATEDScreensPose != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated) {
output.WriteRawTag(16);
output.WriteEnum((int) DEPRECATEDScreensPose);
}
if (SupportsChargedAttack != false) {
output.WriteRawTag(24);
output.WriteBool(SupportsChargedAttack);
}
if (SupportsContinuousSwing != false) {
output.WriteRawTag(32);
output.WriteBool(SupportsContinuousSwing);
}
if (AimAssistEnabled != false) {
output.WriteRawTag(40);
output.WriteBool(AimAssistEnabled);
}
if (VrSwingDetectionSpeed != 0F) {
output.WriteRawTag(53);
output.WriteFloat(VrSwingDetectionSpeed);
}
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 (ScreensAnimation != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScreensAnimation);
}
if (DEPRECATEDScreensPose != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DEPRECATEDScreensPose);
}
if (SupportsChargedAttack != false) {
size += 1 + 1;
}
if (SupportsContinuousSwing != false) {
size += 1 + 1;
}
if (AimAssistEnabled != false) {
size += 1 + 1;
}
if (VrSwingDetectionSpeed != 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(SwingHandleData other) {
if (other == null) {
return;
}
if (other.ScreensAnimation != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation.QuestSword) {
ScreensAnimation = other.ScreensAnimation;
}
if (other.DEPRECATEDScreensPose != global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose.Deprecated) {
DEPRECATEDScreensPose = other.DEPRECATEDScreensPose;
}
if (other.SupportsChargedAttack != false) {
SupportsChargedAttack = other.SupportsChargedAttack;
}
if (other.SupportsContinuousSwing != false) {
SupportsContinuousSwing = other.SupportsContinuousSwing;
}
if (other.AimAssistEnabled != false) {
AimAssistEnabled = other.AimAssistEnabled;
}
if (other.VrSwingDetectionSpeed != 0F) {
VrSwingDetectionSpeed = other.VrSwingDetectionSpeed;
}
_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: {
ScreensAnimation = (global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation) input.ReadEnum();
break;
}
case 16: {
DEPRECATEDScreensPose = (global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose) input.ReadEnum();
break;
}
case 24: {
SupportsChargedAttack = input.ReadBool();
break;
}
case 32: {
SupportsContinuousSwing = input.ReadBool();
break;
}
case 40: {
AimAssistEnabled = input.ReadBool();
break;
}
case 53: {
VrSwingDetectionSpeed = 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: {
ScreensAnimation = (global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleAnimation) input.ReadEnum();
break;
}
case 16: {
DEPRECATEDScreensPose = (global::RecRoom.Protobuf.SwingHandleData.Types.SwingHandleIdlePose) input.ReadEnum();
break;
}
case 24: {
SupportsChargedAttack = input.ReadBool();
break;
}
case 32: {
SupportsContinuousSwing = input.ReadBool();
break;
}
case 40: {
AimAssistEnabled = input.ReadBool();
break;
}
case 53: {
VrSwingDetectionSpeed = input.ReadFloat();
break;
}
}
}
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the SwingHandleData message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public enum SwingHandleAnimation {
[pbr::OriginalName("QUEST_SWORD")] QuestSword = 0,
[pbr::OriginalName("PITCHFORK")] Pitchfork = 1,
[pbr::OriginalName("CUTLASS")] Cutlass = 2,
[pbr::OriginalName("FRYING_PAN")] FryingPan = 3,
[pbr::OriginalName("OAR")] Oar = 4,
[pbr::OriginalName("STOOL")] Stool = 5,
[pbr::OriginalName("FISH")] Fish = 6,
[pbr::OriginalName("PUSHBROOM")] Pushbroom = 7,
[pbr::OriginalName("SHOVEL")] Shovel = 8,
[pbr::OriginalName("PICKAXE")] Pickaxe = 9,
[pbr::OriginalName("HANDAXE")] Handaxe = 10,
[pbr::OriginalName("PICKAXE_HEAVY")] PickaxeHeavy = 11,
}
public enum SwingHandleIdlePose {
[pbr::OriginalName("DEPRECATED")] Deprecated = 0,
}
}
#endregion
}
#endregion
}
#endregion Designer generated code