Files
DanhengServer-OpenSource/Proto/LobbyPlayerBasicInfo.cs
2025-05-03 15:43:59 +08:00

498 lines
17 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LobbyPlayerBasicInfo.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 LobbyPlayerBasicInfo.proto</summary>
public static partial class LobbyPlayerBasicInfoReflection {
#region Descriptor
/// <summary>File descriptor for LobbyPlayerBasicInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static LobbyPlayerBasicInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChpMb2JieVBsYXllckJhc2ljSW5mby5wcm90bxoSUGxhdGZvcm1UeXBlLnBy",
"b3RvIrwBChRMb2JieVBsYXllckJhc2ljSW5mbxILCgN1aWQYASABKA0SDQoF",
"bGV2ZWwYAiABKA0SEAoIbmlja25hbWUYAyABKAkSGgoSbG9iYnlfaGVhZF9p",
"Y29uX2lkGAQgASgNEh8KCHBsYXRmb3JtGAUgASgOMg0uUGxhdGZvcm1UeXBl",
"EhMKC0FLQ0VKRkNGQkFOGAYgASgJEhMKC0JKRUxMQVBPR0pOGAcgASgJEg8K",
"B3ZlcnNpb24YCCABKARCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"b2IGcHJvdG8z"));
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.LobbyPlayerBasicInfo), global::EggLink.DanhengServer.Proto.LobbyPlayerBasicInfo.Parser, new[]{ "Uid", "Level", "Nickname", "LobbyHeadIconId", "Platform", "AKCEJFCFBAN", "BJELLAPOGJN", "Version" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LobbyPlayerBasicInfo : pb::IMessage<LobbyPlayerBasicInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LobbyPlayerBasicInfo> _parser = new pb::MessageParser<LobbyPlayerBasicInfo>(() => new LobbyPlayerBasicInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LobbyPlayerBasicInfo> 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.LobbyPlayerBasicInfoReflection.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 LobbyPlayerBasicInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LobbyPlayerBasicInfo(LobbyPlayerBasicInfo other) : this() {
uid_ = other.uid_;
level_ = other.level_;
nickname_ = other.nickname_;
lobbyHeadIconId_ = other.lobbyHeadIconId_;
platform_ = other.platform_;
aKCEJFCFBAN_ = other.aKCEJFCFBAN_;
bJELLAPOGJN_ = other.bJELLAPOGJN_;
version_ = other.version_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LobbyPlayerBasicInfo Clone() {
return new LobbyPlayerBasicInfo(this);
}
/// <summary>Field number for the "uid" field.</summary>
public const int UidFieldNumber = 1;
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 "level" field.</summary>
public const int LevelFieldNumber = 2;
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 "nickname" field.</summary>
public const int NicknameFieldNumber = 3;
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");
}
}
/// <summary>Field number for the "lobby_head_icon_id" field.</summary>
public const int LobbyHeadIconIdFieldNumber = 4;
private uint lobbyHeadIconId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LobbyHeadIconId {
get { return lobbyHeadIconId_; }
set {
lobbyHeadIconId_ = value;
}
}
/// <summary>Field number for the "platform" field.</summary>
public const int PlatformFieldNumber = 5;
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 "AKCEJFCFBAN" field.</summary>
public const int AKCEJFCFBANFieldNumber = 6;
private string aKCEJFCFBAN_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string AKCEJFCFBAN {
get { return aKCEJFCFBAN_; }
set {
aKCEJFCFBAN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "BJELLAPOGJN" field.</summary>
public const int BJELLAPOGJNFieldNumber = 7;
private string bJELLAPOGJN_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string BJELLAPOGJN {
get { return bJELLAPOGJN_; }
set {
bJELLAPOGJN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "version" field.</summary>
public const int VersionFieldNumber = 8;
private ulong version_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong Version {
get { return version_; }
set {
version_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as LobbyPlayerBasicInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LobbyPlayerBasicInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Uid != other.Uid) return false;
if (Level != other.Level) return false;
if (Nickname != other.Nickname) return false;
if (LobbyHeadIconId != other.LobbyHeadIconId) return false;
if (Platform != other.Platform) return false;
if (AKCEJFCFBAN != other.AKCEJFCFBAN) return false;
if (BJELLAPOGJN != other.BJELLAPOGJN) return false;
if (Version != other.Version) 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 (Uid != 0) hash ^= Uid.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
if (LobbyHeadIconId != 0) hash ^= LobbyHeadIconId.GetHashCode();
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) hash ^= Platform.GetHashCode();
if (AKCEJFCFBAN.Length != 0) hash ^= AKCEJFCFBAN.GetHashCode();
if (BJELLAPOGJN.Length != 0) hash ^= BJELLAPOGJN.GetHashCode();
if (Version != 0UL) hash ^= Version.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 (Uid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Uid);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Nickname.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Nickname);
}
if (LobbyHeadIconId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(LobbyHeadIconId);
}
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
output.WriteRawTag(40);
output.WriteEnum((int) Platform);
}
if (AKCEJFCFBAN.Length != 0) {
output.WriteRawTag(50);
output.WriteString(AKCEJFCFBAN);
}
if (BJELLAPOGJN.Length != 0) {
output.WriteRawTag(58);
output.WriteString(BJELLAPOGJN);
}
if (Version != 0UL) {
output.WriteRawTag(64);
output.WriteUInt64(Version);
}
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 (Uid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Uid);
}
if (Level != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Level);
}
if (Nickname.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Nickname);
}
if (LobbyHeadIconId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(LobbyHeadIconId);
}
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
output.WriteRawTag(40);
output.WriteEnum((int) Platform);
}
if (AKCEJFCFBAN.Length != 0) {
output.WriteRawTag(50);
output.WriteString(AKCEJFCFBAN);
}
if (BJELLAPOGJN.Length != 0) {
output.WriteRawTag(58);
output.WriteString(BJELLAPOGJN);
}
if (Version != 0UL) {
output.WriteRawTag(64);
output.WriteUInt64(Version);
}
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 (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (Nickname.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
}
if (LobbyHeadIconId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LobbyHeadIconId);
}
if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Platform);
}
if (AKCEJFCFBAN.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(AKCEJFCFBAN);
}
if (BJELLAPOGJN.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BJELLAPOGJN);
}
if (Version != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Version);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LobbyPlayerBasicInfo other) {
if (other == null) {
return;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Nickname.Length != 0) {
Nickname = other.Nickname;
}
if (other.LobbyHeadIconId != 0) {
LobbyHeadIconId = other.LobbyHeadIconId;
}
if (other.Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) {
Platform = other.Platform;
}
if (other.AKCEJFCFBAN.Length != 0) {
AKCEJFCFBAN = other.AKCEJFCFBAN;
}
if (other.BJELLAPOGJN.Length != 0) {
BJELLAPOGJN = other.BJELLAPOGJN;
}
if (other.Version != 0UL) {
Version = other.Version;
}
_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: {
Uid = input.ReadUInt32();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 26: {
Nickname = input.ReadString();
break;
}
case 32: {
LobbyHeadIconId = input.ReadUInt32();
break;
}
case 40: {
Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum();
break;
}
case 50: {
AKCEJFCFBAN = input.ReadString();
break;
}
case 58: {
BJELLAPOGJN = input.ReadString();
break;
}
case 64: {
Version = input.ReadUInt64();
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: {
Uid = input.ReadUInt32();
break;
}
case 16: {
Level = input.ReadUInt32();
break;
}
case 26: {
Nickname = input.ReadString();
break;
}
case 32: {
LobbyHeadIconId = input.ReadUInt32();
break;
}
case 40: {
Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum();
break;
}
case 50: {
AKCEJFCFBAN = input.ReadString();
break;
}
case 58: {
BJELLAPOGJN = input.ReadString();
break;
}
case 64: {
Version = input.ReadUInt64();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code