mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
405 lines
15 KiB
C#
405 lines
15 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(
|
|
"ChZGcmllbmRTaW1wbGVJbmZvLnByb3RvGhFPT0hHQU9CSUlLUC5wcm90bxoW",
|
|
"UGxheWVyU2ltcGxlSW5mby5wcm90bxoVUGxheWVyU3RhdGVUeXBlLnByb3Rv",
|
|
"Iq0BChBGcmllbmRTaW1wbGVJbmZvEiEKC0VGSERFQU5PUEhCGAIgASgLMgwu",
|
|
"T09IR0FPQklJS1ASJgoLcGxheWVyX2luZm8YASABKAsyES5QbGF5ZXJTaW1w",
|
|
"bGVJbmZvEiYKDHBsYXllcl9zdGF0ZRgOIAEoDjIQLlBsYXllclN0YXRlVHlw",
|
|
"ZRITCgtyZW1hcmtfbmFtZRgNIAEoCRIRCglpc19tYXJrZWQYCCABKAhCHqoC",
|
|
"G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.OOHGAOBIIKPReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerSimpleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerStateTypeReflection.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[]{ "EFHDEANOPHB", "PlayerInfo", "PlayerState", "RemarkName", "IsMarked" }, 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() {
|
|
eFHDEANOPHB_ = other.eFHDEANOPHB_ != null ? other.eFHDEANOPHB_.Clone() : null;
|
|
playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null;
|
|
playerState_ = other.playerState_;
|
|
remarkName_ = other.remarkName_;
|
|
isMarked_ = other.isMarked_;
|
|
_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 "EFHDEANOPHB" field.</summary>
|
|
public const int EFHDEANOPHBFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.OOHGAOBIIKP eFHDEANOPHB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.OOHGAOBIIKP EFHDEANOPHB {
|
|
get { return eFHDEANOPHB_; }
|
|
set {
|
|
eFHDEANOPHB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "player_info" field.</summary>
|
|
public const int PlayerInfoFieldNumber = 1;
|
|
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 "player_state" field.</summary>
|
|
public const int PlayerStateFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.PlayerStateType playerState_ = global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlayerStateType PlayerState {
|
|
get { return playerState_; }
|
|
set {
|
|
playerState_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "remark_name" field.</summary>
|
|
public const int RemarkNameFieldNumber = 13;
|
|
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");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_marked" field.</summary>
|
|
public const int IsMarkedFieldNumber = 8;
|
|
private bool isMarked_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsMarked {
|
|
get { return isMarked_; }
|
|
set {
|
|
isMarked_ = 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(EFHDEANOPHB, other.EFHDEANOPHB)) return false;
|
|
if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false;
|
|
if (PlayerState != other.PlayerState) return false;
|
|
if (RemarkName != other.RemarkName) return false;
|
|
if (IsMarked != other.IsMarked) 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 (eFHDEANOPHB_ != null) hash ^= EFHDEANOPHB.GetHashCode();
|
|
if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode();
|
|
if (PlayerState != global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone) hash ^= PlayerState.GetHashCode();
|
|
if (RemarkName.Length != 0) hash ^= RemarkName.GetHashCode();
|
|
if (IsMarked != false) hash ^= IsMarked.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 (playerInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (eFHDEANOPHB_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(EFHDEANOPHB);
|
|
}
|
|
if (IsMarked != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsMarked);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (PlayerState != global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) PlayerState);
|
|
}
|
|
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 (playerInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (eFHDEANOPHB_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(EFHDEANOPHB);
|
|
}
|
|
if (IsMarked != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsMarked);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (PlayerState != global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) PlayerState);
|
|
}
|
|
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 (eFHDEANOPHB_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EFHDEANOPHB);
|
|
}
|
|
if (playerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo);
|
|
}
|
|
if (PlayerState != global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RemarkName);
|
|
}
|
|
if (IsMarked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
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.eFHDEANOPHB_ != null) {
|
|
if (eFHDEANOPHB_ == null) {
|
|
EFHDEANOPHB = new global::EggLink.DanhengServer.Proto.OOHGAOBIIKP();
|
|
}
|
|
EFHDEANOPHB.MergeFrom(other.EFHDEANOPHB);
|
|
}
|
|
if (other.playerInfo_ != null) {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
PlayerInfo.MergeFrom(other.PlayerInfo);
|
|
}
|
|
if (other.PlayerState != global::EggLink.DanhengServer.Proto.PlayerStateType.PlayingStateNone) {
|
|
PlayerState = other.PlayerState;
|
|
}
|
|
if (other.RemarkName.Length != 0) {
|
|
RemarkName = other.RemarkName;
|
|
}
|
|
if (other.IsMarked != false) {
|
|
IsMarked = other.IsMarked;
|
|
}
|
|
_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 (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (eFHDEANOPHB_ == null) {
|
|
EFHDEANOPHB = new global::EggLink.DanhengServer.Proto.OOHGAOBIIKP();
|
|
}
|
|
input.ReadMessage(EFHDEANOPHB);
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsMarked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 106: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 112: {
|
|
PlayerState = (global::EggLink.DanhengServer.Proto.PlayerStateType) 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 10: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (eFHDEANOPHB_ == null) {
|
|
EFHDEANOPHB = new global::EggLink.DanhengServer.Proto.OOHGAOBIIKP();
|
|
}
|
|
input.ReadMessage(EFHDEANOPHB);
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsMarked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 106: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 112: {
|
|
PlayerState = (global::EggLink.DanhengServer.Proto.PlayerStateType) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|