Files
DanhengServer-OpenSource/Proto/ReplayInfo.cs
2025-01-15 23:20:16 +08:00

572 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ReplayInfo.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 ReplayInfo.proto</summary>
public static partial class ReplayInfoReflection {
#region Descriptor
/// <summary>File descriptor for ReplayInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ReplayInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChBSZXBsYXlJbmZvLnByb3RvGhBSZXBsYXlUeXBlLnByb3RvItsBCgpSZXBs",
"YXlJbmZvEhMKC0RLTlBLSk1BSENNGAEgASgEEiAKC3JlcGxheV90eXBlGAIg",
"ASgOMgsuUmVwbGF5VHlwZRIQCghzdGFnZV9pZBgDIAEoDRILCgN1aWQYBCAB",
"KA0SEAoIbmlja25hbWUYBSABKAkSEQoJaGVhZF9pY29uGAYgASgNEhMKC3Jl",
"cGxheV9uYW1lGAcgASgJEhMKC2NyZWF0ZV90aW1lGAggASgEEhMKC0FGRUhM",
"TUZJQk1EGAkgASgNEhMKC0NNUEJLQkJLQU9BGAogASgNQh6qAhtFZ2dMaW5r",
"LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ReplayTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ReplayInfo), global::EggLink.DanhengServer.Proto.ReplayInfo.Parser, new[]{ "DKNPKJMAHCM", "ReplayType", "StageId", "Uid", "Nickname", "HeadIcon", "ReplayName", "CreateTime", "AFEHLMFIBMD", "CMPBKBBKAOA" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ReplayInfo : pb::IMessage<ReplayInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ReplayInfo> _parser = new pb::MessageParser<ReplayInfo>(() => new ReplayInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ReplayInfo> 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.ReplayInfoReflection.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 ReplayInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplayInfo(ReplayInfo other) : this() {
dKNPKJMAHCM_ = other.dKNPKJMAHCM_;
replayType_ = other.replayType_;
stageId_ = other.stageId_;
uid_ = other.uid_;
nickname_ = other.nickname_;
headIcon_ = other.headIcon_;
replayName_ = other.replayName_;
createTime_ = other.createTime_;
aFEHLMFIBMD_ = other.aFEHLMFIBMD_;
cMPBKBBKAOA_ = other.cMPBKBBKAOA_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplayInfo Clone() {
return new ReplayInfo(this);
}
/// <summary>Field number for the "DKNPKJMAHCM" field.</summary>
public const int DKNPKJMAHCMFieldNumber = 1;
private ulong dKNPKJMAHCM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong DKNPKJMAHCM {
get { return dKNPKJMAHCM_; }
set {
dKNPKJMAHCM_ = value;
}
}
/// <summary>Field number for the "replay_type" field.</summary>
public const int ReplayTypeFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.ReplayType replayType_ = global::EggLink.DanhengServer.Proto.ReplayType.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ReplayType ReplayType {
get { return replayType_; }
set {
replayType_ = value;
}
}
/// <summary>Field number for the "stage_id" field.</summary>
public const int StageIdFieldNumber = 3;
private uint stageId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint StageId {
get { return stageId_; }
set {
stageId_ = value;
}
}
/// <summary>Field number for the "uid" field.</summary>
public const int UidFieldNumber = 4;
private uint uid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Uid {
get { return uid_; }
set {
uid_ = value;
}
}
/// <summary>Field number for the "nickname" field.</summary>
public const int NicknameFieldNumber = 5;
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");
}
}
/// <summary>Field number for the "head_icon" field.</summary>
public const int HeadIconFieldNumber = 6;
private uint headIcon_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HeadIcon {
get { return headIcon_; }
set {
headIcon_ = value;
}
}
/// <summary>Field number for the "replay_name" field.</summary>
public const int ReplayNameFieldNumber = 7;
private string replayName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ReplayName {
get { return replayName_; }
set {
replayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "create_time" field.</summary>
public const int CreateTimeFieldNumber = 8;
private ulong createTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong CreateTime {
get { return createTime_; }
set {
createTime_ = value;
}
}
/// <summary>Field number for the "AFEHLMFIBMD" field.</summary>
public const int AFEHLMFIBMDFieldNumber = 9;
private uint aFEHLMFIBMD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AFEHLMFIBMD {
get { return aFEHLMFIBMD_; }
set {
aFEHLMFIBMD_ = value;
}
}
/// <summary>Field number for the "CMPBKBBKAOA" field.</summary>
public const int CMPBKBBKAOAFieldNumber = 10;
private uint cMPBKBBKAOA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CMPBKBBKAOA {
get { return cMPBKBBKAOA_; }
set {
cMPBKBBKAOA_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ReplayInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ReplayInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DKNPKJMAHCM != other.DKNPKJMAHCM) return false;
if (ReplayType != other.ReplayType) return false;
if (StageId != other.StageId) return false;
if (Uid != other.Uid) return false;
if (Nickname != other.Nickname) return false;
if (HeadIcon != other.HeadIcon) return false;
if (ReplayName != other.ReplayName) return false;
if (CreateTime != other.CreateTime) return false;
if (AFEHLMFIBMD != other.AFEHLMFIBMD) return false;
if (CMPBKBBKAOA != other.CMPBKBBKAOA) 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 (DKNPKJMAHCM != 0UL) hash ^= DKNPKJMAHCM.GetHashCode();
if (ReplayType != global::EggLink.DanhengServer.Proto.ReplayType.None) hash ^= ReplayType.GetHashCode();
if (StageId != 0) hash ^= StageId.GetHashCode();
if (Uid != 0) hash ^= Uid.GetHashCode();
if (Nickname.Length != 0) hash ^= Nickname.GetHashCode();
if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode();
if (ReplayName.Length != 0) hash ^= ReplayName.GetHashCode();
if (CreateTime != 0UL) hash ^= CreateTime.GetHashCode();
if (AFEHLMFIBMD != 0) hash ^= AFEHLMFIBMD.GetHashCode();
if (CMPBKBBKAOA != 0) hash ^= CMPBKBBKAOA.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 (DKNPKJMAHCM != 0UL) {
output.WriteRawTag(8);
output.WriteUInt64(DKNPKJMAHCM);
}
if (ReplayType != global::EggLink.DanhengServer.Proto.ReplayType.None) {
output.WriteRawTag(16);
output.WriteEnum((int) ReplayType);
}
if (StageId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(StageId);
}
if (Uid != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Uid);
}
if (Nickname.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Nickname);
}
if (HeadIcon != 0) {
output.WriteRawTag(48);
output.WriteUInt32(HeadIcon);
}
if (ReplayName.Length != 0) {
output.WriteRawTag(58);
output.WriteString(ReplayName);
}
if (CreateTime != 0UL) {
output.WriteRawTag(64);
output.WriteUInt64(CreateTime);
}
if (AFEHLMFIBMD != 0) {
output.WriteRawTag(72);
output.WriteUInt32(AFEHLMFIBMD);
}
if (CMPBKBBKAOA != 0) {
output.WriteRawTag(80);
output.WriteUInt32(CMPBKBBKAOA);
}
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 (DKNPKJMAHCM != 0UL) {
output.WriteRawTag(8);
output.WriteUInt64(DKNPKJMAHCM);
}
if (ReplayType != global::EggLink.DanhengServer.Proto.ReplayType.None) {
output.WriteRawTag(16);
output.WriteEnum((int) ReplayType);
}
if (StageId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(StageId);
}
if (Uid != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Uid);
}
if (Nickname.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Nickname);
}
if (HeadIcon != 0) {
output.WriteRawTag(48);
output.WriteUInt32(HeadIcon);
}
if (ReplayName.Length != 0) {
output.WriteRawTag(58);
output.WriteString(ReplayName);
}
if (CreateTime != 0UL) {
output.WriteRawTag(64);
output.WriteUInt64(CreateTime);
}
if (AFEHLMFIBMD != 0) {
output.WriteRawTag(72);
output.WriteUInt32(AFEHLMFIBMD);
}
if (CMPBKBBKAOA != 0) {
output.WriteRawTag(80);
output.WriteUInt32(CMPBKBBKAOA);
}
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 (DKNPKJMAHCM != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DKNPKJMAHCM);
}
if (ReplayType != global::EggLink.DanhengServer.Proto.ReplayType.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ReplayType);
}
if (StageId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
}
if (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
}
if (Nickname.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname);
}
if (HeadIcon != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon);
}
if (ReplayName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ReplayName);
}
if (CreateTime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreateTime);
}
if (AFEHLMFIBMD != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AFEHLMFIBMD);
}
if (CMPBKBBKAOA != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CMPBKBBKAOA);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ReplayInfo other) {
if (other == null) {
return;
}
if (other.DKNPKJMAHCM != 0UL) {
DKNPKJMAHCM = other.DKNPKJMAHCM;
}
if (other.ReplayType != global::EggLink.DanhengServer.Proto.ReplayType.None) {
ReplayType = other.ReplayType;
}
if (other.StageId != 0) {
StageId = other.StageId;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.Nickname.Length != 0) {
Nickname = other.Nickname;
}
if (other.HeadIcon != 0) {
HeadIcon = other.HeadIcon;
}
if (other.ReplayName.Length != 0) {
ReplayName = other.ReplayName;
}
if (other.CreateTime != 0UL) {
CreateTime = other.CreateTime;
}
if (other.AFEHLMFIBMD != 0) {
AFEHLMFIBMD = other.AFEHLMFIBMD;
}
if (other.CMPBKBBKAOA != 0) {
CMPBKBBKAOA = other.CMPBKBBKAOA;
}
_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: {
DKNPKJMAHCM = input.ReadUInt64();
break;
}
case 16: {
ReplayType = (global::EggLink.DanhengServer.Proto.ReplayType) input.ReadEnum();
break;
}
case 24: {
StageId = input.ReadUInt32();
break;
}
case 32: {
Uid = input.ReadUInt32();
break;
}
case 42: {
Nickname = input.ReadString();
break;
}
case 48: {
HeadIcon = input.ReadUInt32();
break;
}
case 58: {
ReplayName = input.ReadString();
break;
}
case 64: {
CreateTime = input.ReadUInt64();
break;
}
case 72: {
AFEHLMFIBMD = input.ReadUInt32();
break;
}
case 80: {
CMPBKBBKAOA = input.ReadUInt32();
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: {
DKNPKJMAHCM = input.ReadUInt64();
break;
}
case 16: {
ReplayType = (global::EggLink.DanhengServer.Proto.ReplayType) input.ReadEnum();
break;
}
case 24: {
StageId = input.ReadUInt32();
break;
}
case 32: {
Uid = input.ReadUInt32();
break;
}
case 42: {
Nickname = input.ReadString();
break;
}
case 48: {
HeadIcon = input.ReadUInt32();
break;
}
case 58: {
ReplayName = input.ReadString();
break;
}
case 64: {
CreateTime = input.ReadUInt64();
break;
}
case 72: {
AFEHLMFIBMD = input.ReadUInt32();
break;
}
case 80: {
CMPBKBBKAOA = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code