// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: FriendSimpleInfo.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 FriendSimpleInfo.proto public static partial class FriendSimpleInfoReflection { #region Descriptor /// File descriptor for FriendSimpleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static FriendSimpleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZGcmllbmRTaW1wbGVJbmZvLnByb3RvGhJQbGF5aW5nU3RhdGUucHJvdG8a", "FlBsYXllclNpbXBsZUluZm8ucHJvdG8aEUhJRUpKQkROQ05ILnByb3RvIsAB", "ChBGcmllbmRTaW1wbGVJbmZvEiQKDXBsYXlpbmdfc3RhdGUYBCABKA4yDS5Q", "bGF5aW5nU3RhdGUSJgoLcGxheWVyX2luZm8YDSABKAsyES5QbGF5ZXJTaW1w", "bGVJbmZvEiEKC0lMQ0hBSkNGRkJGGAEgASgLMgwuSElFSkpCRE5DTkgSEwoL", "cmVtYXJrX25hbWUYCSABKAkSEQoJaXNfbWFya2VkGAMgASgIEhMKC2NyZWF0", "ZV90aW1lGAwgASgDQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlayingStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerSimpleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.HIEJJBDNCNHReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FriendSimpleInfo), global::EggLink.DanhengServer.Proto.FriendSimpleInfo.Parser, new[]{ "PlayingState", "PlayerInfo", "ILCHAJCFFBF", "RemarkName", "IsMarked", "CreateTime" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class FriendSimpleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendSimpleInfo()); 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.FriendSimpleInfoReflection.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 FriendSimpleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FriendSimpleInfo(FriendSimpleInfo other) : this() { playingState_ = other.playingState_; playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null; iLCHAJCFFBF_ = other.iLCHAJCFFBF_ != null ? other.iLCHAJCFFBF_.Clone() : null; remarkName_ = other.remarkName_; isMarked_ = other.isMarked_; createTime_ = other.createTime_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FriendSimpleInfo Clone() { return new FriendSimpleInfo(this); } /// Field number for the "playing_state" field. public const int PlayingStateFieldNumber = 4; private global::EggLink.DanhengServer.Proto.PlayingState playingState_ = global::EggLink.DanhengServer.Proto.PlayingState.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PlayingState PlayingState { get { return playingState_; } set { playingState_ = value; } } /// Field number for the "player_info" field. public const int PlayerInfoFieldNumber = 13; 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; } } /// Field number for the "ILCHAJCFFBF" field. public const int ILCHAJCFFBFFieldNumber = 1; private global::EggLink.DanhengServer.Proto.HIEJJBDNCNH iLCHAJCFFBF_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.HIEJJBDNCNH ILCHAJCFFBF { get { return iLCHAJCFFBF_; } set { iLCHAJCFFBF_ = value; } } /// Field number for the "remark_name" field. public const int RemarkNameFieldNumber = 9; 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"); } } /// Field number for the "is_marked" field. public const int IsMarkedFieldNumber = 3; private bool isMarked_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsMarked { get { return isMarked_; } set { isMarked_ = value; } } /// Field number for the "create_time" field. public const int CreateTimeFieldNumber = 12; private long createTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long CreateTime { get { return createTime_; } set { createTime_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as FriendSimpleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(FriendSimpleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PlayingState != other.PlayingState) return false; if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false; if (!object.Equals(ILCHAJCFFBF, other.ILCHAJCFFBF)) return false; if (RemarkName != other.RemarkName) return false; if (IsMarked != other.IsMarked) return false; if (CreateTime != other.CreateTime) 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 (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) hash ^= PlayingState.GetHashCode(); if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode(); if (iLCHAJCFFBF_ != null) hash ^= ILCHAJCFFBF.GetHashCode(); if (RemarkName.Length != 0) hash ^= RemarkName.GetHashCode(); if (IsMarked != false) hash ^= IsMarked.GetHashCode(); if (CreateTime != 0L) hash ^= CreateTime.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 (iLCHAJCFFBF_ != null) { output.WriteRawTag(10); output.WriteMessage(ILCHAJCFFBF); } if (IsMarked != false) { output.WriteRawTag(24); output.WriteBool(IsMarked); } if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { output.WriteRawTag(32); output.WriteEnum((int) PlayingState); } if (RemarkName.Length != 0) { output.WriteRawTag(74); output.WriteString(RemarkName); } if (CreateTime != 0L) { output.WriteRawTag(96); output.WriteInt64(CreateTime); } if (playerInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(PlayerInfo); } 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 (iLCHAJCFFBF_ != null) { output.WriteRawTag(10); output.WriteMessage(ILCHAJCFFBF); } if (IsMarked != false) { output.WriteRawTag(24); output.WriteBool(IsMarked); } if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { output.WriteRawTag(32); output.WriteEnum((int) PlayingState); } if (RemarkName.Length != 0) { output.WriteRawTag(74); output.WriteString(RemarkName); } if (CreateTime != 0L) { output.WriteRawTag(96); output.WriteInt64(CreateTime); } if (playerInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(PlayerInfo); } 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 (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayingState); } if (playerInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo); } if (iLCHAJCFFBF_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ILCHAJCFFBF); } if (RemarkName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RemarkName); } if (IsMarked != false) { size += 1 + 1; } if (CreateTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreateTime); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(FriendSimpleInfo other) { if (other == null) { return; } if (other.PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { PlayingState = other.PlayingState; } if (other.playerInfo_ != null) { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } PlayerInfo.MergeFrom(other.PlayerInfo); } if (other.iLCHAJCFFBF_ != null) { if (iLCHAJCFFBF_ == null) { ILCHAJCFFBF = new global::EggLink.DanhengServer.Proto.HIEJJBDNCNH(); } ILCHAJCFFBF.MergeFrom(other.ILCHAJCFFBF); } if (other.RemarkName.Length != 0) { RemarkName = other.RemarkName; } if (other.IsMarked != false) { IsMarked = other.IsMarked; } if (other.CreateTime != 0L) { CreateTime = other.CreateTime; } _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: { if (iLCHAJCFFBF_ == null) { ILCHAJCFFBF = new global::EggLink.DanhengServer.Proto.HIEJJBDNCNH(); } input.ReadMessage(ILCHAJCFFBF); break; } case 24: { IsMarked = input.ReadBool(); break; } case 32: { PlayingState = (global::EggLink.DanhengServer.Proto.PlayingState) input.ReadEnum(); break; } case 74: { RemarkName = input.ReadString(); break; } case 96: { CreateTime = input.ReadInt64(); break; } case 106: { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } input.ReadMessage(PlayerInfo); 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: { if (iLCHAJCFFBF_ == null) { ILCHAJCFFBF = new global::EggLink.DanhengServer.Proto.HIEJJBDNCNH(); } input.ReadMessage(ILCHAJCFFBF); break; } case 24: { IsMarked = input.ReadBool(); break; } case 32: { PlayingState = (global::EggLink.DanhengServer.Proto.PlayingState) input.ReadEnum(); break; } case 74: { RemarkName = input.ReadString(); break; } case 96: { CreateTime = input.ReadInt64(); break; } case 106: { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } input.ReadMessage(PlayerInfo); break; } } } } #endif } #endregion } #endregion Designer generated code