mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
497 lines
17 KiB
C#
497 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ACPDAGMPCPC.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 ACPDAGMPCPC.proto</summary>
|
|
public static partial class ACPDAGMPCPCReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ACPDAGMPCPC.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ACPDAGMPCPCReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFBQ1BEQUdNUENQQy5wcm90bxoSUGxhdGZvcm1UeXBlLnByb3RvIq4BCgtB",
|
|
"Q1BEQUdNUENQQxIfCghwbGF0Zm9ybRgHIAEoDjINLlBsYXRmb3JtVHlwZRIN",
|
|
"CgVsZXZlbBgKIAEoDRIRCgloZWFkX2ljb24YCyABKA0SCwoDdWlkGA8gASgN",
|
|
"EhMKC3JlbWFya19uYW1lGAMgASgJEhMKC0hGSEdQTE1FRkdKGA0gASgJEhMK",
|
|
"C01IQ0tPRUFER0VMGAkgASgNEhAKCG5pY2tuYW1lGAIgASgJQh6qAhtFZ2dM",
|
|
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlatformTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ACPDAGMPCPC), global::EggLink.DanhengServer.Proto.ACPDAGMPCPC.Parser, new[]{ "Platform", "Level", "HeadIcon", "Uid", "RemarkName", "HFHGPLMEFGJ", "MHCKOEADGEL", "Nickname" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ACPDAGMPCPC : pb::IMessage<ACPDAGMPCPC>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ACPDAGMPCPC> _parser = new pb::MessageParser<ACPDAGMPCPC>(() => new ACPDAGMPCPC());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ACPDAGMPCPC> 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.ACPDAGMPCPCReflection.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 ACPDAGMPCPC() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ACPDAGMPCPC(ACPDAGMPCPC other) : this() {
|
|
platform_ = other.platform_;
|
|
level_ = other.level_;
|
|
headIcon_ = other.headIcon_;
|
|
uid_ = other.uid_;
|
|
remarkName_ = other.remarkName_;
|
|
hFHGPLMEFGJ_ = other.hFHGPLMEFGJ_;
|
|
mHCKOEADGEL_ = other.mHCKOEADGEL_;
|
|
nickname_ = other.nickname_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ACPDAGMPCPC Clone() {
|
|
return new ACPDAGMPCPC(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "platform" field.</summary>
|
|
public const int PlatformFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.PlatformType platform_ = global::EggLink.DanhengServer.Proto.PlatformType.Editor;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlatformType Platform {
|
|
get { return platform_; }
|
|
set {
|
|
platform_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "level" field.</summary>
|
|
public const int LevelFieldNumber = 10;
|
|
private uint level_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Level {
|
|
get { return level_; }
|
|
set {
|
|
level_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "head_icon" field.</summary>
|
|
public const int HeadIconFieldNumber = 11;
|
|
private uint headIcon_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint HeadIcon {
|
|
get { return headIcon_; }
|
|
set {
|
|
headIcon_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "uid" field.</summary>
|
|
public const int UidFieldNumber = 15;
|
|
private uint uid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Uid {
|
|
get { return uid_; }
|
|
set {
|
|
uid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "remark_name" field.</summary>
|
|
public const int RemarkNameFieldNumber = 3;
|
|
private string remarkName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RemarkName {
|
|
get { return remarkName_; }
|
|
set {
|
|
remarkName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HFHGPLMEFGJ" field.</summary>
|
|
public const int HFHGPLMEFGJFieldNumber = 13;
|
|
private string hFHGPLMEFGJ_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string HFHGPLMEFGJ {
|
|
get { return hFHGPLMEFGJ_; }
|
|
set {
|
|
hFHGPLMEFGJ_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MHCKOEADGEL" field.</summary>
|
|
public const int MHCKOEADGELFieldNumber = 9;
|
|
private uint mHCKOEADGEL_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MHCKOEADGEL {
|
|
get { return mHCKOEADGEL_; }
|
|
set {
|
|
mHCKOEADGEL_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "nickname" field.</summary>
|
|
public const int NicknameFieldNumber = 2;
|
|
private string nickname_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Nickname {
|
|
get { return nickname_; }
|
|
set {
|
|
nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ACPDAGMPCPC);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ACPDAGMPCPC other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Platform != other.Platform) return false;
|
|
if (Level != other.Level) return false;
|
|
if (HeadIcon != other.HeadIcon) return false;
|
|
if (Uid != other.Uid) return false;
|
|
if (RemarkName != other.RemarkName) return false;
|
|
if (HFHGPLMEFGJ != other.HFHGPLMEFGJ) return false;
|
|
if (MHCKOEADGEL != other.MHCKOEADGEL) return false;
|
|
if (Nickname != other.Nickname) 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 (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) hash ^= Platform.GetHashCode();
|
|
if (Level != 0) hash ^= Level.GetHashCode();
|
|
if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode();
|
|
if (Uid != 0) hash ^= Uid.GetHashCode();
|
|
if (RemarkName.Length != 0) hash ^= RemarkName.GetHashCode();
|
|
if (HFHGPLMEFGJ.Length != 0) hash ^= HFHGPLMEFGJ.GetHashCode();
|
|
if (MHCKOEADGEL != 0) hash ^= MHCKOEADGEL.GetHashCode();
|
|
if (Nickname.Length != 0) hash ^= Nickname.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 (Nickname.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Nickname);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) Platform);
|
|
}
|
|
if (MHCKOEADGEL != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(MHCKOEADGEL);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (HeadIcon != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(HeadIcon);
|
|
}
|
|
if (HFHGPLMEFGJ.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(HFHGPLMEFGJ);
|
|
}
|
|
if (Uid != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
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 (Nickname.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Nickname);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) Platform);
|
|
}
|
|
if (MHCKOEADGEL != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(MHCKOEADGEL);
|
|
}
|
|
if (Level != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (HeadIcon != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(HeadIcon);
|
|
}
|
|
if (HFHGPLMEFGJ.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(HFHGPLMEFGJ);
|
|
}
|
|
if (Uid != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
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 (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Platform);
|
|
}
|
|
if (Level != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
|
|
}
|
|
if (HeadIcon != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon);
|
|
}
|
|
if (Uid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RemarkName);
|
|
}
|
|
if (HFHGPLMEFGJ.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(HFHGPLMEFGJ);
|
|
}
|
|
if (MHCKOEADGEL != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MHCKOEADGEL);
|
|
}
|
|
if (Nickname.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ACPDAGMPCPC other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
|
|
Platform = other.Platform;
|
|
}
|
|
if (other.Level != 0) {
|
|
Level = other.Level;
|
|
}
|
|
if (other.HeadIcon != 0) {
|
|
HeadIcon = other.HeadIcon;
|
|
}
|
|
if (other.Uid != 0) {
|
|
Uid = other.Uid;
|
|
}
|
|
if (other.RemarkName.Length != 0) {
|
|
RemarkName = other.RemarkName;
|
|
}
|
|
if (other.HFHGPLMEFGJ.Length != 0) {
|
|
HFHGPLMEFGJ = other.HFHGPLMEFGJ;
|
|
}
|
|
if (other.MHCKOEADGEL != 0) {
|
|
MHCKOEADGEL = other.MHCKOEADGEL;
|
|
}
|
|
if (other.Nickname.Length != 0) {
|
|
Nickname = other.Nickname;
|
|
}
|
|
_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 18: {
|
|
Nickname = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
MHCKOEADGEL = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
HeadIcon = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
HFHGPLMEFGJ = input.ReadString();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Uid = input.ReadUInt32();
|
|
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 18: {
|
|
Nickname = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
MHCKOEADGEL = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
HeadIcon = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
HFHGPLMEFGJ = input.ReadString();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Uid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|