mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
423 lines
15 KiB
C#
423 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PrivacySettings.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 EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from PrivacySettings.proto</summary>
|
|
public static partial class PrivacySettingsReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PrivacySettings.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PrivacySettingsReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVQcml2YWN5U2V0dGluZ3MucHJvdG8iwQEKD1ByaXZhY3lTZXR0aW5ncxIg",
|
|
"ChhkaXNwbGF5X2NoYWxsZW5nZV9saW5ldXAYByABKAgSHAoUZGlzcGxheV9h",
|
|
"Y3RpdmVfc3RhdGUYASABKAgSEwoLQUFNRUxPSFBCSEwYBCABKAgSHgoWZGlz",
|
|
"cGxheV9yZWNlbnRseV9zdGF0ZRgGIAEoCBIdChVkaXNwbGF5X2JhdHRsZV9y",
|
|
"ZWNvcmQYCyABKAgSGgoSZGlzcGxheV9jb2xsZWN0aW9uGAkgASgIQh6qAhtF",
|
|
"Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PrivacySettings), global::EggLink.DanhengServer.Proto.PrivacySettings.Parser, new[]{ "DisplayChallengeLineup", "DisplayActiveState", "AAMELOHPBHL", "DisplayRecentlyState", "DisplayBattleRecord", "DisplayCollection" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PrivacySettings : pb::IMessage<PrivacySettings>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PrivacySettings> _parser = new pb::MessageParser<PrivacySettings>(() => new PrivacySettings());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PrivacySettings> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::EggLink.DanhengServer.Proto.PrivacySettingsReflection.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 PrivacySettings() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PrivacySettings(PrivacySettings other) : this() {
|
|
displayChallengeLineup_ = other.displayChallengeLineup_;
|
|
displayActiveState_ = other.displayActiveState_;
|
|
aAMELOHPBHL_ = other.aAMELOHPBHL_;
|
|
displayRecentlyState_ = other.displayRecentlyState_;
|
|
displayBattleRecord_ = other.displayBattleRecord_;
|
|
displayCollection_ = other.displayCollection_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PrivacySettings Clone() {
|
|
return new PrivacySettings(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "display_challenge_lineup" field.</summary>
|
|
public const int DisplayChallengeLineupFieldNumber = 7;
|
|
private bool displayChallengeLineup_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DisplayChallengeLineup {
|
|
get { return displayChallengeLineup_; }
|
|
set {
|
|
displayChallengeLineup_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "display_active_state" field.</summary>
|
|
public const int DisplayActiveStateFieldNumber = 1;
|
|
private bool displayActiveState_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DisplayActiveState {
|
|
get { return displayActiveState_; }
|
|
set {
|
|
displayActiveState_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AAMELOHPBHL" field.</summary>
|
|
public const int AAMELOHPBHLFieldNumber = 4;
|
|
private bool aAMELOHPBHL_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool AAMELOHPBHL {
|
|
get { return aAMELOHPBHL_; }
|
|
set {
|
|
aAMELOHPBHL_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "display_recently_state" field.</summary>
|
|
public const int DisplayRecentlyStateFieldNumber = 6;
|
|
private bool displayRecentlyState_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DisplayRecentlyState {
|
|
get { return displayRecentlyState_; }
|
|
set {
|
|
displayRecentlyState_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "display_battle_record" field.</summary>
|
|
public const int DisplayBattleRecordFieldNumber = 11;
|
|
private bool displayBattleRecord_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DisplayBattleRecord {
|
|
get { return displayBattleRecord_; }
|
|
set {
|
|
displayBattleRecord_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "display_collection" field.</summary>
|
|
public const int DisplayCollectionFieldNumber = 9;
|
|
private bool displayCollection_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DisplayCollection {
|
|
get { return displayCollection_; }
|
|
set {
|
|
displayCollection_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PrivacySettings);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PrivacySettings other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (DisplayChallengeLineup != other.DisplayChallengeLineup) return false;
|
|
if (DisplayActiveState != other.DisplayActiveState) return false;
|
|
if (AAMELOHPBHL != other.AAMELOHPBHL) return false;
|
|
if (DisplayRecentlyState != other.DisplayRecentlyState) return false;
|
|
if (DisplayBattleRecord != other.DisplayBattleRecord) return false;
|
|
if (DisplayCollection != other.DisplayCollection) 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 (DisplayChallengeLineup != false) hash ^= DisplayChallengeLineup.GetHashCode();
|
|
if (DisplayActiveState != false) hash ^= DisplayActiveState.GetHashCode();
|
|
if (AAMELOHPBHL != false) hash ^= AAMELOHPBHL.GetHashCode();
|
|
if (DisplayRecentlyState != false) hash ^= DisplayRecentlyState.GetHashCode();
|
|
if (DisplayBattleRecord != false) hash ^= DisplayBattleRecord.GetHashCode();
|
|
if (DisplayCollection != false) hash ^= DisplayCollection.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 (DisplayActiveState != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(DisplayActiveState);
|
|
}
|
|
if (AAMELOHPBHL != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(AAMELOHPBHL);
|
|
}
|
|
if (DisplayRecentlyState != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(DisplayRecentlyState);
|
|
}
|
|
if (DisplayChallengeLineup != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(DisplayChallengeLineup);
|
|
}
|
|
if (DisplayCollection != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(DisplayCollection);
|
|
}
|
|
if (DisplayBattleRecord != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(DisplayBattleRecord);
|
|
}
|
|
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 (DisplayActiveState != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(DisplayActiveState);
|
|
}
|
|
if (AAMELOHPBHL != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(AAMELOHPBHL);
|
|
}
|
|
if (DisplayRecentlyState != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(DisplayRecentlyState);
|
|
}
|
|
if (DisplayChallengeLineup != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(DisplayChallengeLineup);
|
|
}
|
|
if (DisplayCollection != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(DisplayCollection);
|
|
}
|
|
if (DisplayBattleRecord != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(DisplayBattleRecord);
|
|
}
|
|
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 (DisplayChallengeLineup != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DisplayActiveState != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (AAMELOHPBHL != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DisplayRecentlyState != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DisplayBattleRecord != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DisplayCollection != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PrivacySettings other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.DisplayChallengeLineup != false) {
|
|
DisplayChallengeLineup = other.DisplayChallengeLineup;
|
|
}
|
|
if (other.DisplayActiveState != false) {
|
|
DisplayActiveState = other.DisplayActiveState;
|
|
}
|
|
if (other.AAMELOHPBHL != false) {
|
|
AAMELOHPBHL = other.AAMELOHPBHL;
|
|
}
|
|
if (other.DisplayRecentlyState != false) {
|
|
DisplayRecentlyState = other.DisplayRecentlyState;
|
|
}
|
|
if (other.DisplayBattleRecord != false) {
|
|
DisplayBattleRecord = other.DisplayBattleRecord;
|
|
}
|
|
if (other.DisplayCollection != false) {
|
|
DisplayCollection = other.DisplayCollection;
|
|
}
|
|
_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) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
DisplayActiveState = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
AAMELOHPBHL = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
DisplayRecentlyState = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
DisplayChallengeLineup = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
DisplayCollection = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
DisplayBattleRecord = input.ReadBool();
|
|
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) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
DisplayActiveState = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
AAMELOHPBHL = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
DisplayRecentlyState = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
DisplayChallengeLineup = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
DisplayCollection = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
DisplayBattleRecord = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|