Files
DanhengServer-OpenSource/Proto/FriendSimpleInfo.cs
2025-03-01 21:18:11 +08:00

443 lines
16 KiB
C#

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