// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: PlayerSimpleInfo.proto // #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 { /// Holder for reflection information generated from PlayerSimpleInfo.proto public static partial class PlayerSimpleInfoReflection { #region Descriptor /// File descriptor for PlayerSimpleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PlayerSimpleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZQbGF5ZXJTaW1wbGVJbmZvLnByb3RvGhhGcmllbmRPbmxpbmVTdGF0dXMu", "cHJvdG8aElBsYXRmb3JtVHlwZS5wcm90bxoWQXNzaXN0U2ltcGxlSW5mby5w", "cm90byLWAgoQUGxheWVyU2ltcGxlSW5mbxIWCg5jaGF0X2J1YmJsZV9pZBgL", "IAEoDRIRCgloZWFkX2ljb24YDyABKA0SKgoNb25saW5lX3N0YXR1cxgHIAEo", "DjITLkZyaWVuZE9ubGluZVN0YXR1cxINCgVsZXZlbBgOIAEoDRILCgN1aWQY", "CSABKA0SEwoLR01BTENQTk9IQkYYASABKAkSEAoIbmlja25hbWUYDCABKAkS", "EQoJaXNfYmFubmVkGAUgASgIEh8KCHBsYXRmb3JtGAggASgOMg0uUGxhdGZv", "cm1UeXBlEhMKC0FLQ0VKRkNGQkFOGAYgASgJEjIKF2Fzc2lzdF9zaW1wbGVf", "aW5mb19saXN0GAogAygLMhEuQXNzaXN0U2ltcGxlSW5mbxIRCglzaWduYXR1", "cmUYAyABKAkSGAoQbGFzdF9hY3RpdmVfdGltZRgEIAEoA0IeqgIbRWdnTGlu", "ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FriendOnlineStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlatformTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.AssistSimpleInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerSimpleInfo), global::EggLink.DanhengServer.Proto.PlayerSimpleInfo.Parser, new[]{ "ChatBubbleId", "HeadIcon", "OnlineStatus", "Level", "Uid", "GMALCPNOHBF", "Nickname", "IsBanned", "Platform", "AKCEJFCFBAN", "AssistSimpleInfoList", "Signature", "LastActiveTime" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PlayerSimpleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSimpleInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.PlayerSimpleInfoReflection.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 PlayerSimpleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerSimpleInfo(PlayerSimpleInfo other) : this() { chatBubbleId_ = other.chatBubbleId_; headIcon_ = other.headIcon_; onlineStatus_ = other.onlineStatus_; level_ = other.level_; uid_ = other.uid_; gMALCPNOHBF_ = other.gMALCPNOHBF_; nickname_ = other.nickname_; isBanned_ = other.isBanned_; platform_ = other.platform_; aKCEJFCFBAN_ = other.aKCEJFCFBAN_; assistSimpleInfoList_ = other.assistSimpleInfoList_.Clone(); signature_ = other.signature_; lastActiveTime_ = other.lastActiveTime_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerSimpleInfo Clone() { return new PlayerSimpleInfo(this); } /// Field number for the "chat_bubble_id" field. public const int ChatBubbleIdFieldNumber = 11; private uint chatBubbleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChatBubbleId { get { return chatBubbleId_; } set { chatBubbleId_ = value; } } /// Field number for the "head_icon" field. public const int HeadIconFieldNumber = 15; private uint headIcon_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint HeadIcon { get { return headIcon_; } set { headIcon_ = value; } } /// Field number for the "online_status" field. public const int OnlineStatusFieldNumber = 7; private global::EggLink.DanhengServer.Proto.FriendOnlineStatus onlineStatus_ = global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.FriendOnlineStatus OnlineStatus { get { return onlineStatus_; } set { onlineStatus_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 14; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = value; } } /// Field number for the "uid" field. public const int UidFieldNumber = 9; private uint uid_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Uid { get { return uid_; } set { uid_ = value; } } /// Field number for the "GMALCPNOHBF" field. public const int GMALCPNOHBFFieldNumber = 1; private string gMALCPNOHBF_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GMALCPNOHBF { get { return gMALCPNOHBF_; } set { gMALCPNOHBF_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "nickname" field. public const int NicknameFieldNumber = 12; 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"); } } /// Field number for the "is_banned" field. public const int IsBannedFieldNumber = 5; private bool isBanned_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsBanned { get { return isBanned_; } set { isBanned_ = value; } } /// Field number for the "platform" field. public const int PlatformFieldNumber = 8; 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; } } /// Field number for the "AKCEJFCFBAN" field. 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"); } } /// Field number for the "assist_simple_info_list" field. public const int AssistSimpleInfoListFieldNumber = 10; private static readonly pb::FieldCodec _repeated_assistSimpleInfoList_codec = pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.AssistSimpleInfo.Parser); private readonly pbc::RepeatedField assistSimpleInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AssistSimpleInfoList { get { return assistSimpleInfoList_; } } /// Field number for the "signature" field. public const int SignatureFieldNumber = 3; private string signature_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Signature { get { return signature_; } set { signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "last_active_time" field. public const int LastActiveTimeFieldNumber = 4; private long lastActiveTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long LastActiveTime { get { return lastActiveTime_; } set { lastActiveTime_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PlayerSimpleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PlayerSimpleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ChatBubbleId != other.ChatBubbleId) return false; if (HeadIcon != other.HeadIcon) return false; if (OnlineStatus != other.OnlineStatus) return false; if (Level != other.Level) return false; if (Uid != other.Uid) return false; if (GMALCPNOHBF != other.GMALCPNOHBF) return false; if (Nickname != other.Nickname) return false; if (IsBanned != other.IsBanned) return false; if (Platform != other.Platform) return false; if (AKCEJFCFBAN != other.AKCEJFCFBAN) return false; if(!assistSimpleInfoList_.Equals(other.assistSimpleInfoList_)) return false; if (Signature != other.Signature) return false; if (LastActiveTime != other.LastActiveTime) 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 (ChatBubbleId != 0) hash ^= ChatBubbleId.GetHashCode(); if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) hash ^= OnlineStatus.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Uid != 0) hash ^= Uid.GetHashCode(); if (GMALCPNOHBF.Length != 0) hash ^= GMALCPNOHBF.GetHashCode(); if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); if (IsBanned != false) hash ^= IsBanned.GetHashCode(); if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) hash ^= Platform.GetHashCode(); if (AKCEJFCFBAN.Length != 0) hash ^= AKCEJFCFBAN.GetHashCode(); hash ^= assistSimpleInfoList_.GetHashCode(); if (Signature.Length != 0) hash ^= Signature.GetHashCode(); if (LastActiveTime != 0L) hash ^= LastActiveTime.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 (GMALCPNOHBF.Length != 0) { output.WriteRawTag(10); output.WriteString(GMALCPNOHBF); } if (Signature.Length != 0) { output.WriteRawTag(26); output.WriteString(Signature); } if (LastActiveTime != 0L) { output.WriteRawTag(32); output.WriteInt64(LastActiveTime); } if (IsBanned != false) { output.WriteRawTag(40); output.WriteBool(IsBanned); } if (AKCEJFCFBAN.Length != 0) { output.WriteRawTag(50); output.WriteString(AKCEJFCFBAN); } if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { output.WriteRawTag(56); output.WriteEnum((int) OnlineStatus); } if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { output.WriteRawTag(64); output.WriteEnum((int) Platform); } if (Uid != 0) { output.WriteRawTag(72); output.WriteUInt32(Uid); } assistSimpleInfoList_.WriteTo(output, _repeated_assistSimpleInfoList_codec); if (ChatBubbleId != 0) { output.WriteRawTag(88); output.WriteUInt32(ChatBubbleId); } if (Nickname.Length != 0) { output.WriteRawTag(98); output.WriteString(Nickname); } if (Level != 0) { output.WriteRawTag(112); output.WriteUInt32(Level); } if (HeadIcon != 0) { output.WriteRawTag(120); output.WriteUInt32(HeadIcon); } 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 (GMALCPNOHBF.Length != 0) { output.WriteRawTag(10); output.WriteString(GMALCPNOHBF); } if (Signature.Length != 0) { output.WriteRawTag(26); output.WriteString(Signature); } if (LastActiveTime != 0L) { output.WriteRawTag(32); output.WriteInt64(LastActiveTime); } if (IsBanned != false) { output.WriteRawTag(40); output.WriteBool(IsBanned); } if (AKCEJFCFBAN.Length != 0) { output.WriteRawTag(50); output.WriteString(AKCEJFCFBAN); } if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { output.WriteRawTag(56); output.WriteEnum((int) OnlineStatus); } if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { output.WriteRawTag(64); output.WriteEnum((int) Platform); } if (Uid != 0) { output.WriteRawTag(72); output.WriteUInt32(Uid); } assistSimpleInfoList_.WriteTo(ref output, _repeated_assistSimpleInfoList_codec); if (ChatBubbleId != 0) { output.WriteRawTag(88); output.WriteUInt32(ChatBubbleId); } if (Nickname.Length != 0) { output.WriteRawTag(98); output.WriteString(Nickname); } if (Level != 0) { output.WriteRawTag(112); output.WriteUInt32(Level); } if (HeadIcon != 0) { output.WriteRawTag(120); output.WriteUInt32(HeadIcon); } 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 (ChatBubbleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChatBubbleId); } if (HeadIcon != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); } if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OnlineStatus); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (Uid != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid); } if (GMALCPNOHBF.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GMALCPNOHBF); } if (Nickname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } if (IsBanned != false) { size += 1 + 1; } 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); } size += assistSimpleInfoList_.CalculateSize(_repeated_assistSimpleInfoList_codec); if (Signature.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); } if (LastActiveTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastActiveTime); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PlayerSimpleInfo other) { if (other == null) { return; } if (other.ChatBubbleId != 0) { ChatBubbleId = other.ChatBubbleId; } if (other.HeadIcon != 0) { HeadIcon = other.HeadIcon; } if (other.OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { OnlineStatus = other.OnlineStatus; } if (other.Level != 0) { Level = other.Level; } if (other.Uid != 0) { Uid = other.Uid; } if (other.GMALCPNOHBF.Length != 0) { GMALCPNOHBF = other.GMALCPNOHBF; } if (other.Nickname.Length != 0) { Nickname = other.Nickname; } if (other.IsBanned != false) { IsBanned = other.IsBanned; } if (other.Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { Platform = other.Platform; } if (other.AKCEJFCFBAN.Length != 0) { AKCEJFCFBAN = other.AKCEJFCFBAN; } assistSimpleInfoList_.Add(other.assistSimpleInfoList_); if (other.Signature.Length != 0) { Signature = other.Signature; } if (other.LastActiveTime != 0L) { LastActiveTime = other.LastActiveTime; } _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: { GMALCPNOHBF = input.ReadString(); break; } case 26: { Signature = input.ReadString(); break; } case 32: { LastActiveTime = input.ReadInt64(); break; } case 40: { IsBanned = input.ReadBool(); break; } case 50: { AKCEJFCFBAN = input.ReadString(); break; } case 56: { OnlineStatus = (global::EggLink.DanhengServer.Proto.FriendOnlineStatus) input.ReadEnum(); break; } case 64: { Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum(); break; } case 72: { Uid = input.ReadUInt32(); break; } case 82: { assistSimpleInfoList_.AddEntriesFrom(input, _repeated_assistSimpleInfoList_codec); break; } case 88: { ChatBubbleId = input.ReadUInt32(); break; } case 98: { Nickname = input.ReadString(); break; } case 112: { Level = input.ReadUInt32(); break; } case 120: { HeadIcon = 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 10: { GMALCPNOHBF = input.ReadString(); break; } case 26: { Signature = input.ReadString(); break; } case 32: { LastActiveTime = input.ReadInt64(); break; } case 40: { IsBanned = input.ReadBool(); break; } case 50: { AKCEJFCFBAN = input.ReadString(); break; } case 56: { OnlineStatus = (global::EggLink.DanhengServer.Proto.FriendOnlineStatus) input.ReadEnum(); break; } case 64: { Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum(); break; } case 72: { Uid = input.ReadUInt32(); break; } case 82: { assistSimpleInfoList_.AddEntriesFrom(ref input, _repeated_assistSimpleInfoList_codec); break; } case 88: { ChatBubbleId = input.ReadUInt32(); break; } case 98: { Nickname = input.ReadString(); break; } case 112: { Level = input.ReadUInt32(); break; } case 120: { HeadIcon = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code