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

393
StuntrunnerGameRuleData.cs Normal file
View File

@@ -0,0 +1,393 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/game_configuration/stuntrunner_game_rule_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/game_configuration/stuntrunner_game_rule_data.proto</summary>
public static partial class StuntrunnerGameRuleDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/game_configuration/stuntrunner_game_rule_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StuntrunnerGameRuleDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjxyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vc3R1bnRydW5uZXJfZ2Ft",
"ZV9ydWxlX2RhdGEucHJvdG8SCHJlY19yb29tIpoBChdTdHVudHJ1bm5lckdh",
"bWVSdWxlRGF0YRIVCg1tdXNpY19lbmFibGVkGAEgASgIEhkKEWFubm91bmNl",
"cl9lbmFibGVkGAIgASgIEhgKEGFtYmllbmNlX2VuYWJsZWQYAyABKAgSGgoS",
"c3BvdGxpZ2h0c19lbmFibGVkGAQgASgIEhcKD21heF9jb3Vyc2VfdGltZRgF",
"IAEoBUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.StuntrunnerGameRuleData), global::RecRoom.Protobuf.StuntrunnerGameRuleData.Parser, new[]{ "MusicEnabled", "AnnouncerEnabled", "AmbienceEnabled", "SpotlightsEnabled", "MaxCourseTime" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StuntrunnerGameRuleData : pb::IMessage<StuntrunnerGameRuleData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StuntrunnerGameRuleData> _parser = new pb::MessageParser<StuntrunnerGameRuleData>(() => new StuntrunnerGameRuleData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StuntrunnerGameRuleData> 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.StuntrunnerGameRuleDataReflection.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 StuntrunnerGameRuleData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StuntrunnerGameRuleData(StuntrunnerGameRuleData other) : this() {
musicEnabled_ = other.musicEnabled_;
announcerEnabled_ = other.announcerEnabled_;
ambienceEnabled_ = other.ambienceEnabled_;
spotlightsEnabled_ = other.spotlightsEnabled_;
maxCourseTime_ = other.maxCourseTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StuntrunnerGameRuleData Clone() {
return new StuntrunnerGameRuleData(this);
}
/// <summary>Field number for the "music_enabled" field.</summary>
public const int MusicEnabledFieldNumber = 1;
private bool musicEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool MusicEnabled {
get { return musicEnabled_; }
set {
musicEnabled_ = value;
}
}
/// <summary>Field number for the "announcer_enabled" field.</summary>
public const int AnnouncerEnabledFieldNumber = 2;
private bool announcerEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AnnouncerEnabled {
get { return announcerEnabled_; }
set {
announcerEnabled_ = value;
}
}
/// <summary>Field number for the "ambience_enabled" field.</summary>
public const int AmbienceEnabledFieldNumber = 3;
private bool ambienceEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AmbienceEnabled {
get { return ambienceEnabled_; }
set {
ambienceEnabled_ = value;
}
}
/// <summary>Field number for the "spotlights_enabled" field.</summary>
public const int SpotlightsEnabledFieldNumber = 4;
private bool spotlightsEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SpotlightsEnabled {
get { return spotlightsEnabled_; }
set {
spotlightsEnabled_ = value;
}
}
/// <summary>Field number for the "max_course_time" field.</summary>
public const int MaxCourseTimeFieldNumber = 5;
private int maxCourseTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MaxCourseTime {
get { return maxCourseTime_; }
set {
maxCourseTime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StuntrunnerGameRuleData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StuntrunnerGameRuleData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MusicEnabled != other.MusicEnabled) return false;
if (AnnouncerEnabled != other.AnnouncerEnabled) return false;
if (AmbienceEnabled != other.AmbienceEnabled) return false;
if (SpotlightsEnabled != other.SpotlightsEnabled) return false;
if (MaxCourseTime != other.MaxCourseTime) 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 (MusicEnabled != false) hash ^= MusicEnabled.GetHashCode();
if (AnnouncerEnabled != false) hash ^= AnnouncerEnabled.GetHashCode();
if (AmbienceEnabled != false) hash ^= AmbienceEnabled.GetHashCode();
if (SpotlightsEnabled != false) hash ^= SpotlightsEnabled.GetHashCode();
if (MaxCourseTime != 0) hash ^= MaxCourseTime.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 (MusicEnabled != false) {
output.WriteRawTag(8);
output.WriteBool(MusicEnabled);
}
if (AnnouncerEnabled != false) {
output.WriteRawTag(16);
output.WriteBool(AnnouncerEnabled);
}
if (AmbienceEnabled != false) {
output.WriteRawTag(24);
output.WriteBool(AmbienceEnabled);
}
if (SpotlightsEnabled != false) {
output.WriteRawTag(32);
output.WriteBool(SpotlightsEnabled);
}
if (MaxCourseTime != 0) {
output.WriteRawTag(40);
output.WriteInt32(MaxCourseTime);
}
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 (MusicEnabled != false) {
output.WriteRawTag(8);
output.WriteBool(MusicEnabled);
}
if (AnnouncerEnabled != false) {
output.WriteRawTag(16);
output.WriteBool(AnnouncerEnabled);
}
if (AmbienceEnabled != false) {
output.WriteRawTag(24);
output.WriteBool(AmbienceEnabled);
}
if (SpotlightsEnabled != false) {
output.WriteRawTag(32);
output.WriteBool(SpotlightsEnabled);
}
if (MaxCourseTime != 0) {
output.WriteRawTag(40);
output.WriteInt32(MaxCourseTime);
}
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 (MusicEnabled != false) {
size += 1 + 1;
}
if (AnnouncerEnabled != false) {
size += 1 + 1;
}
if (AmbienceEnabled != false) {
size += 1 + 1;
}
if (SpotlightsEnabled != false) {
size += 1 + 1;
}
if (MaxCourseTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxCourseTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StuntrunnerGameRuleData other) {
if (other == null) {
return;
}
if (other.MusicEnabled != false) {
MusicEnabled = other.MusicEnabled;
}
if (other.AnnouncerEnabled != false) {
AnnouncerEnabled = other.AnnouncerEnabled;
}
if (other.AmbienceEnabled != false) {
AmbienceEnabled = other.AmbienceEnabled;
}
if (other.SpotlightsEnabled != false) {
SpotlightsEnabled = other.SpotlightsEnabled;
}
if (other.MaxCourseTime != 0) {
MaxCourseTime = other.MaxCourseTime;
}
_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: {
MusicEnabled = input.ReadBool();
break;
}
case 16: {
AnnouncerEnabled = input.ReadBool();
break;
}
case 24: {
AmbienceEnabled = input.ReadBool();
break;
}
case 32: {
SpotlightsEnabled = input.ReadBool();
break;
}
case 40: {
MaxCourseTime = 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 8: {
MusicEnabled = input.ReadBool();
break;
}
case 16: {
AnnouncerEnabled = input.ReadBool();
break;
}
case 24: {
AmbienceEnabled = input.ReadBool();
break;
}
case 32: {
SpotlightsEnabled = input.ReadBool();
break;
}
case 40: {
MaxCourseTime = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code