// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/leaderboard_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/persistence/leaderboard_data.proto public static partial class LeaderboardDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/leaderboard_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static LeaderboardDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CityZWNfcm9vbS9wZXJzaXN0ZW5jZS9sZWFkZXJib2FyZF9kYXRhLnByb3Rv", "EghyZWNfcm9vbSLuAgoPTGVhZGVyYm9hcmREYXRhEjgKDHN0YXRfY29uZmln", "cxgBIAMoCzIiLnJlY19yb29tLkxlYWRlcmJvYXJkRGF0YS5TdGF0RGF0YRIP", "CgdlbmFibGVkGAIgASgIEh8KF2Fsd2F5c0ZhY2VQbGF5ZXJFbmFibGVkGAMg", "ASgIEh8KF3Byb3hpbWl0eURpc3BsYXlFbmFibGVkGAQgASgIEiMKG2lubmVy", "UHJveGltaXR5VHJpZ2dlclJhZGl1cxgFIAEoAhIjChtvdXRlclByb3hpbWl0", "eVRyaWdnZXJSYWRpdXMYBiABKAIagwEKCFN0YXREYXRhEhAKCHVzZV9zdGF0", "GAEgASgIEhYKDnN0YXRfZnVsbF9uYW1lGAIgASgJEhcKD3N0YXRfc2hvcnRf", "bmFtZRgDIAEoCRIbChNzdGF0X3NvcnRfYXNjZW5kaW5nGAQgASgIEhcKD2Zv", "cm1hdHRpbmdfbW9kZRgFIAEoBUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJv", "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.LeaderboardData), global::RecRoom.Protobuf.LeaderboardData.Parser, new[]{ "StatConfigs", "Enabled", "AlwaysFacePlayerEnabled", "ProximityDisplayEnabled", "InnerProximityTriggerRadius", "OuterProximityTriggerRadius" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.LeaderboardData.Types.StatData), global::RecRoom.Protobuf.LeaderboardData.Types.StatData.Parser, new[]{ "UseStat", "StatFullName", "StatShortName", "StatSortAscending", "FormattingMode" }, null, null, null, null)}) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class LeaderboardData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LeaderboardData()); 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.LeaderboardDataReflection.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 LeaderboardData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LeaderboardData(LeaderboardData other) : this() { statConfigs_ = other.statConfigs_.Clone(); enabled_ = other.enabled_; alwaysFacePlayerEnabled_ = other.alwaysFacePlayerEnabled_; proximityDisplayEnabled_ = other.proximityDisplayEnabled_; innerProximityTriggerRadius_ = other.innerProximityTriggerRadius_; outerProximityTriggerRadius_ = other.outerProximityTriggerRadius_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LeaderboardData Clone() { return new LeaderboardData(this); } /// Field number for the "stat_configs" field. public const int StatConfigsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_statConfigs_codec = pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.LeaderboardData.Types.StatData.Parser); private readonly pbc::RepeatedField statConfigs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StatConfigs { get { return statConfigs_; } } /// Field number for the "enabled" field. public const int EnabledFieldNumber = 2; private bool enabled_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Enabled { get { return enabled_; } set { enabled_ = value; } } /// Field number for the "alwaysFacePlayerEnabled" field. public const int AlwaysFacePlayerEnabledFieldNumber = 3; private bool alwaysFacePlayerEnabled_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AlwaysFacePlayerEnabled { get { return alwaysFacePlayerEnabled_; } set { alwaysFacePlayerEnabled_ = value; } } /// Field number for the "proximityDisplayEnabled" field. public const int ProximityDisplayEnabledFieldNumber = 4; private bool proximityDisplayEnabled_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ProximityDisplayEnabled { get { return proximityDisplayEnabled_; } set { proximityDisplayEnabled_ = value; } } /// Field number for the "innerProximityTriggerRadius" field. public const int InnerProximityTriggerRadiusFieldNumber = 5; private float innerProximityTriggerRadius_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float InnerProximityTriggerRadius { get { return innerProximityTriggerRadius_; } set { innerProximityTriggerRadius_ = value; } } /// Field number for the "outerProximityTriggerRadius" field. public const int OuterProximityTriggerRadiusFieldNumber = 6; private float outerProximityTriggerRadius_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float OuterProximityTriggerRadius { get { return outerProximityTriggerRadius_; } set { outerProximityTriggerRadius_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as LeaderboardData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(LeaderboardData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!statConfigs_.Equals(other.statConfigs_)) return false; if (Enabled != other.Enabled) return false; if (AlwaysFacePlayerEnabled != other.AlwaysFacePlayerEnabled) return false; if (ProximityDisplayEnabled != other.ProximityDisplayEnabled) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(InnerProximityTriggerRadius, other.InnerProximityTriggerRadius)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OuterProximityTriggerRadius, other.OuterProximityTriggerRadius)) 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; hash ^= statConfigs_.GetHashCode(); if (Enabled != false) hash ^= Enabled.GetHashCode(); if (AlwaysFacePlayerEnabled != false) hash ^= AlwaysFacePlayerEnabled.GetHashCode(); if (ProximityDisplayEnabled != false) hash ^= ProximityDisplayEnabled.GetHashCode(); if (InnerProximityTriggerRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(InnerProximityTriggerRadius); if (OuterProximityTriggerRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OuterProximityTriggerRadius); 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 statConfigs_.WriteTo(output, _repeated_statConfigs_codec); if (Enabled != false) { output.WriteRawTag(16); output.WriteBool(Enabled); } if (AlwaysFacePlayerEnabled != false) { output.WriteRawTag(24); output.WriteBool(AlwaysFacePlayerEnabled); } if (ProximityDisplayEnabled != false) { output.WriteRawTag(32); output.WriteBool(ProximityDisplayEnabled); } if (InnerProximityTriggerRadius != 0F) { output.WriteRawTag(45); output.WriteFloat(InnerProximityTriggerRadius); } if (OuterProximityTriggerRadius != 0F) { output.WriteRawTag(53); output.WriteFloat(OuterProximityTriggerRadius); } 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) { statConfigs_.WriteTo(ref output, _repeated_statConfigs_codec); if (Enabled != false) { output.WriteRawTag(16); output.WriteBool(Enabled); } if (AlwaysFacePlayerEnabled != false) { output.WriteRawTag(24); output.WriteBool(AlwaysFacePlayerEnabled); } if (ProximityDisplayEnabled != false) { output.WriteRawTag(32); output.WriteBool(ProximityDisplayEnabled); } if (InnerProximityTriggerRadius != 0F) { output.WriteRawTag(45); output.WriteFloat(InnerProximityTriggerRadius); } if (OuterProximityTriggerRadius != 0F) { output.WriteRawTag(53); output.WriteFloat(OuterProximityTriggerRadius); } 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; size += statConfigs_.CalculateSize(_repeated_statConfigs_codec); if (Enabled != false) { size += 1 + 1; } if (AlwaysFacePlayerEnabled != false) { size += 1 + 1; } if (ProximityDisplayEnabled != false) { size += 1 + 1; } if (InnerProximityTriggerRadius != 0F) { size += 1 + 4; } if (OuterProximityTriggerRadius != 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(LeaderboardData other) { if (other == null) { return; } statConfigs_.Add(other.statConfigs_); if (other.Enabled != false) { Enabled = other.Enabled; } if (other.AlwaysFacePlayerEnabled != false) { AlwaysFacePlayerEnabled = other.AlwaysFacePlayerEnabled; } if (other.ProximityDisplayEnabled != false) { ProximityDisplayEnabled = other.ProximityDisplayEnabled; } if (other.InnerProximityTriggerRadius != 0F) { InnerProximityTriggerRadius = other.InnerProximityTriggerRadius; } if (other.OuterProximityTriggerRadius != 0F) { OuterProximityTriggerRadius = other.OuterProximityTriggerRadius; } _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: { statConfigs_.AddEntriesFrom(input, _repeated_statConfigs_codec); break; } case 16: { Enabled = input.ReadBool(); break; } case 24: { AlwaysFacePlayerEnabled = input.ReadBool(); break; } case 32: { ProximityDisplayEnabled = input.ReadBool(); break; } case 45: { InnerProximityTriggerRadius = input.ReadFloat(); break; } case 53: { OuterProximityTriggerRadius = 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 10: { statConfigs_.AddEntriesFrom(ref input, _repeated_statConfigs_codec); break; } case 16: { Enabled = input.ReadBool(); break; } case 24: { AlwaysFacePlayerEnabled = input.ReadBool(); break; } case 32: { ProximityDisplayEnabled = input.ReadBool(); break; } case 45: { InnerProximityTriggerRadius = input.ReadFloat(); break; } case 53: { OuterProximityTriggerRadius = input.ReadFloat(); break; } } } } #endif #region Nested types /// Container for nested types declared in the LeaderboardData message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StatData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatData()); 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.LeaderboardData.Descriptor.NestedTypes[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 StatData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatData(StatData other) : this() { useStat_ = other.useStat_; statFullName_ = other.statFullName_; statShortName_ = other.statShortName_; statSortAscending_ = other.statSortAscending_; formattingMode_ = other.formattingMode_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatData Clone() { return new StatData(this); } /// Field number for the "use_stat" field. public const int UseStatFieldNumber = 1; private bool useStat_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool UseStat { get { return useStat_; } set { useStat_ = value; } } /// Field number for the "stat_full_name" field. public const int StatFullNameFieldNumber = 2; private string statFullName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string StatFullName { get { return statFullName_; } set { statFullName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "stat_short_name" field. public const int StatShortNameFieldNumber = 3; private string statShortName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string StatShortName { get { return statShortName_; } set { statShortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "stat_sort_ascending" field. public const int StatSortAscendingFieldNumber = 4; private bool statSortAscending_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool StatSortAscending { get { return statSortAscending_; } set { statSortAscending_ = value; } } /// Field number for the "formatting_mode" field. public const int FormattingModeFieldNumber = 5; private int formattingMode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FormattingMode { get { return formattingMode_; } set { formattingMode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (UseStat != other.UseStat) return false; if (StatFullName != other.StatFullName) return false; if (StatShortName != other.StatShortName) return false; if (StatSortAscending != other.StatSortAscending) return false; if (FormattingMode != other.FormattingMode) 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 (UseStat != false) hash ^= UseStat.GetHashCode(); if (StatFullName.Length != 0) hash ^= StatFullName.GetHashCode(); if (StatShortName.Length != 0) hash ^= StatShortName.GetHashCode(); if (StatSortAscending != false) hash ^= StatSortAscending.GetHashCode(); if (FormattingMode != 0) hash ^= FormattingMode.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 (UseStat != false) { output.WriteRawTag(8); output.WriteBool(UseStat); } if (StatFullName.Length != 0) { output.WriteRawTag(18); output.WriteString(StatFullName); } if (StatShortName.Length != 0) { output.WriteRawTag(26); output.WriteString(StatShortName); } if (StatSortAscending != false) { output.WriteRawTag(32); output.WriteBool(StatSortAscending); } if (FormattingMode != 0) { output.WriteRawTag(40); output.WriteInt32(FormattingMode); } 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 (UseStat != false) { output.WriteRawTag(8); output.WriteBool(UseStat); } if (StatFullName.Length != 0) { output.WriteRawTag(18); output.WriteString(StatFullName); } if (StatShortName.Length != 0) { output.WriteRawTag(26); output.WriteString(StatShortName); } if (StatSortAscending != false) { output.WriteRawTag(32); output.WriteBool(StatSortAscending); } if (FormattingMode != 0) { output.WriteRawTag(40); output.WriteInt32(FormattingMode); } 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 (UseStat != false) { size += 1 + 1; } if (StatFullName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(StatFullName); } if (StatShortName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(StatShortName); } if (StatSortAscending != false) { size += 1 + 1; } if (FormattingMode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FormattingMode); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatData other) { if (other == null) { return; } if (other.UseStat != false) { UseStat = other.UseStat; } if (other.StatFullName.Length != 0) { StatFullName = other.StatFullName; } if (other.StatShortName.Length != 0) { StatShortName = other.StatShortName; } if (other.StatSortAscending != false) { StatSortAscending = other.StatSortAscending; } if (other.FormattingMode != 0) { FormattingMode = other.FormattingMode; } _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: { UseStat = input.ReadBool(); break; } case 18: { StatFullName = input.ReadString(); break; } case 26: { StatShortName = input.ReadString(); break; } case 32: { StatSortAscending = input.ReadBool(); break; } case 40: { FormattingMode = 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: { UseStat = input.ReadBool(); break; } case 18: { StatFullName = input.ReadString(); break; } case 26: { StatShortName = input.ReadString(); break; } case 32: { StatSortAscending = input.ReadBool(); break; } case 40: { FormattingMode = input.ReadInt32(); break; } } } } #endif } } #endregion } #endregion } #endregion Designer generated code