mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
459 lines
16 KiB
C#
459 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: FCNOLLFGPCK.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 FCNOLLFGPCK.proto</summary>
|
|
public static partial class FCNOLLFGPCKReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for FCNOLLFGPCK.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static FCNOLLFGPCKReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFGQ05PTExGR1BDSy5wcm90bxoZQ2hhbGxlbmdlTGluZXVwTGlzdC5wcm90",
|
|
"bxoWUGxheWVyU2ltcGxlSW5mby5wcm90byLEAQoLRkNOT0xMRkdQQ0sSKQoL",
|
|
"bGluZXVwX2xpc3QYBCADKAsyFC5DaGFsbGVuZ2VMaW5ldXBMaXN0EhcKD2N1",
|
|
"cl9sZXZlbF9zdGFycxgLIAEoDRIQCghzY29yZV9pZBgGIAEoDRIQCghidWZm",
|
|
"X29uZRgOIAEoDRImCgtwbGF5ZXJfaW5mbxgDIAEoCzIRLlBsYXllclNpbXBs",
|
|
"ZUluZm8SEAoIYnVmZl90d28YBSABKA0SEwoLcmVtYXJrX25hbWUYCiABKAlC",
|
|
"HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeLineupListReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerSimpleInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FCNOLLFGPCK), global::EggLink.DanhengServer.Proto.FCNOLLFGPCK.Parser, new[]{ "LineupList", "CurLevelStars", "ScoreId", "BuffOne", "PlayerInfo", "BuffTwo", "RemarkName" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class FCNOLLFGPCK : pb::IMessage<FCNOLLFGPCK>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<FCNOLLFGPCK> _parser = new pb::MessageParser<FCNOLLFGPCK>(() => new FCNOLLFGPCK());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<FCNOLLFGPCK> 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.FCNOLLFGPCKReflection.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 FCNOLLFGPCK() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FCNOLLFGPCK(FCNOLLFGPCK other) : this() {
|
|
lineupList_ = other.lineupList_.Clone();
|
|
curLevelStars_ = other.curLevelStars_;
|
|
scoreId_ = other.scoreId_;
|
|
buffOne_ = other.buffOne_;
|
|
playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null;
|
|
buffTwo_ = other.buffTwo_;
|
|
remarkName_ = other.remarkName_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FCNOLLFGPCK Clone() {
|
|
return new FCNOLLFGPCK(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "lineup_list" field.</summary>
|
|
public const int LineupListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeLineupList> _repeated_lineupList_codec
|
|
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ChallengeLineupList.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList> lineupList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList> LineupList {
|
|
get { return lineupList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_level_stars" field.</summary>
|
|
public const int CurLevelStarsFieldNumber = 11;
|
|
private uint curLevelStars_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CurLevelStars {
|
|
get { return curLevelStars_; }
|
|
set {
|
|
curLevelStars_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "score_id" field.</summary>
|
|
public const int ScoreIdFieldNumber = 6;
|
|
private uint scoreId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ScoreId {
|
|
get { return scoreId_; }
|
|
set {
|
|
scoreId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_one" field.</summary>
|
|
public const int BuffOneFieldNumber = 14;
|
|
private uint buffOne_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BuffOne {
|
|
get { return buffOne_; }
|
|
set {
|
|
buffOne_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "player_info" field.</summary>
|
|
public const int PlayerInfoFieldNumber = 3;
|
|
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 "buff_two" field.</summary>
|
|
public const int BuffTwoFieldNumber = 5;
|
|
private uint buffTwo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BuffTwo {
|
|
get { return buffTwo_; }
|
|
set {
|
|
buffTwo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "remark_name" field.</summary>
|
|
public const int RemarkNameFieldNumber = 10;
|
|
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 FCNOLLFGPCK);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(FCNOLLFGPCK other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!lineupList_.Equals(other.lineupList_)) return false;
|
|
if (CurLevelStars != other.CurLevelStars) return false;
|
|
if (ScoreId != other.ScoreId) return false;
|
|
if (BuffOne != other.BuffOne) return false;
|
|
if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false;
|
|
if (BuffTwo != other.BuffTwo) 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;
|
|
hash ^= lineupList_.GetHashCode();
|
|
if (CurLevelStars != 0) hash ^= CurLevelStars.GetHashCode();
|
|
if (ScoreId != 0) hash ^= ScoreId.GetHashCode();
|
|
if (BuffOne != 0) hash ^= BuffOne.GetHashCode();
|
|
if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode();
|
|
if (BuffTwo != 0) hash ^= BuffTwo.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 (playerInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
lineupList_.WriteTo(output, _repeated_lineupList_codec);
|
|
if (BuffTwo != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(BuffTwo);
|
|
}
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (CurLevelStars != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CurLevelStars);
|
|
}
|
|
if (BuffOne != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(BuffOne);
|
|
}
|
|
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(26);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
lineupList_.WriteTo(ref output, _repeated_lineupList_codec);
|
|
if (BuffTwo != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(BuffTwo);
|
|
}
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
if (RemarkName.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(RemarkName);
|
|
}
|
|
if (CurLevelStars != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CurLevelStars);
|
|
}
|
|
if (BuffOne != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(BuffOne);
|
|
}
|
|
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;
|
|
size += lineupList_.CalculateSize(_repeated_lineupList_codec);
|
|
if (CurLevelStars != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelStars);
|
|
}
|
|
if (ScoreId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
|
|
}
|
|
if (BuffOne != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffOne);
|
|
}
|
|
if (playerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo);
|
|
}
|
|
if (BuffTwo != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffTwo);
|
|
}
|
|
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(FCNOLLFGPCK other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
lineupList_.Add(other.lineupList_);
|
|
if (other.CurLevelStars != 0) {
|
|
CurLevelStars = other.CurLevelStars;
|
|
}
|
|
if (other.ScoreId != 0) {
|
|
ScoreId = other.ScoreId;
|
|
}
|
|
if (other.BuffOne != 0) {
|
|
BuffOne = other.BuffOne;
|
|
}
|
|
if (other.playerInfo_ != null) {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
PlayerInfo.MergeFrom(other.PlayerInfo);
|
|
}
|
|
if (other.BuffTwo != 0) {
|
|
BuffTwo = other.BuffTwo;
|
|
}
|
|
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 (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 34: {
|
|
lineupList_.AddEntriesFrom(input, _repeated_lineupList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
BuffTwo = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
ScoreId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurLevelStars = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
BuffOne = 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 26: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 34: {
|
|
lineupList_.AddEntriesFrom(ref input, _repeated_lineupList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
BuffTwo = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
ScoreId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
RemarkName = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurLevelStars = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
BuffOne = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|