mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
339 lines
12 KiB
C#
339 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: MemberInfo.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 MemberInfo.proto</summary>
|
|
public static partial class MemberInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for MemberInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MemberInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChBNZW1iZXJJbmZvLnByb3RvGhBNZW1iZXJEYXRhLnByb3RvGhZQbGF5ZXJT",
|
|
"dGF0dXNJbmZvLnByb3RvGhVQbGF5ZXJFeHRyYUluZm8ucHJvdG8iewoKTWVt",
|
|
"YmVySW5mbxIfCgpiYXNpY19pbmZvGAEgASgLMgsuTWVtYmVyRGF0YRImCgtz",
|
|
"dGF0dXNfaW5mbxgCIAEoCzIRLlBsYXllclN0YXR1c0luZm8SJAoKc3RhZ2Vf",
|
|
"aW5mbxgDIAEoCzIQLlBsYXllckV4dHJhSW5mb0IeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MemberDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerStatusInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerExtraInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MemberInfo), global::EggLink.DanhengServer.Proto.MemberInfo.Parser, new[]{ "BasicInfo", "StatusInfo", "StageInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MemberInfo : pb::IMessage<MemberInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MemberInfo> _parser = new pb::MessageParser<MemberInfo>(() => new MemberInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MemberInfo> 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.MemberInfoReflection.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 MemberInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MemberInfo(MemberInfo other) : this() {
|
|
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
|
|
statusInfo_ = other.statusInfo_ != null ? other.statusInfo_.Clone() : null;
|
|
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MemberInfo Clone() {
|
|
return new MemberInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "basic_info" field.</summary>
|
|
public const int BasicInfoFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.MemberData basicInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.MemberData BasicInfo {
|
|
get { return basicInfo_; }
|
|
set {
|
|
basicInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "status_info" field.</summary>
|
|
public const int StatusInfoFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.PlayerStatusInfo statusInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlayerStatusInfo StatusInfo {
|
|
get { return statusInfo_; }
|
|
set {
|
|
statusInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 3;
|
|
private global::EggLink.DanhengServer.Proto.PlayerExtraInfo stageInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PlayerExtraInfo StageInfo {
|
|
get { return stageInfo_; }
|
|
set {
|
|
stageInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MemberInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MemberInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(BasicInfo, other.BasicInfo)) return false;
|
|
if (!object.Equals(StatusInfo, other.StatusInfo)) return false;
|
|
if (!object.Equals(StageInfo, other.StageInfo)) 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 (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
|
|
if (statusInfo_ != null) hash ^= StatusInfo.GetHashCode();
|
|
if (stageInfo_ != null) hash ^= StageInfo.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 (basicInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
if (statusInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(StatusInfo);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
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 (basicInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
if (statusInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(StatusInfo);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
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 (basicInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
|
|
}
|
|
if (statusInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StatusInfo);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MemberInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.basicInfo_ != null) {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.MemberData();
|
|
}
|
|
BasicInfo.MergeFrom(other.BasicInfo);
|
|
}
|
|
if (other.statusInfo_ != null) {
|
|
if (statusInfo_ == null) {
|
|
StatusInfo = new global::EggLink.DanhengServer.Proto.PlayerStatusInfo();
|
|
}
|
|
StatusInfo.MergeFrom(other.StatusInfo);
|
|
}
|
|
if (other.stageInfo_ != null) {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.PlayerExtraInfo();
|
|
}
|
|
StageInfo.MergeFrom(other.StageInfo);
|
|
}
|
|
_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 (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.MemberData();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (statusInfo_ == null) {
|
|
StatusInfo = new global::EggLink.DanhengServer.Proto.PlayerStatusInfo();
|
|
}
|
|
input.ReadMessage(StatusInfo);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.PlayerExtraInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
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 (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.MemberData();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (statusInfo_ == null) {
|
|
StatusInfo = new global::EggLink.DanhengServer.Proto.PlayerStatusInfo();
|
|
}
|
|
input.ReadMessage(StatusInfo);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.PlayerExtraInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|