mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
293 lines
11 KiB
C#
293 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PlayerAssistInfo.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 PlayerAssistInfo.proto</summary>
|
|
public static partial class PlayerAssistInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PlayerAssistInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerAssistInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZQbGF5ZXJBc3Npc3RJbmZvLnByb3RvGhZQbGF5ZXJTaW1wbGVJbmZvLnBy",
|
|
"b3RvGh1EaXNwbGF5QXZhdGFyRGV0YWlsSW5mby5wcm90byJpChBQbGF5ZXJB",
|
|
"c3Npc3RJbmZvEiYKC3BsYXllcl9pbmZvGAcgASgLMhEuUGxheWVyU2ltcGxl",
|
|
"SW5mbxItCgtNREhGQU5MSE5NQRgNIAEoCzIYLkRpc3BsYXlBdmF0YXJEZXRh",
|
|
"aWxJbmZvQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlayerSimpleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerAssistInfo), global::EggLink.DanhengServer.Proto.PlayerAssistInfo.Parser, new[]{ "PlayerInfo", "MDHFANLHNMA" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerAssistInfo : pb::IMessage<PlayerAssistInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerAssistInfo> _parser = new pb::MessageParser<PlayerAssistInfo>(() => new PlayerAssistInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerAssistInfo> 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.PlayerAssistInfoReflection.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 PlayerAssistInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerAssistInfo(PlayerAssistInfo other) : this() {
|
|
playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null;
|
|
mDHFANLHNMA_ = other.mDHFANLHNMA_ != null ? other.mDHFANLHNMA_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerAssistInfo Clone() {
|
|
return new PlayerAssistInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "player_info" field.</summary>
|
|
public const int PlayerInfoFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.PlayerSimpleInfo playerInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlayerSimpleInfo PlayerInfo {
|
|
get { return playerInfo_; }
|
|
set {
|
|
playerInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MDHFANLHNMA" field.</summary>
|
|
public const int MDHFANLHNMAFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo mDHFANLHNMA_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo MDHFANLHNMA {
|
|
get { return mDHFANLHNMA_; }
|
|
set {
|
|
mDHFANLHNMA_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerAssistInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerAssistInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false;
|
|
if (!object.Equals(MDHFANLHNMA, other.MDHFANLHNMA)) 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 (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode();
|
|
if (mDHFANLHNMA_ != null) hash ^= MDHFANLHNMA.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 (playerInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (mDHFANLHNMA_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(MDHFANLHNMA);
|
|
}
|
|
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 (playerInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (mDHFANLHNMA_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(MDHFANLHNMA);
|
|
}
|
|
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 (playerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo);
|
|
}
|
|
if (mDHFANLHNMA_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MDHFANLHNMA);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerAssistInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.playerInfo_ != null) {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
PlayerInfo.MergeFrom(other.PlayerInfo);
|
|
}
|
|
if (other.mDHFANLHNMA_ != null) {
|
|
if (mDHFANLHNMA_ == null) {
|
|
MDHFANLHNMA = new global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo();
|
|
}
|
|
MDHFANLHNMA.MergeFrom(other.MDHFANLHNMA);
|
|
}
|
|
_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 58: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (mDHFANLHNMA_ == null) {
|
|
MDHFANLHNMA = new global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo();
|
|
}
|
|
input.ReadMessage(MDHFANLHNMA);
|
|
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 58: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (mDHFANLHNMA_ == null) {
|
|
MDHFANLHNMA = new global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo();
|
|
}
|
|
input.ReadMessage(MDHFANLHNMA);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|