Files
DanhengServer-OpenSource/Proto/ReplayInfo.cs
Somebody b84800bc80 Upload to Game 2.5.0
- Fix ChessRogue Final Boss
2024-09-14 19:46:42 +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",
"YXlJbmZvEhMKC0xLT01DUE1NSkJJGAEgASgEEiAKC3JlcGxheV90eXBlGAIg",
"ASgOMgsuUmVwbGF5VHlwZRIQCghzdGFnZV9pZBgDIAEoDRILCgN1aWQYBCAB",
"KA0SEAoIbmlja25hbWUYBSABKAkSEQoJaGVhZF9pY29uGAYgASgNEhMKC3Jl",
"cGxheV9uYW1lGAcgASgJEhMKC2NyZWF0ZV90aW1lGAggASgEEhMKC05ITklC",
"TUNLTEdCGAkgASgNEhMKC0RITkNJR01HQUxLGAogASgNQh6qAhtFZ2dMaW5r",
"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[]{ "LKOMCPMMJBI", "ReplayType", "StageId", "Uid", "Nickname", "HeadIcon", "ReplayName", "CreateTime", "NHNIBMCKLGB", "DHNCIGMGALK" }, 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() {
lKOMCPMMJBI_ = other.lKOMCPMMJBI_;
replayType_ = other.replayType_;
stageId_ = other.stageId_;
uid_ = other.uid_;
nickname_ = other.nickname_;
headIcon_ = other.headIcon_;
replayName_ = other.replayName_;
createTime_ = other.createTime_;
nHNIBMCKLGB_ = other.nHNIBMCKLGB_;
dHNCIGMGALK_ = other.dHNCIGMGALK_;
_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 "LKOMCPMMJBI" field.</summary>
public const int LKOMCPMMJBIFieldNumber = 1;
private ulong lKOMCPMMJBI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong LKOMCPMMJBI {
get { return lKOMCPMMJBI_; }
set {
lKOMCPMMJBI_ = 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 "NHNIBMCKLGB" field.</summary>
public const int NHNIBMCKLGBFieldNumber = 9;
private uint nHNIBMCKLGB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NHNIBMCKLGB {
get { return nHNIBMCKLGB_; }
set {
nHNIBMCKLGB_ = value;
}
}
/// <summary>Field number for the "DHNCIGMGALK" field.</summary>
public const int DHNCIGMGALKFieldNumber = 10;
private uint dHNCIGMGALK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DHNCIGMGALK {
get { return dHNCIGMGALK_; }
set {
dHNCIGMGALK_ = 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 (LKOMCPMMJBI != other.LKOMCPMMJBI) 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 (NHNIBMCKLGB != other.NHNIBMCKLGB) return false;
if (DHNCIGMGALK != other.DHNCIGMGALK) 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 (LKOMCPMMJBI != 0UL) hash ^= LKOMCPMMJBI.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 (NHNIBMCKLGB != 0) hash ^= NHNIBMCKLGB.GetHashCode();
if (DHNCIGMGALK != 0) hash ^= DHNCIGMGALK.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 (LKOMCPMMJBI != 0UL) {
output.WriteRawTag(8);
output.WriteUInt64(LKOMCPMMJBI);
}
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 (NHNIBMCKLGB != 0) {
output.WriteRawTag(72);
output.WriteUInt32(NHNIBMCKLGB);
}
if (DHNCIGMGALK != 0) {
output.WriteRawTag(80);
output.WriteUInt32(DHNCIGMGALK);
}
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 (LKOMCPMMJBI != 0UL) {
output.WriteRawTag(8);
output.WriteUInt64(LKOMCPMMJBI);
}
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 (NHNIBMCKLGB != 0) {
output.WriteRawTag(72);
output.WriteUInt32(NHNIBMCKLGB);
}
if (DHNCIGMGALK != 0) {
output.WriteRawTag(80);
output.WriteUInt32(DHNCIGMGALK);
}
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 (LKOMCPMMJBI != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LKOMCPMMJBI);
}
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 (NHNIBMCKLGB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NHNIBMCKLGB);
}
if (DHNCIGMGALK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DHNCIGMGALK);
}
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.LKOMCPMMJBI != 0UL) {
LKOMCPMMJBI = other.LKOMCPMMJBI;
}
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.NHNIBMCKLGB != 0) {
NHNIBMCKLGB = other.NHNIBMCKLGB;
}
if (other.DHNCIGMGALK != 0) {
DHNCIGMGALK = other.DHNCIGMGALK;
}
_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: {
LKOMCPMMJBI = 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: {
NHNIBMCKLGB = input.ReadUInt32();
break;
}
case 80: {
DHNCIGMGALK = 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: {
LKOMCPMMJBI = 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: {
NHNIBMCKLGB = input.ReadUInt32();
break;
}
case 80: {
DHNCIGMGALK = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code