mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
385 lines
13 KiB
C#
385 lines
13 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(
|
|
"ChVQcml2YWN5U2V0dGluZ3MucHJvdG8iegoPUHJpdmFjeVNldHRpbmdzEhMK",
|
|
"C0tNQ0NLSU1IQkJKGAogASgIEhMKC0tIS0FBUEFDR0pGGAggASgIEhMKC0tL",
|
|
"SEhDT1BFTkdNGAsgASgIEhMKC0tNQUNETUFGRkZOGAYgASgIEhMKC09JR0lQ",
|
|
"TUVPRUtCGAwgASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
|
|
"BnByb3RvMw=="));
|
|
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[]{ "KMCCKIMHBBJ", "KHKAAPACGJF", "KKHHCOPENGM", "KMACDMAFFFN", "OIGIPMEOEKB" }, 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() {
|
|
kMCCKIMHBBJ_ = other.kMCCKIMHBBJ_;
|
|
kHKAAPACGJF_ = other.kHKAAPACGJF_;
|
|
kKHHCOPENGM_ = other.kKHHCOPENGM_;
|
|
kMACDMAFFFN_ = other.kMACDMAFFFN_;
|
|
oIGIPMEOEKB_ = other.oIGIPMEOEKB_;
|
|
_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 "KMCCKIMHBBJ" field.</summary>
|
|
public const int KMCCKIMHBBJFieldNumber = 10;
|
|
private bool kMCCKIMHBBJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool KMCCKIMHBBJ {
|
|
get { return kMCCKIMHBBJ_; }
|
|
set {
|
|
kMCCKIMHBBJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KHKAAPACGJF" field.</summary>
|
|
public const int KHKAAPACGJFFieldNumber = 8;
|
|
private bool kHKAAPACGJF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool KHKAAPACGJF {
|
|
get { return kHKAAPACGJF_; }
|
|
set {
|
|
kHKAAPACGJF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KKHHCOPENGM" field.</summary>
|
|
public const int KKHHCOPENGMFieldNumber = 11;
|
|
private bool kKHHCOPENGM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool KKHHCOPENGM {
|
|
get { return kKHHCOPENGM_; }
|
|
set {
|
|
kKHHCOPENGM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KMACDMAFFFN" field.</summary>
|
|
public const int KMACDMAFFFNFieldNumber = 6;
|
|
private bool kMACDMAFFFN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool KMACDMAFFFN {
|
|
get { return kMACDMAFFFN_; }
|
|
set {
|
|
kMACDMAFFFN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "OIGIPMEOEKB" field.</summary>
|
|
public const int OIGIPMEOEKBFieldNumber = 12;
|
|
private bool oIGIPMEOEKB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool OIGIPMEOEKB {
|
|
get { return oIGIPMEOEKB_; }
|
|
set {
|
|
oIGIPMEOEKB_ = 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 (KMCCKIMHBBJ != other.KMCCKIMHBBJ) return false;
|
|
if (KHKAAPACGJF != other.KHKAAPACGJF) return false;
|
|
if (KKHHCOPENGM != other.KKHHCOPENGM) return false;
|
|
if (KMACDMAFFFN != other.KMACDMAFFFN) return false;
|
|
if (OIGIPMEOEKB != other.OIGIPMEOEKB) 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 (KMCCKIMHBBJ != false) hash ^= KMCCKIMHBBJ.GetHashCode();
|
|
if (KHKAAPACGJF != false) hash ^= KHKAAPACGJF.GetHashCode();
|
|
if (KKHHCOPENGM != false) hash ^= KKHHCOPENGM.GetHashCode();
|
|
if (KMACDMAFFFN != false) hash ^= KMACDMAFFFN.GetHashCode();
|
|
if (OIGIPMEOEKB != false) hash ^= OIGIPMEOEKB.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 (KMACDMAFFFN != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(KMACDMAFFFN);
|
|
}
|
|
if (KHKAAPACGJF != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(KHKAAPACGJF);
|
|
}
|
|
if (KMCCKIMHBBJ != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(KMCCKIMHBBJ);
|
|
}
|
|
if (KKHHCOPENGM != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(KKHHCOPENGM);
|
|
}
|
|
if (OIGIPMEOEKB != false) {
|
|
output.WriteRawTag(96);
|
|
output.WriteBool(OIGIPMEOEKB);
|
|
}
|
|
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 (KMACDMAFFFN != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(KMACDMAFFFN);
|
|
}
|
|
if (KHKAAPACGJF != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(KHKAAPACGJF);
|
|
}
|
|
if (KMCCKIMHBBJ != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(KMCCKIMHBBJ);
|
|
}
|
|
if (KKHHCOPENGM != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(KKHHCOPENGM);
|
|
}
|
|
if (OIGIPMEOEKB != false) {
|
|
output.WriteRawTag(96);
|
|
output.WriteBool(OIGIPMEOEKB);
|
|
}
|
|
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 (KMCCKIMHBBJ != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (KHKAAPACGJF != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (KKHHCOPENGM != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (KMACDMAFFFN != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (OIGIPMEOEKB != 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.KMCCKIMHBBJ != false) {
|
|
KMCCKIMHBBJ = other.KMCCKIMHBBJ;
|
|
}
|
|
if (other.KHKAAPACGJF != false) {
|
|
KHKAAPACGJF = other.KHKAAPACGJF;
|
|
}
|
|
if (other.KKHHCOPENGM != false) {
|
|
KKHHCOPENGM = other.KKHHCOPENGM;
|
|
}
|
|
if (other.KMACDMAFFFN != false) {
|
|
KMACDMAFFFN = other.KMACDMAFFFN;
|
|
}
|
|
if (other.OIGIPMEOEKB != false) {
|
|
OIGIPMEOEKB = other.OIGIPMEOEKB;
|
|
}
|
|
_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 48: {
|
|
KMACDMAFFFN = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
KHKAAPACGJF = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
KMCCKIMHBBJ = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
KKHHCOPENGM = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
OIGIPMEOEKB = 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 48: {
|
|
KMACDMAFFFN = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
KHKAAPACGJF = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
KMCCKIMHBBJ = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
KKHHCOPENGM = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
OIGIPMEOEKB = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|