Files
DanhengServer-OpenSource/Proto/PlayerExtraInfo.cs
2024-12-07 14:00:38 +08:00

343 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlayerExtraInfo.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 PlayerExtraInfo.proto</summary>
public static partial class PlayerExtraInfoReflection {
#region Descriptor
/// <summary>File descriptor for PlayerExtraInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PlayerExtraInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVQbGF5ZXJFeHRyYUluZm8ucHJvdG8aEUlBRkFMRUJMTUlELnByb3RvInAK",
"D1BsYXllckV4dHJhSW5mbxITCgtQRUdNTk1DREFCTxgBIAMoCRITCgtDQ0xH",
"QkZDSEtETxgCIAEoCBIkCgtBSUpIRk9HSklITBjpByABKAsyDC5JQUZBTEVC",
"TE1JREgAQg0KC0NCTUtMS01JQ0JIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2",
"ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.IAFALEBLMIDReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerExtraInfo), global::EggLink.DanhengServer.Proto.PlayerExtraInfo.Parser, new[]{ "PEGMNMCDABO", "CCLGBFCHKDO", "AIJHFOGJIHL" }, new[]{ "CBMKLKMICBH" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerExtraInfo : pb::IMessage<PlayerExtraInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerExtraInfo> _parser = new pb::MessageParser<PlayerExtraInfo>(() => new PlayerExtraInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerExtraInfo> 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.PlayerExtraInfoReflection.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 PlayerExtraInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerExtraInfo(PlayerExtraInfo other) : this() {
pEGMNMCDABO_ = other.pEGMNMCDABO_.Clone();
cCLGBFCHKDO_ = other.cCLGBFCHKDO_;
switch (other.CBMKLKMICBHCase) {
case CBMKLKMICBHOneofCase.AIJHFOGJIHL:
AIJHFOGJIHL = other.AIJHFOGJIHL.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerExtraInfo Clone() {
return new PlayerExtraInfo(this);
}
/// <summary>Field number for the "PEGMNMCDABO" field.</summary>
public const int PEGMNMCDABOFieldNumber = 1;
private static readonly pb::FieldCodec<string> _repeated_pEGMNMCDABO_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField<string> pEGMNMCDABO_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> PEGMNMCDABO {
get { return pEGMNMCDABO_; }
}
/// <summary>Field number for the "CCLGBFCHKDO" field.</summary>
public const int CCLGBFCHKDOFieldNumber = 2;
private bool cCLGBFCHKDO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CCLGBFCHKDO {
get { return cCLGBFCHKDO_; }
set {
cCLGBFCHKDO_ = value;
}
}
/// <summary>Field number for the "AIJHFOGJIHL" field.</summary>
public const int AIJHFOGJIHLFieldNumber = 1001;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.IAFALEBLMID AIJHFOGJIHL {
get { return cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL ? (global::EggLink.DanhengServer.Proto.IAFALEBLMID) cBMKLKMICBH_ : null; }
set {
cBMKLKMICBH_ = value;
cBMKLKMICBHCase_ = value == null ? CBMKLKMICBHOneofCase.None : CBMKLKMICBHOneofCase.AIJHFOGJIHL;
}
}
private object cBMKLKMICBH_;
/// <summary>Enum of possible cases for the "CBMKLKMICBH" oneof.</summary>
public enum CBMKLKMICBHOneofCase {
None = 0,
AIJHFOGJIHL = 1001,
}
private CBMKLKMICBHOneofCase cBMKLKMICBHCase_ = CBMKLKMICBHOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CBMKLKMICBHOneofCase CBMKLKMICBHCase {
get { return cBMKLKMICBHCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearCBMKLKMICBH() {
cBMKLKMICBHCase_ = CBMKLKMICBHOneofCase.None;
cBMKLKMICBH_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerExtraInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerExtraInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!pEGMNMCDABO_.Equals(other.pEGMNMCDABO_)) return false;
if (CCLGBFCHKDO != other.CCLGBFCHKDO) return false;
if (!object.Equals(AIJHFOGJIHL, other.AIJHFOGJIHL)) return false;
if (CBMKLKMICBHCase != other.CBMKLKMICBHCase) 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 ^= pEGMNMCDABO_.GetHashCode();
if (CCLGBFCHKDO != false) hash ^= CCLGBFCHKDO.GetHashCode();
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) hash ^= AIJHFOGJIHL.GetHashCode();
hash ^= (int) cBMKLKMICBHCase_;
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
pEGMNMCDABO_.WriteTo(output, _repeated_pEGMNMCDABO_codec);
if (CCLGBFCHKDO != false) {
output.WriteRawTag(16);
output.WriteBool(CCLGBFCHKDO);
}
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) {
output.WriteRawTag(202, 62);
output.WriteMessage(AIJHFOGJIHL);
}
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) {
pEGMNMCDABO_.WriteTo(ref output, _repeated_pEGMNMCDABO_codec);
if (CCLGBFCHKDO != false) {
output.WriteRawTag(16);
output.WriteBool(CCLGBFCHKDO);
}
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) {
output.WriteRawTag(202, 62);
output.WriteMessage(AIJHFOGJIHL);
}
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 += pEGMNMCDABO_.CalculateSize(_repeated_pEGMNMCDABO_codec);
if (CCLGBFCHKDO != false) {
size += 1 + 1;
}
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AIJHFOGJIHL);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerExtraInfo other) {
if (other == null) {
return;
}
pEGMNMCDABO_.Add(other.pEGMNMCDABO_);
if (other.CCLGBFCHKDO != false) {
CCLGBFCHKDO = other.CCLGBFCHKDO;
}
switch (other.CBMKLKMICBHCase) {
case CBMKLKMICBHOneofCase.AIJHFOGJIHL:
if (AIJHFOGJIHL == null) {
AIJHFOGJIHL = new global::EggLink.DanhengServer.Proto.IAFALEBLMID();
}
AIJHFOGJIHL.MergeFrom(other.AIJHFOGJIHL);
break;
}
_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 10: {
pEGMNMCDABO_.AddEntriesFrom(input, _repeated_pEGMNMCDABO_codec);
break;
}
case 16: {
CCLGBFCHKDO = input.ReadBool();
break;
}
case 8010: {
global::EggLink.DanhengServer.Proto.IAFALEBLMID subBuilder = new global::EggLink.DanhengServer.Proto.IAFALEBLMID();
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) {
subBuilder.MergeFrom(AIJHFOGJIHL);
}
input.ReadMessage(subBuilder);
AIJHFOGJIHL = subBuilder;
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 10: {
pEGMNMCDABO_.AddEntriesFrom(ref input, _repeated_pEGMNMCDABO_codec);
break;
}
case 16: {
CCLGBFCHKDO = input.ReadBool();
break;
}
case 8010: {
global::EggLink.DanhengServer.Proto.IAFALEBLMID subBuilder = new global::EggLink.DanhengServer.Proto.IAFALEBLMID();
if (cBMKLKMICBHCase_ == CBMKLKMICBHOneofCase.AIJHFOGJIHL) {
subBuilder.MergeFrom(AIJHFOGJIHL);
}
input.ReadMessage(subBuilder);
AIJHFOGJIHL = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code