// // 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( "ChZQbGF5ZXJTaW1wbGVJbmZvLnByb3RvGhJQbGF0Zm9ybVR5cGUucHJvdG8a", "FkFzc2lzdFNpbXBsZUluZm8ucHJvdG8aGEZyaWVuZE9ubGluZVN0YXR1cy5w", "cm90byLWAgoQUGxheWVyU2ltcGxlSW5mbxIYChBsYXN0X2FjdGl2ZV90aW1l", "GAEgASgDEhAKCG5pY2tuYW1lGAwgASgJEhMKC0FFT0hKSU5HSUZLGA8gASgJ", "Eh8KCHBsYXRmb3JtGA0gASgOMg0uUGxhdGZvcm1UeXBlEg0KBWxldmVsGAQg", "ASgNEhEKCWlzX2Jhbm5lZBgFIAEoCBIWCg5jaGF0X2J1YmJsZV9pZBgOIAEo", "DRIRCglzaWduYXR1cmUYCCABKAkSEwoLUERDSUxBRE1KSUoYBiABKAkSMgoX", "YXNzaXN0X3NpbXBsZV9pbmZvX2xpc3QYByADKAsyES5Bc3Npc3RTaW1wbGVJ", "bmZvEhEKCWhlYWRfaWNvbhgLIAEoDRIqCg1vbmxpbmVfc3RhdHVzGAIgASgO", "MhMuRnJpZW5kT25saW5lU3RhdHVzEgsKA3VpZBgKIAEoDUIeqgIbRWdnTGlu", "ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlatformTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.AssistSimpleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.FriendOnlineStatusReflection.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[]{ "LastActiveTime", "Nickname", "AEOHJINGIFK", "Platform", "Level", "IsBanned", "ChatBubbleId", "Signature", "PDCILADMJIJ", "AssistSimpleInfoList", "HeadIcon", "OnlineStatus", "Uid" }, 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() { lastActiveTime_ = other.lastActiveTime_; nickname_ = other.nickname_; aEOHJINGIFK_ = other.aEOHJINGIFK_; platform_ = other.platform_; level_ = other.level_; isBanned_ = other.isBanned_; chatBubbleId_ = other.chatBubbleId_; signature_ = other.signature_; pDCILADMJIJ_ = other.pDCILADMJIJ_; assistSimpleInfoList_ = other.assistSimpleInfoList_.Clone(); headIcon_ = other.headIcon_; onlineStatus_ = other.onlineStatus_; uid_ = other.uid_; _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 "last_active_time" field. public const int LastActiveTimeFieldNumber = 1; private long lastActiveTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long LastActiveTime { get { return lastActiveTime_; } set { lastActiveTime_ = 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 "AEOHJINGIFK" field. public const int AEOHJINGIFKFieldNumber = 15; private string aEOHJINGIFK_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AEOHJINGIFK { get { return aEOHJINGIFK_; } set { aEOHJINGIFK_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "platform" field. public const int PlatformFieldNumber = 13; 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 "level" field. public const int LevelFieldNumber = 4; 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 "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 "chat_bubble_id" field. public const int ChatBubbleIdFieldNumber = 14; 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 "signature" field. public const int SignatureFieldNumber = 8; 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 "PDCILADMJIJ" field. public const int PDCILADMJIJFieldNumber = 6; private string pDCILADMJIJ_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PDCILADMJIJ { get { return pDCILADMJIJ_; } set { pDCILADMJIJ_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "assist_simple_info_list" field. public const int AssistSimpleInfoListFieldNumber = 7; private static readonly pb::FieldCodec _repeated_assistSimpleInfoList_codec = pb::FieldCodec.ForMessage(58, 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 "head_icon" field. 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; } } /// Field number for the "online_status" field. public const int OnlineStatusFieldNumber = 2; 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 "uid" field. public const int UidFieldNumber = 10; private uint uid_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Uid { get { return uid_; } set { uid_ = 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 (LastActiveTime != other.LastActiveTime) return false; if (Nickname != other.Nickname) return false; if (AEOHJINGIFK != other.AEOHJINGIFK) return false; if (Platform != other.Platform) return false; if (Level != other.Level) return false; if (IsBanned != other.IsBanned) return false; if (ChatBubbleId != other.ChatBubbleId) return false; if (Signature != other.Signature) return false; if (PDCILADMJIJ != other.PDCILADMJIJ) return false; if(!assistSimpleInfoList_.Equals(other.assistSimpleInfoList_)) return false; if (HeadIcon != other.HeadIcon) return false; if (OnlineStatus != other.OnlineStatus) return false; if (Uid != other.Uid) 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 (LastActiveTime != 0L) hash ^= LastActiveTime.GetHashCode(); if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); if (AEOHJINGIFK.Length != 0) hash ^= AEOHJINGIFK.GetHashCode(); if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) hash ^= Platform.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (IsBanned != false) hash ^= IsBanned.GetHashCode(); if (ChatBubbleId != 0) hash ^= ChatBubbleId.GetHashCode(); if (Signature.Length != 0) hash ^= Signature.GetHashCode(); if (PDCILADMJIJ.Length != 0) hash ^= PDCILADMJIJ.GetHashCode(); hash ^= assistSimpleInfoList_.GetHashCode(); if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) hash ^= OnlineStatus.GetHashCode(); if (Uid != 0) hash ^= Uid.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 (LastActiveTime != 0L) { output.WriteRawTag(8); output.WriteInt64(LastActiveTime); } if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { output.WriteRawTag(16); output.WriteEnum((int) OnlineStatus); } if (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (IsBanned != false) { output.WriteRawTag(40); output.WriteBool(IsBanned); } if (PDCILADMJIJ.Length != 0) { output.WriteRawTag(50); output.WriteString(PDCILADMJIJ); } assistSimpleInfoList_.WriteTo(output, _repeated_assistSimpleInfoList_codec); if (Signature.Length != 0) { output.WriteRawTag(66); output.WriteString(Signature); } if (Uid != 0) { output.WriteRawTag(80); output.WriteUInt32(Uid); } if (HeadIcon != 0) { output.WriteRawTag(88); output.WriteUInt32(HeadIcon); } if (Nickname.Length != 0) { output.WriteRawTag(98); output.WriteString(Nickname); } if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { output.WriteRawTag(104); output.WriteEnum((int) Platform); } if (ChatBubbleId != 0) { output.WriteRawTag(112); output.WriteUInt32(ChatBubbleId); } if (AEOHJINGIFK.Length != 0) { output.WriteRawTag(122); output.WriteString(AEOHJINGIFK); } 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 (LastActiveTime != 0L) { output.WriteRawTag(8); output.WriteInt64(LastActiveTime); } if (OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { output.WriteRawTag(16); output.WriteEnum((int) OnlineStatus); } if (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (IsBanned != false) { output.WriteRawTag(40); output.WriteBool(IsBanned); } if (PDCILADMJIJ.Length != 0) { output.WriteRawTag(50); output.WriteString(PDCILADMJIJ); } assistSimpleInfoList_.WriteTo(ref output, _repeated_assistSimpleInfoList_codec); if (Signature.Length != 0) { output.WriteRawTag(66); output.WriteString(Signature); } if (Uid != 0) { output.WriteRawTag(80); output.WriteUInt32(Uid); } if (HeadIcon != 0) { output.WriteRawTag(88); output.WriteUInt32(HeadIcon); } if (Nickname.Length != 0) { output.WriteRawTag(98); output.WriteString(Nickname); } if (Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { output.WriteRawTag(104); output.WriteEnum((int) Platform); } if (ChatBubbleId != 0) { output.WriteRawTag(112); output.WriteUInt32(ChatBubbleId); } if (AEOHJINGIFK.Length != 0) { output.WriteRawTag(122); output.WriteString(AEOHJINGIFK); } 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 (LastActiveTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastActiveTime); } if (Nickname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } if (AEOHJINGIFK.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AEOHJINGIFK); } 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 (IsBanned != false) { size += 1 + 1; } if (ChatBubbleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChatBubbleId); } if (Signature.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); } if (PDCILADMJIJ.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PDCILADMJIJ); } size += assistSimpleInfoList_.CalculateSize(_repeated_assistSimpleInfoList_codec); 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 (Uid != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid); } 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.LastActiveTime != 0L) { LastActiveTime = other.LastActiveTime; } if (other.Nickname.Length != 0) { Nickname = other.Nickname; } if (other.AEOHJINGIFK.Length != 0) { AEOHJINGIFK = other.AEOHJINGIFK; } if (other.Platform != global::EggLink.DanhengServer.Proto.PlatformType.Editor) { Platform = other.Platform; } if (other.Level != 0) { Level = other.Level; } if (other.IsBanned != false) { IsBanned = other.IsBanned; } if (other.ChatBubbleId != 0) { ChatBubbleId = other.ChatBubbleId; } if (other.Signature.Length != 0) { Signature = other.Signature; } if (other.PDCILADMJIJ.Length != 0) { PDCILADMJIJ = other.PDCILADMJIJ; } assistSimpleInfoList_.Add(other.assistSimpleInfoList_); if (other.HeadIcon != 0) { HeadIcon = other.HeadIcon; } if (other.OnlineStatus != global::EggLink.DanhengServer.Proto.FriendOnlineStatus.Offline) { OnlineStatus = other.OnlineStatus; } if (other.Uid != 0) { Uid = other.Uid; } _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: { LastActiveTime = input.ReadInt64(); break; } case 16: { OnlineStatus = (global::EggLink.DanhengServer.Proto.FriendOnlineStatus) input.ReadEnum(); break; } case 32: { Level = input.ReadUInt32(); break; } case 40: { IsBanned = input.ReadBool(); break; } case 50: { PDCILADMJIJ = input.ReadString(); break; } case 58: { assistSimpleInfoList_.AddEntriesFrom(input, _repeated_assistSimpleInfoList_codec); break; } case 66: { Signature = input.ReadString(); break; } case 80: { Uid = input.ReadUInt32(); break; } case 88: { HeadIcon = input.ReadUInt32(); break; } case 98: { Nickname = input.ReadString(); break; } case 104: { Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum(); break; } case 112: { ChatBubbleId = input.ReadUInt32(); break; } case 122: { AEOHJINGIFK = input.ReadString(); 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: { LastActiveTime = input.ReadInt64(); break; } case 16: { OnlineStatus = (global::EggLink.DanhengServer.Proto.FriendOnlineStatus) input.ReadEnum(); break; } case 32: { Level = input.ReadUInt32(); break; } case 40: { IsBanned = input.ReadBool(); break; } case 50: { PDCILADMJIJ = input.ReadString(); break; } case 58: { assistSimpleInfoList_.AddEntriesFrom(ref input, _repeated_assistSimpleInfoList_codec); break; } case 66: { Signature = input.ReadString(); break; } case 80: { Uid = input.ReadUInt32(); break; } case 88: { HeadIcon = input.ReadUInt32(); break; } case 98: { Nickname = input.ReadString(); break; } case 104: { Platform = (global::EggLink.DanhengServer.Proto.PlatformType) input.ReadEnum(); break; } case 112: { ChatBubbleId = input.ReadUInt32(); break; } case 122: { AEOHJINGIFK = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code