// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/game_configuration/charades_team_lightning_game_rule_data.proto // #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 { /// Holder for reflection information generated from rec_room/game_configuration/charades_team_lightning_game_rule_data.proto public static partial class CharadesTeamLightningGameRuleDataReflection { #region Descriptor /// File descriptor for rec_room/game_configuration/charades_team_lightning_game_rule_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CharadesTeamLightningGameRuleDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CkhyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vY2hhcmFkZXNfdGVhbV9s", "aWdodG5pbmdfZ2FtZV9ydWxlX2RhdGEucHJvdG8SCHJlY19yb29tInUKIUNo", "YXJhZGVzVGVhbUxpZ2h0bmluZ0dhbWVSdWxlRGF0YRIXCg9tYXhfcm91bmRf", "Y291bnQYASABKAUSGgoScGVyZm9ybWVyX2R1cmF0aW9uGAIgASgCEhsKE3Rl", "YW1fcm91bmRfZHVyYXRpb24YAyABKAJCE6oCEFJlY1Jvb20uUHJvdG9idWZi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData), global::RecRoom.Protobuf.CharadesTeamLightningGameRuleData.Parser, new[]{ "MaxRoundCount", "PerformerDuration", "TeamRoundDuration" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CharadesTeamLightningGameRuleData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharadesTeamLightningGameRuleData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.CharadesTeamLightningGameRuleDataReflection.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 CharadesTeamLightningGameRuleData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CharadesTeamLightningGameRuleData(CharadesTeamLightningGameRuleData other) : this() { maxRoundCount_ = other.maxRoundCount_; performerDuration_ = other.performerDuration_; teamRoundDuration_ = other.teamRoundDuration_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CharadesTeamLightningGameRuleData Clone() { return new CharadesTeamLightningGameRuleData(this); } /// Field number for the "max_round_count" field. public const int MaxRoundCountFieldNumber = 1; private int maxRoundCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MaxRoundCount { get { return maxRoundCount_; } set { maxRoundCount_ = value; } } /// Field number for the "performer_duration" field. public const int PerformerDurationFieldNumber = 2; private float performerDuration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float PerformerDuration { get { return performerDuration_; } set { performerDuration_ = value; } } /// Field number for the "team_round_duration" field. public const int TeamRoundDurationFieldNumber = 3; private float teamRoundDuration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float TeamRoundDuration { get { return teamRoundDuration_; } set { teamRoundDuration_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CharadesTeamLightningGameRuleData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CharadesTeamLightningGameRuleData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (MaxRoundCount != other.MaxRoundCount) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PerformerDuration, other.PerformerDuration)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TeamRoundDuration, other.TeamRoundDuration)) 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 (MaxRoundCount != 0) hash ^= MaxRoundCount.GetHashCode(); if (PerformerDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PerformerDuration); if (TeamRoundDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TeamRoundDuration); 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 (MaxRoundCount != 0) { output.WriteRawTag(8); output.WriteInt32(MaxRoundCount); } if (PerformerDuration != 0F) { output.WriteRawTag(21); output.WriteFloat(PerformerDuration); } if (TeamRoundDuration != 0F) { output.WriteRawTag(29); output.WriteFloat(TeamRoundDuration); } 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 (MaxRoundCount != 0) { output.WriteRawTag(8); output.WriteInt32(MaxRoundCount); } if (PerformerDuration != 0F) { output.WriteRawTag(21); output.WriteFloat(PerformerDuration); } if (TeamRoundDuration != 0F) { output.WriteRawTag(29); output.WriteFloat(TeamRoundDuration); } 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 (MaxRoundCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxRoundCount); } if (PerformerDuration != 0F) { size += 1 + 4; } if (TeamRoundDuration != 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(CharadesTeamLightningGameRuleData other) { if (other == null) { return; } if (other.MaxRoundCount != 0) { MaxRoundCount = other.MaxRoundCount; } if (other.PerformerDuration != 0F) { PerformerDuration = other.PerformerDuration; } if (other.TeamRoundDuration != 0F) { TeamRoundDuration = other.TeamRoundDuration; } _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: { MaxRoundCount = input.ReadInt32(); break; } case 21: { PerformerDuration = input.ReadFloat(); break; } case 29: { TeamRoundDuration = 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: { MaxRoundCount = input.ReadInt32(); break; } case 21: { PerformerDuration = input.ReadFloat(); break; } case 29: { TeamRoundDuration = input.ReadFloat(); break; } } } } #endif } #endregion } #endregion Designer generated code