Files
DanhengServer-OpenSource/Proto/RogueLineupInfo.cs

330 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueLineupInfo.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 RogueLineupInfo.proto</summary>
public static partial class RogueLineupInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueLineupInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueLineupInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVSb2d1ZUxpbmV1cEluZm8ucHJvdG8aFVJvZ3VlUmV2aXZlSW5mby5wcm90",
"byKIAQoPUm9ndWVMaW5ldXBJbmZvEhwKFHRyaWFsX2F2YXRhcl9pZF9saXN0",
"GAkgAygNEiUKC3Jldml2ZV9pbmZvGAMgASgLMhAuUm9ndWVSZXZpdmVJbmZv",
"EhsKE2Jhc2VfYXZhdGFyX2lkX2xpc3QYDSADKA0SEwoLQUJPTExNQkRGSlAY",
"DyADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueReviveInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueLineupInfo), global::EggLink.DanhengServer.Proto.RogueLineupInfo.Parser, new[]{ "TrialAvatarIdList", "ReviveInfo", "BaseAvatarIdList", "ABOLLMBDFJP" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueLineupInfo : pb::IMessage<RogueLineupInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueLineupInfo> _parser = new pb::MessageParser<RogueLineupInfo>(() => new RogueLineupInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueLineupInfo> 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.RogueLineupInfoReflection.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 RogueLineupInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueLineupInfo(RogueLineupInfo other) : this() {
trialAvatarIdList_ = other.trialAvatarIdList_.Clone();
reviveInfo_ = other.reviveInfo_ != null ? other.reviveInfo_.Clone() : null;
baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
aBOLLMBDFJP_ = other.aBOLLMBDFJP_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueLineupInfo Clone() {
return new RogueLineupInfo(this);
}
/// <summary>Field number for the "trial_avatar_id_list" field.</summary>
public const int TrialAvatarIdListFieldNumber = 9;
private static readonly pb::FieldCodec<uint> _repeated_trialAvatarIdList_codec
= pb::FieldCodec.ForUInt32(74);
private readonly pbc::RepeatedField<uint> trialAvatarIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TrialAvatarIdList {
get { return trialAvatarIdList_; }
}
/// <summary>Field number for the "revive_info" field.</summary>
public const int ReviveInfoFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.RogueReviveInfo reviveInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueReviveInfo ReviveInfo {
get { return reviveInfo_; }
set {
reviveInfo_ = value;
}
}
/// <summary>Field number for the "base_avatar_id_list" field.</summary>
public const int BaseAvatarIdListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_baseAvatarIdList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> baseAvatarIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> BaseAvatarIdList {
get { return baseAvatarIdList_; }
}
/// <summary>Field number for the "ABOLLMBDFJP" field.</summary>
public const int ABOLLMBDFJPFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_aBOLLMBDFJP_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> aBOLLMBDFJP_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ABOLLMBDFJP {
get { return aBOLLMBDFJP_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueLineupInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueLineupInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!trialAvatarIdList_.Equals(other.trialAvatarIdList_)) return false;
if (!object.Equals(ReviveInfo, other.ReviveInfo)) return false;
if(!baseAvatarIdList_.Equals(other.baseAvatarIdList_)) return false;
if(!aBOLLMBDFJP_.Equals(other.aBOLLMBDFJP_)) 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 ^= trialAvatarIdList_.GetHashCode();
if (reviveInfo_ != null) hash ^= ReviveInfo.GetHashCode();
hash ^= baseAvatarIdList_.GetHashCode();
hash ^= aBOLLMBDFJP_.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 (reviveInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(ReviveInfo);
}
trialAvatarIdList_.WriteTo(output, _repeated_trialAvatarIdList_codec);
baseAvatarIdList_.WriteTo(output, _repeated_baseAvatarIdList_codec);
aBOLLMBDFJP_.WriteTo(output, _repeated_aBOLLMBDFJP_codec);
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 (reviveInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(ReviveInfo);
}
trialAvatarIdList_.WriteTo(ref output, _repeated_trialAvatarIdList_codec);
baseAvatarIdList_.WriteTo(ref output, _repeated_baseAvatarIdList_codec);
aBOLLMBDFJP_.WriteTo(ref output, _repeated_aBOLLMBDFJP_codec);
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 += trialAvatarIdList_.CalculateSize(_repeated_trialAvatarIdList_codec);
if (reviveInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReviveInfo);
}
size += baseAvatarIdList_.CalculateSize(_repeated_baseAvatarIdList_codec);
size += aBOLLMBDFJP_.CalculateSize(_repeated_aBOLLMBDFJP_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueLineupInfo other) {
if (other == null) {
return;
}
trialAvatarIdList_.Add(other.trialAvatarIdList_);
if (other.reviveInfo_ != null) {
if (reviveInfo_ == null) {
ReviveInfo = new global::EggLink.DanhengServer.Proto.RogueReviveInfo();
}
ReviveInfo.MergeFrom(other.ReviveInfo);
}
baseAvatarIdList_.Add(other.baseAvatarIdList_);
aBOLLMBDFJP_.Add(other.aBOLLMBDFJP_);
_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 (reviveInfo_ == null) {
ReviveInfo = new global::EggLink.DanhengServer.Proto.RogueReviveInfo();
}
input.ReadMessage(ReviveInfo);
break;
}
case 74:
case 72: {
trialAvatarIdList_.AddEntriesFrom(input, _repeated_trialAvatarIdList_codec);
break;
}
case 106:
case 104: {
baseAvatarIdList_.AddEntriesFrom(input, _repeated_baseAvatarIdList_codec);
break;
}
case 122:
case 120: {
aBOLLMBDFJP_.AddEntriesFrom(input, _repeated_aBOLLMBDFJP_codec);
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 (reviveInfo_ == null) {
ReviveInfo = new global::EggLink.DanhengServer.Proto.RogueReviveInfo();
}
input.ReadMessage(ReviveInfo);
break;
}
case 74:
case 72: {
trialAvatarIdList_.AddEntriesFrom(ref input, _repeated_trialAvatarIdList_codec);
break;
}
case 106:
case 104: {
baseAvatarIdList_.AddEntriesFrom(ref input, _repeated_baseAvatarIdList_codec);
break;
}
case 122:
case 120: {
aBOLLMBDFJP_.AddEntriesFrom(ref input, _repeated_aBOLLMBDFJP_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code