Files
RecRoom.Protobuf/GameRuleWrapperData.cs
2026-05-10 13:39:01 -07:00

649 lines
30 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/game_configuration/game_rule_wrapper_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/game_rule_wrapper_data.proto</summary>
public static partial class GameRuleWrapperDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/game_configuration/game_rule_wrapper_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameRuleWrapperDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjhyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vZ2FtZV9ydWxlX3dyYXBw",
"ZXJfZGF0YS5wcm90bxIIcmVjX3Jvb20aRnJlY19yb29tL2dhbWVfY29uZmln",
"dXJhdGlvbi9jaGFyYWRlc19jb29wX2NsYXNzaWNfZ2FtZV9ydWxlX2RhdGEu",
"cHJvdG8aSHJlY19yb29tL2dhbWVfY29uZmlndXJhdGlvbi9jaGFyYWRlc190",
"ZWFtX2xpZ2h0bmluZ19nYW1lX3J1bGVfZGF0YS5wcm90bxo6cmVjX3Jvb20v",
"Z2FtZV9jb25maWd1cmF0aW9uL2RvZGdlYmFsbF9nYW1lX3J1bGVfZGF0YS5w",
"cm90bxo6cmVjX3Jvb20vZ2FtZV9jb25maWd1cmF0aW9uL2xhc2VyX3RhZ19n",
"YW1lX3J1bGVfZGF0YS5wcm90bxo7cmVjX3Jvb20vZ2FtZV9jb25maWd1cmF0",
"aW9uL3BhZGRsZWJhbGxfZ2FtZV9ydWxlX2RhdGEucHJvdG8aS3JlY19yb29t",
"L2dhbWVfY29uZmlndXJhdGlvbi9wYWludGJhbGxfY2FwdHVyZV90aGVfZmxh",
"Z19nYW1lX3J1bGVfZGF0YS5wcm90bxpGcmVjX3Jvb20vZ2FtZV9jb25maWd1",
"cmF0aW9uL3BhaW50YmFsbF90ZWFtX2JhdHRsZV9nYW1lX3J1bGVfZGF0YS5w",
"cm90bxo3cmVjX3Jvb20vZ2FtZV9jb25maWd1cmF0aW9uL3NvY2Nlcl9nYW1l",
"X3J1bGVfZGF0YS5wcm90bxo8cmVjX3Jvb20vZ2FtZV9jb25maWd1cmF0aW9u",
"L3N0dW50cnVubmVyX2dhbWVfcnVsZV9kYXRhLnByb3RvItQFChNHYW1lUnVs",
"ZVdyYXBwZXJEYXRhElcKJGNoYXJhZGVzX2Nvb3BfY2xhc3NpY19nYW1lX3J1",
"bGVfZGF0YRgBIAEoCzIpLnJlY19yb29tLkNoYXJhZGVzQ29PcENsYXNzaWNH",
"YW1lUnVsZURhdGESWwomY2hhcmFkZXNfdGVhbV9saWdodG5pbmdfZ2FtZV9y",
"dWxlX2RhdGEYAiABKAsyKy5yZWNfcm9vbS5DaGFyYWRlc1RlYW1MaWdodG5p",
"bmdHYW1lUnVsZURhdGESQQoYZG9kZ2ViYWxsX2dhbWVfcnVsZV9kYXRhGAMg",
"ASgLMh8ucmVjX3Jvb20uRG9kZ2ViYWxsR2FtZVJ1bGVEYXRhEkAKGGxhc2Vy",
"X3RhZ19nYW1lX3J1bGVfZGF0YRgEIAEoCzIeLnJlY19yb29tLkxhc2VyVGFn",
"R2FtZVJ1bGVEYXRhEkMKGXBhZGRsZWJhbGxfZ2FtZV9ydWxlX2RhdGEYBSAB",
"KAsyIC5yZWNfcm9vbS5QYWRkbGViYWxsR2FtZVJ1bGVEYXRhEmAKKXBhaW50",
"YmFsbF9jYXB0dXJlX3RoZV9mbGFnX2dhbWVfcnVsZV9kYXRhGAYgASgLMi0u",
"cmVjX3Jvb20uUGFpbnRiYWxsQ2FwdHVyZVRoZUZsYWdHYW1lUnVsZURhdGES",
"VwokcGFpbnRiYWxsX3RlYW1fYmF0dGxlX2dhbWVfcnVsZV9kYXRhGAcgASgL",
"MikucmVjX3Jvb20uUGFpbnRiYWxsVGVhbUJhdHRsZUdhbWVSdWxlRGF0YRI7",
"ChVzb2NjZXJfZ2FtZV9ydWxlX2RhdGEYCSABKAsyHC5yZWNfcm9vbS5Tb2Nj",
"ZXJHYW1lUnVsZURhdGESRQoac3R1bnRydW5uZXJfZ2FtZV9ydWxlX2RhdGEY",
"CiABKAsyIS5yZWNfcm9vbS5TdHVudHJ1bm5lckdhbWVSdWxlRGF0YUITqgIQ",
"UmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.CharadesCoopClassicGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.CharadesTeamLightningGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.DodgeballGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.LaserTagGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.PaddleballGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.PaintballTeamBattleGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.SoccerGameRuleDataReflection.Descriptor, global::RecRoom.Protobuf.StuntrunnerGameRuleDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameRuleWrapperData), global::RecRoom.Protobuf.GameRuleWrapperData.Parser, new[]{ "CharadesCoopClassicGameRuleData", "CharadesTeamLightningGameRuleData", "DodgeballGameRuleData", "LaserTagGameRuleData", "PaddleballGameRuleData", "PaintballCaptureTheFlagGameRuleData", "PaintballTeamBattleGameRuleData", "SoccerGameRuleData", "StuntrunnerGameRuleData" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GameRuleWrapperData : pb::IMessage<GameRuleWrapperData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GameRuleWrapperData> _parser = new pb::MessageParser<GameRuleWrapperData>(() => new GameRuleWrapperData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GameRuleWrapperData> 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.GameRuleWrapperDataReflection.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 GameRuleWrapperData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameRuleWrapperData(GameRuleWrapperData other) : this() {
charadesCoopClassicGameRuleData_ = other.charadesCoopClassicGameRuleData_ != null ? other.charadesCoopClassicGameRuleData_.Clone() : null;
charadesTeamLightningGameRuleData_ = other.charadesTeamLightningGameRuleData_ != null ? other.charadesTeamLightningGameRuleData_.Clone() : null;
dodgeballGameRuleData_ = other.dodgeballGameRuleData_ != null ? other.dodgeballGameRuleData_.Clone() : null;
laserTagGameRuleData_ = other.laserTagGameRuleData_ != null ? other.laserTagGameRuleData_.Clone() : null;
paddleballGameRuleData_ = other.paddleballGameRuleData_ != null ? other.paddleballGameRuleData_.Clone() : null;
paintballCaptureTheFlagGameRuleData_ = other.paintballCaptureTheFlagGameRuleData_ != null ? other.paintballCaptureTheFlagGameRuleData_.Clone() : null;
paintballTeamBattleGameRuleData_ = other.paintballTeamBattleGameRuleData_ != null ? other.paintballTeamBattleGameRuleData_.Clone() : null;
soccerGameRuleData_ = other.soccerGameRuleData_ != null ? other.soccerGameRuleData_.Clone() : null;
stuntrunnerGameRuleData_ = other.stuntrunnerGameRuleData_ != null ? other.stuntrunnerGameRuleData_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameRuleWrapperData Clone() {
return new GameRuleWrapperData(this);
}
/// <summary>Field number for the "charades_coop_classic_game_rule_data" field.</summary>
public const int CharadesCoopClassicGameRuleDataFieldNumber = 1;
private global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData charadesCoopClassicGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData CharadesCoopClassicGameRuleData {
get { return charadesCoopClassicGameRuleData_; }
set {
charadesCoopClassicGameRuleData_ = value;
}
}
/// <summary>Field number for the "charades_team_lightning_game_rule_data" field.</summary>
public const int CharadesTeamLightningGameRuleDataFieldNumber = 2;
private global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData charadesTeamLightningGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData CharadesTeamLightningGameRuleData {
get { return charadesTeamLightningGameRuleData_; }
set {
charadesTeamLightningGameRuleData_ = value;
}
}
/// <summary>Field number for the "dodgeball_game_rule_data" field.</summary>
public const int DodgeballGameRuleDataFieldNumber = 3;
private global::RecRoom.Protobuf.DodgeballGameRuleData dodgeballGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.DodgeballGameRuleData DodgeballGameRuleData {
get { return dodgeballGameRuleData_; }
set {
dodgeballGameRuleData_ = value;
}
}
/// <summary>Field number for the "laser_tag_game_rule_data" field.</summary>
public const int LaserTagGameRuleDataFieldNumber = 4;
private global::RecRoom.Protobuf.LaserTagGameRuleData laserTagGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.LaserTagGameRuleData LaserTagGameRuleData {
get { return laserTagGameRuleData_; }
set {
laserTagGameRuleData_ = value;
}
}
/// <summary>Field number for the "paddleball_game_rule_data" field.</summary>
public const int PaddleballGameRuleDataFieldNumber = 5;
private global::RecRoom.Protobuf.PaddleballGameRuleData paddleballGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.PaddleballGameRuleData PaddleballGameRuleData {
get { return paddleballGameRuleData_; }
set {
paddleballGameRuleData_ = value;
}
}
/// <summary>Field number for the "paintball_capture_the_flag_game_rule_data" field.</summary>
public const int PaintballCaptureTheFlagGameRuleDataFieldNumber = 6;
private global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleData paintballCaptureTheFlagGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleData PaintballCaptureTheFlagGameRuleData {
get { return paintballCaptureTheFlagGameRuleData_; }
set {
paintballCaptureTheFlagGameRuleData_ = value;
}
}
/// <summary>Field number for the "paintball_team_battle_game_rule_data" field.</summary>
public const int PaintballTeamBattleGameRuleDataFieldNumber = 7;
private global::RecRoom.Protobuf.PaintballTeamBattleGameRuleData paintballTeamBattleGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.PaintballTeamBattleGameRuleData PaintballTeamBattleGameRuleData {
get { return paintballTeamBattleGameRuleData_; }
set {
paintballTeamBattleGameRuleData_ = value;
}
}
/// <summary>Field number for the "soccer_game_rule_data" field.</summary>
public const int SoccerGameRuleDataFieldNumber = 9;
private global::RecRoom.Protobuf.SoccerGameRuleData soccerGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.SoccerGameRuleData SoccerGameRuleData {
get { return soccerGameRuleData_; }
set {
soccerGameRuleData_ = value;
}
}
/// <summary>Field number for the "stuntrunner_game_rule_data" field.</summary>
public const int StuntrunnerGameRuleDataFieldNumber = 10;
private global::RecRoom.Protobuf.StuntrunnerGameRuleData stuntrunnerGameRuleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.StuntrunnerGameRuleData StuntrunnerGameRuleData {
get { return stuntrunnerGameRuleData_; }
set {
stuntrunnerGameRuleData_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GameRuleWrapperData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GameRuleWrapperData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(CharadesCoopClassicGameRuleData, other.CharadesCoopClassicGameRuleData)) return false;
if (!object.Equals(CharadesTeamLightningGameRuleData, other.CharadesTeamLightningGameRuleData)) return false;
if (!object.Equals(DodgeballGameRuleData, other.DodgeballGameRuleData)) return false;
if (!object.Equals(LaserTagGameRuleData, other.LaserTagGameRuleData)) return false;
if (!object.Equals(PaddleballGameRuleData, other.PaddleballGameRuleData)) return false;
if (!object.Equals(PaintballCaptureTheFlagGameRuleData, other.PaintballCaptureTheFlagGameRuleData)) return false;
if (!object.Equals(PaintballTeamBattleGameRuleData, other.PaintballTeamBattleGameRuleData)) return false;
if (!object.Equals(SoccerGameRuleData, other.SoccerGameRuleData)) return false;
if (!object.Equals(StuntrunnerGameRuleData, other.StuntrunnerGameRuleData)) 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 (charadesCoopClassicGameRuleData_ != null) hash ^= CharadesCoopClassicGameRuleData.GetHashCode();
if (charadesTeamLightningGameRuleData_ != null) hash ^= CharadesTeamLightningGameRuleData.GetHashCode();
if (dodgeballGameRuleData_ != null) hash ^= DodgeballGameRuleData.GetHashCode();
if (laserTagGameRuleData_ != null) hash ^= LaserTagGameRuleData.GetHashCode();
if (paddleballGameRuleData_ != null) hash ^= PaddleballGameRuleData.GetHashCode();
if (paintballCaptureTheFlagGameRuleData_ != null) hash ^= PaintballCaptureTheFlagGameRuleData.GetHashCode();
if (paintballTeamBattleGameRuleData_ != null) hash ^= PaintballTeamBattleGameRuleData.GetHashCode();
if (soccerGameRuleData_ != null) hash ^= SoccerGameRuleData.GetHashCode();
if (stuntrunnerGameRuleData_ != null) hash ^= StuntrunnerGameRuleData.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 (charadesCoopClassicGameRuleData_ != null) {
output.WriteRawTag(10);
output.WriteMessage(CharadesCoopClassicGameRuleData);
}
if (charadesTeamLightningGameRuleData_ != null) {
output.WriteRawTag(18);
output.WriteMessage(CharadesTeamLightningGameRuleData);
}
if (dodgeballGameRuleData_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DodgeballGameRuleData);
}
if (laserTagGameRuleData_ != null) {
output.WriteRawTag(34);
output.WriteMessage(LaserTagGameRuleData);
}
if (paddleballGameRuleData_ != null) {
output.WriteRawTag(42);
output.WriteMessage(PaddleballGameRuleData);
}
if (paintballCaptureTheFlagGameRuleData_ != null) {
output.WriteRawTag(50);
output.WriteMessage(PaintballCaptureTheFlagGameRuleData);
}
if (paintballTeamBattleGameRuleData_ != null) {
output.WriteRawTag(58);
output.WriteMessage(PaintballTeamBattleGameRuleData);
}
if (soccerGameRuleData_ != null) {
output.WriteRawTag(74);
output.WriteMessage(SoccerGameRuleData);
}
if (stuntrunnerGameRuleData_ != null) {
output.WriteRawTag(82);
output.WriteMessage(StuntrunnerGameRuleData);
}
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 (charadesCoopClassicGameRuleData_ != null) {
output.WriteRawTag(10);
output.WriteMessage(CharadesCoopClassicGameRuleData);
}
if (charadesTeamLightningGameRuleData_ != null) {
output.WriteRawTag(18);
output.WriteMessage(CharadesTeamLightningGameRuleData);
}
if (dodgeballGameRuleData_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DodgeballGameRuleData);
}
if (laserTagGameRuleData_ != null) {
output.WriteRawTag(34);
output.WriteMessage(LaserTagGameRuleData);
}
if (paddleballGameRuleData_ != null) {
output.WriteRawTag(42);
output.WriteMessage(PaddleballGameRuleData);
}
if (paintballCaptureTheFlagGameRuleData_ != null) {
output.WriteRawTag(50);
output.WriteMessage(PaintballCaptureTheFlagGameRuleData);
}
if (paintballTeamBattleGameRuleData_ != null) {
output.WriteRawTag(58);
output.WriteMessage(PaintballTeamBattleGameRuleData);
}
if (soccerGameRuleData_ != null) {
output.WriteRawTag(74);
output.WriteMessage(SoccerGameRuleData);
}
if (stuntrunnerGameRuleData_ != null) {
output.WriteRawTag(82);
output.WriteMessage(StuntrunnerGameRuleData);
}
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 (charadesCoopClassicGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CharadesCoopClassicGameRuleData);
}
if (charadesTeamLightningGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CharadesTeamLightningGameRuleData);
}
if (dodgeballGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DodgeballGameRuleData);
}
if (laserTagGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LaserTagGameRuleData);
}
if (paddleballGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PaddleballGameRuleData);
}
if (paintballCaptureTheFlagGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PaintballCaptureTheFlagGameRuleData);
}
if (paintballTeamBattleGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PaintballTeamBattleGameRuleData);
}
if (soccerGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SoccerGameRuleData);
}
if (stuntrunnerGameRuleData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StuntrunnerGameRuleData);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GameRuleWrapperData other) {
if (other == null) {
return;
}
if (other.charadesCoopClassicGameRuleData_ != null) {
if (charadesCoopClassicGameRuleData_ == null) {
CharadesCoopClassicGameRuleData = new global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData();
}
CharadesCoopClassicGameRuleData.MergeFrom(other.CharadesCoopClassicGameRuleData);
}
if (other.charadesTeamLightningGameRuleData_ != null) {
if (charadesTeamLightningGameRuleData_ == null) {
CharadesTeamLightningGameRuleData = new global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData();
}
CharadesTeamLightningGameRuleData.MergeFrom(other.CharadesTeamLightningGameRuleData);
}
if (other.dodgeballGameRuleData_ != null) {
if (dodgeballGameRuleData_ == null) {
DodgeballGameRuleData = new global::RecRoom.Protobuf.DodgeballGameRuleData();
}
DodgeballGameRuleData.MergeFrom(other.DodgeballGameRuleData);
}
if (other.laserTagGameRuleData_ != null) {
if (laserTagGameRuleData_ == null) {
LaserTagGameRuleData = new global::RecRoom.Protobuf.LaserTagGameRuleData();
}
LaserTagGameRuleData.MergeFrom(other.LaserTagGameRuleData);
}
if (other.paddleballGameRuleData_ != null) {
if (paddleballGameRuleData_ == null) {
PaddleballGameRuleData = new global::RecRoom.Protobuf.PaddleballGameRuleData();
}
PaddleballGameRuleData.MergeFrom(other.PaddleballGameRuleData);
}
if (other.paintballCaptureTheFlagGameRuleData_ != null) {
if (paintballCaptureTheFlagGameRuleData_ == null) {
PaintballCaptureTheFlagGameRuleData = new global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleData();
}
PaintballCaptureTheFlagGameRuleData.MergeFrom(other.PaintballCaptureTheFlagGameRuleData);
}
if (other.paintballTeamBattleGameRuleData_ != null) {
if (paintballTeamBattleGameRuleData_ == null) {
PaintballTeamBattleGameRuleData = new global::RecRoom.Protobuf.PaintballTeamBattleGameRuleData();
}
PaintballTeamBattleGameRuleData.MergeFrom(other.PaintballTeamBattleGameRuleData);
}
if (other.soccerGameRuleData_ != null) {
if (soccerGameRuleData_ == null) {
SoccerGameRuleData = new global::RecRoom.Protobuf.SoccerGameRuleData();
}
SoccerGameRuleData.MergeFrom(other.SoccerGameRuleData);
}
if (other.stuntrunnerGameRuleData_ != null) {
if (stuntrunnerGameRuleData_ == null) {
StuntrunnerGameRuleData = new global::RecRoom.Protobuf.StuntrunnerGameRuleData();
}
StuntrunnerGameRuleData.MergeFrom(other.StuntrunnerGameRuleData);
}
_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 (charadesCoopClassicGameRuleData_ == null) {
CharadesCoopClassicGameRuleData = new global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData();
}
input.ReadMessage(CharadesCoopClassicGameRuleData);
break;
}
case 18: {
if (charadesTeamLightningGameRuleData_ == null) {
CharadesTeamLightningGameRuleData = new global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData();
}
input.ReadMessage(CharadesTeamLightningGameRuleData);
break;
}
case 26: {
if (dodgeballGameRuleData_ == null) {
DodgeballGameRuleData = new global::RecRoom.Protobuf.DodgeballGameRuleData();
}
input.ReadMessage(DodgeballGameRuleData);
break;
}
case 34: {
if (laserTagGameRuleData_ == null) {
LaserTagGameRuleData = new global::RecRoom.Protobuf.LaserTagGameRuleData();
}
input.ReadMessage(LaserTagGameRuleData);
break;
}
case 42: {
if (paddleballGameRuleData_ == null) {
PaddleballGameRuleData = new global::RecRoom.Protobuf.PaddleballGameRuleData();
}
input.ReadMessage(PaddleballGameRuleData);
break;
}
case 50: {
if (paintballCaptureTheFlagGameRuleData_ == null) {
PaintballCaptureTheFlagGameRuleData = new global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleData();
}
input.ReadMessage(PaintballCaptureTheFlagGameRuleData);
break;
}
case 58: {
if (paintballTeamBattleGameRuleData_ == null) {
PaintballTeamBattleGameRuleData = new global::RecRoom.Protobuf.PaintballTeamBattleGameRuleData();
}
input.ReadMessage(PaintballTeamBattleGameRuleData);
break;
}
case 74: {
if (soccerGameRuleData_ == null) {
SoccerGameRuleData = new global::RecRoom.Protobuf.SoccerGameRuleData();
}
input.ReadMessage(SoccerGameRuleData);
break;
}
case 82: {
if (stuntrunnerGameRuleData_ == null) {
StuntrunnerGameRuleData = new global::RecRoom.Protobuf.StuntrunnerGameRuleData();
}
input.ReadMessage(StuntrunnerGameRuleData);
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 (charadesCoopClassicGameRuleData_ == null) {
CharadesCoopClassicGameRuleData = new global::RecRoom.Protobuf.CharadesCoOpClassicGameRuleData();
}
input.ReadMessage(CharadesCoopClassicGameRuleData);
break;
}
case 18: {
if (charadesTeamLightningGameRuleData_ == null) {
CharadesTeamLightningGameRuleData = new global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData();
}
input.ReadMessage(CharadesTeamLightningGameRuleData);
break;
}
case 26: {
if (dodgeballGameRuleData_ == null) {
DodgeballGameRuleData = new global::RecRoom.Protobuf.DodgeballGameRuleData();
}
input.ReadMessage(DodgeballGameRuleData);
break;
}
case 34: {
if (laserTagGameRuleData_ == null) {
LaserTagGameRuleData = new global::RecRoom.Protobuf.LaserTagGameRuleData();
}
input.ReadMessage(LaserTagGameRuleData);
break;
}
case 42: {
if (paddleballGameRuleData_ == null) {
PaddleballGameRuleData = new global::RecRoom.Protobuf.PaddleballGameRuleData();
}
input.ReadMessage(PaddleballGameRuleData);
break;
}
case 50: {
if (paintballCaptureTheFlagGameRuleData_ == null) {
PaintballCaptureTheFlagGameRuleData = new global::RecRoom.Protobuf.PaintballCaptureTheFlagGameRuleData();
}
input.ReadMessage(PaintballCaptureTheFlagGameRuleData);
break;
}
case 58: {
if (paintballTeamBattleGameRuleData_ == null) {
PaintballTeamBattleGameRuleData = new global::RecRoom.Protobuf.PaintballTeamBattleGameRuleData();
}
input.ReadMessage(PaintballTeamBattleGameRuleData);
break;
}
case 74: {
if (soccerGameRuleData_ == null) {
SoccerGameRuleData = new global::RecRoom.Protobuf.SoccerGameRuleData();
}
input.ReadMessage(SoccerGameRuleData);
break;
}
case 82: {
if (stuntrunnerGameRuleData_ == null) {
StuntrunnerGameRuleData = new global::RecRoom.Protobuf.StuntrunnerGameRuleData();
}
input.ReadMessage(StuntrunnerGameRuleData);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code