mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
670 lines
26 KiB
C#
670 lines
26 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueCommonBuffSelectInfo.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 RogueCommonBuffSelectInfo.proto</summary>
|
|
public static partial class RogueCommonBuffSelectInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueCommonBuffSelectInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueCommonBuffSelectInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch9Sb2d1ZUNvbW1vbkJ1ZmZTZWxlY3RJbmZvLnByb3RvGhJJdGVtQ29zdERh",
|
|
"dGEucHJvdG8aFVJvZ3VlQ29tbW9uQnVmZi5wcm90bxolUm9ndWVDb21tb25C",
|
|
"dWZmU2VsZWN0U291cmNlVHlwZS5wcm90byLCAwoZUm9ndWVDb21tb25CdWZm",
|
|
"U2VsZWN0SW5mbxIcChRmaXJzdF9idWZmX3R5cGVfbGlzdBgEIAMoDRIXCg9y",
|
|
"b2xsX2J1ZmZfY291bnQYDyABKA0SGwoTcm9sbF9idWZmX21heF9jb3VudBgI",
|
|
"IAEoDRIQCghjYW5fcm9sbBgDIAEoCBI1Cgtzb3VyY2VfdHlwZRgFIAEoDjIg",
|
|
"LlJvZ3VlQ29tbW9uQnVmZlNlbGVjdFNvdXJjZVR5cGUSFgoOc291cmNlX2hp",
|
|
"bnRfaWQYDiABKA0SHAoUcm9sbF9idWZmX2ZyZWVfY291bnQYByABKA0SJAoc",
|
|
"aGFuZGJvb2tfdW5sb2NrX2J1ZmZfaWRfbGlzdBgJIAMoDRIYChBzb3VyY2Vf",
|
|
"Y3VyX2NvdW50GAIgASgNEhoKEnNvdXJjZV90b3RhbF9jb3VudBgKIAEoDRIq",
|
|
"ChBzZWxlY3RfYnVmZl9saXN0GA0gAygLMhAuUm9ndWVDb21tb25CdWZmEh4K",
|
|
"FmNlcnRhaW5fc2VsZWN0X2J1ZmZfaWQYCyABKA0SKgoTcm9sbF9idWZmX2Nv",
|
|
"c3RfZGF0YRgBIAEoCzINLkl0ZW1Db3N0RGF0YUIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonBuffReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo), global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo.Parser, new[]{ "FirstBuffTypeList", "RollBuffCount", "RollBuffMaxCount", "CanRoll", "SourceType", "SourceHintId", "RollBuffFreeCount", "HandbookUnlockBuffIdList", "SourceCurCount", "SourceTotalCount", "SelectBuffList", "CertainSelectBuffId", "RollBuffCostData" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueCommonBuffSelectInfo : pb::IMessage<RogueCommonBuffSelectInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueCommonBuffSelectInfo> _parser = new pb::MessageParser<RogueCommonBuffSelectInfo>(() => new RogueCommonBuffSelectInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueCommonBuffSelectInfo> 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.RogueCommonBuffSelectInfoReflection.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 RogueCommonBuffSelectInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueCommonBuffSelectInfo(RogueCommonBuffSelectInfo other) : this() {
|
|
firstBuffTypeList_ = other.firstBuffTypeList_.Clone();
|
|
rollBuffCount_ = other.rollBuffCount_;
|
|
rollBuffMaxCount_ = other.rollBuffMaxCount_;
|
|
canRoll_ = other.canRoll_;
|
|
sourceType_ = other.sourceType_;
|
|
sourceHintId_ = other.sourceHintId_;
|
|
rollBuffFreeCount_ = other.rollBuffFreeCount_;
|
|
handbookUnlockBuffIdList_ = other.handbookUnlockBuffIdList_.Clone();
|
|
sourceCurCount_ = other.sourceCurCount_;
|
|
sourceTotalCount_ = other.sourceTotalCount_;
|
|
selectBuffList_ = other.selectBuffList_.Clone();
|
|
certainSelectBuffId_ = other.certainSelectBuffId_;
|
|
rollBuffCostData_ = other.rollBuffCostData_ != null ? other.rollBuffCostData_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueCommonBuffSelectInfo Clone() {
|
|
return new RogueCommonBuffSelectInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "first_buff_type_list" field.</summary>
|
|
public const int FirstBuffTypeListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<uint> _repeated_firstBuffTypeList_codec
|
|
= pb::FieldCodec.ForUInt32(34);
|
|
private readonly pbc::RepeatedField<uint> firstBuffTypeList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> FirstBuffTypeList {
|
|
get { return firstBuffTypeList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "roll_buff_count" field.</summary>
|
|
public const int RollBuffCountFieldNumber = 15;
|
|
private uint rollBuffCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RollBuffCount {
|
|
get { return rollBuffCount_; }
|
|
set {
|
|
rollBuffCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roll_buff_max_count" field.</summary>
|
|
public const int RollBuffMaxCountFieldNumber = 8;
|
|
private uint rollBuffMaxCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RollBuffMaxCount {
|
|
get { return rollBuffMaxCount_; }
|
|
set {
|
|
rollBuffMaxCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "can_roll" field.</summary>
|
|
public const int CanRollFieldNumber = 3;
|
|
private bool canRoll_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool CanRoll {
|
|
get { return canRoll_; }
|
|
set {
|
|
canRoll_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "source_type" field.</summary>
|
|
public const int SourceTypeFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType sourceType_ = global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType SourceType {
|
|
get { return sourceType_; }
|
|
set {
|
|
sourceType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "source_hint_id" field.</summary>
|
|
public const int SourceHintIdFieldNumber = 14;
|
|
private uint sourceHintId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SourceHintId {
|
|
get { return sourceHintId_; }
|
|
set {
|
|
sourceHintId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roll_buff_free_count" field.</summary>
|
|
public const int RollBuffFreeCountFieldNumber = 7;
|
|
private uint rollBuffFreeCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RollBuffFreeCount {
|
|
get { return rollBuffFreeCount_; }
|
|
set {
|
|
rollBuffFreeCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "handbook_unlock_buff_id_list" field.</summary>
|
|
public const int HandbookUnlockBuffIdListFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<uint> _repeated_handbookUnlockBuffIdList_codec
|
|
= pb::FieldCodec.ForUInt32(74);
|
|
private readonly pbc::RepeatedField<uint> handbookUnlockBuffIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> HandbookUnlockBuffIdList {
|
|
get { return handbookUnlockBuffIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "source_cur_count" field.</summary>
|
|
public const int SourceCurCountFieldNumber = 2;
|
|
private uint sourceCurCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SourceCurCount {
|
|
get { return sourceCurCount_; }
|
|
set {
|
|
sourceCurCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "source_total_count" field.</summary>
|
|
public const int SourceTotalCountFieldNumber = 10;
|
|
private uint sourceTotalCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SourceTotalCount {
|
|
get { return sourceTotalCount_; }
|
|
set {
|
|
sourceTotalCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "select_buff_list" field.</summary>
|
|
public const int SelectBuffListFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueCommonBuff> _repeated_selectBuffList_codec
|
|
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.RogueCommonBuff.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff> selectBuffList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff> SelectBuffList {
|
|
get { return selectBuffList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "certain_select_buff_id" field.</summary>
|
|
public const int CertainSelectBuffIdFieldNumber = 11;
|
|
private uint certainSelectBuffId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CertainSelectBuffId {
|
|
get { return certainSelectBuffId_; }
|
|
set {
|
|
certainSelectBuffId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roll_buff_cost_data" field.</summary>
|
|
public const int RollBuffCostDataFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.ItemCostData rollBuffCostData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemCostData RollBuffCostData {
|
|
get { return rollBuffCostData_; }
|
|
set {
|
|
rollBuffCostData_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RogueCommonBuffSelectInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueCommonBuffSelectInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!firstBuffTypeList_.Equals(other.firstBuffTypeList_)) return false;
|
|
if (RollBuffCount != other.RollBuffCount) return false;
|
|
if (RollBuffMaxCount != other.RollBuffMaxCount) return false;
|
|
if (CanRoll != other.CanRoll) return false;
|
|
if (SourceType != other.SourceType) return false;
|
|
if (SourceHintId != other.SourceHintId) return false;
|
|
if (RollBuffFreeCount != other.RollBuffFreeCount) return false;
|
|
if(!handbookUnlockBuffIdList_.Equals(other.handbookUnlockBuffIdList_)) return false;
|
|
if (SourceCurCount != other.SourceCurCount) return false;
|
|
if (SourceTotalCount != other.SourceTotalCount) return false;
|
|
if(!selectBuffList_.Equals(other.selectBuffList_)) return false;
|
|
if (CertainSelectBuffId != other.CertainSelectBuffId) return false;
|
|
if (!object.Equals(RollBuffCostData, other.RollBuffCostData)) 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 ^= firstBuffTypeList_.GetHashCode();
|
|
if (RollBuffCount != 0) hash ^= RollBuffCount.GetHashCode();
|
|
if (RollBuffMaxCount != 0) hash ^= RollBuffMaxCount.GetHashCode();
|
|
if (CanRoll != false) hash ^= CanRoll.GetHashCode();
|
|
if (SourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) hash ^= SourceType.GetHashCode();
|
|
if (SourceHintId != 0) hash ^= SourceHintId.GetHashCode();
|
|
if (RollBuffFreeCount != 0) hash ^= RollBuffFreeCount.GetHashCode();
|
|
hash ^= handbookUnlockBuffIdList_.GetHashCode();
|
|
if (SourceCurCount != 0) hash ^= SourceCurCount.GetHashCode();
|
|
if (SourceTotalCount != 0) hash ^= SourceTotalCount.GetHashCode();
|
|
hash ^= selectBuffList_.GetHashCode();
|
|
if (CertainSelectBuffId != 0) hash ^= CertainSelectBuffId.GetHashCode();
|
|
if (rollBuffCostData_ != null) hash ^= RollBuffCostData.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 (rollBuffCostData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(RollBuffCostData);
|
|
}
|
|
if (SourceCurCount != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(SourceCurCount);
|
|
}
|
|
if (CanRoll != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(CanRoll);
|
|
}
|
|
firstBuffTypeList_.WriteTo(output, _repeated_firstBuffTypeList_codec);
|
|
if (SourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
|
|
output.WriteRawTag(40);
|
|
output.WriteEnum((int) SourceType);
|
|
}
|
|
if (RollBuffFreeCount != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(RollBuffFreeCount);
|
|
}
|
|
if (RollBuffMaxCount != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(RollBuffMaxCount);
|
|
}
|
|
handbookUnlockBuffIdList_.WriteTo(output, _repeated_handbookUnlockBuffIdList_codec);
|
|
if (SourceTotalCount != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(SourceTotalCount);
|
|
}
|
|
if (CertainSelectBuffId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CertainSelectBuffId);
|
|
}
|
|
selectBuffList_.WriteTo(output, _repeated_selectBuffList_codec);
|
|
if (SourceHintId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(SourceHintId);
|
|
}
|
|
if (RollBuffCount != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(RollBuffCount);
|
|
}
|
|
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 (rollBuffCostData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(RollBuffCostData);
|
|
}
|
|
if (SourceCurCount != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(SourceCurCount);
|
|
}
|
|
if (CanRoll != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(CanRoll);
|
|
}
|
|
firstBuffTypeList_.WriteTo(ref output, _repeated_firstBuffTypeList_codec);
|
|
if (SourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
|
|
output.WriteRawTag(40);
|
|
output.WriteEnum((int) SourceType);
|
|
}
|
|
if (RollBuffFreeCount != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(RollBuffFreeCount);
|
|
}
|
|
if (RollBuffMaxCount != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(RollBuffMaxCount);
|
|
}
|
|
handbookUnlockBuffIdList_.WriteTo(ref output, _repeated_handbookUnlockBuffIdList_codec);
|
|
if (SourceTotalCount != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(SourceTotalCount);
|
|
}
|
|
if (CertainSelectBuffId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CertainSelectBuffId);
|
|
}
|
|
selectBuffList_.WriteTo(ref output, _repeated_selectBuffList_codec);
|
|
if (SourceHintId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(SourceHintId);
|
|
}
|
|
if (RollBuffCount != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(RollBuffCount);
|
|
}
|
|
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 += firstBuffTypeList_.CalculateSize(_repeated_firstBuffTypeList_codec);
|
|
if (RollBuffCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffCount);
|
|
}
|
|
if (RollBuffMaxCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffMaxCount);
|
|
}
|
|
if (CanRoll != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (SourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SourceType);
|
|
}
|
|
if (SourceHintId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceHintId);
|
|
}
|
|
if (RollBuffFreeCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffFreeCount);
|
|
}
|
|
size += handbookUnlockBuffIdList_.CalculateSize(_repeated_handbookUnlockBuffIdList_codec);
|
|
if (SourceCurCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceCurCount);
|
|
}
|
|
if (SourceTotalCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceTotalCount);
|
|
}
|
|
size += selectBuffList_.CalculateSize(_repeated_selectBuffList_codec);
|
|
if (CertainSelectBuffId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CertainSelectBuffId);
|
|
}
|
|
if (rollBuffCostData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RollBuffCostData);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RogueCommonBuffSelectInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
firstBuffTypeList_.Add(other.firstBuffTypeList_);
|
|
if (other.RollBuffCount != 0) {
|
|
RollBuffCount = other.RollBuffCount;
|
|
}
|
|
if (other.RollBuffMaxCount != 0) {
|
|
RollBuffMaxCount = other.RollBuffMaxCount;
|
|
}
|
|
if (other.CanRoll != false) {
|
|
CanRoll = other.CanRoll;
|
|
}
|
|
if (other.SourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
|
|
SourceType = other.SourceType;
|
|
}
|
|
if (other.SourceHintId != 0) {
|
|
SourceHintId = other.SourceHintId;
|
|
}
|
|
if (other.RollBuffFreeCount != 0) {
|
|
RollBuffFreeCount = other.RollBuffFreeCount;
|
|
}
|
|
handbookUnlockBuffIdList_.Add(other.handbookUnlockBuffIdList_);
|
|
if (other.SourceCurCount != 0) {
|
|
SourceCurCount = other.SourceCurCount;
|
|
}
|
|
if (other.SourceTotalCount != 0) {
|
|
SourceTotalCount = other.SourceTotalCount;
|
|
}
|
|
selectBuffList_.Add(other.selectBuffList_);
|
|
if (other.CertainSelectBuffId != 0) {
|
|
CertainSelectBuffId = other.CertainSelectBuffId;
|
|
}
|
|
if (other.rollBuffCostData_ != null) {
|
|
if (rollBuffCostData_ == null) {
|
|
RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
RollBuffCostData.MergeFrom(other.RollBuffCostData);
|
|
}
|
|
_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 (rollBuffCostData_ == null) {
|
|
RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(RollBuffCostData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
SourceCurCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CanRoll = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
firstBuffTypeList_.AddEntriesFrom(input, _repeated_firstBuffTypeList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
SourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 56: {
|
|
RollBuffFreeCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
RollBuffMaxCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74:
|
|
case 72: {
|
|
handbookUnlockBuffIdList_.AddEntriesFrom(input, _repeated_handbookUnlockBuffIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
SourceTotalCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CertainSelectBuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
selectBuffList_.AddEntriesFrom(input, _repeated_selectBuffList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
SourceHintId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
RollBuffCount = 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 10: {
|
|
if (rollBuffCostData_ == null) {
|
|
RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(RollBuffCostData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
SourceCurCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CanRoll = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
firstBuffTypeList_.AddEntriesFrom(ref input, _repeated_firstBuffTypeList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
SourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 56: {
|
|
RollBuffFreeCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
RollBuffMaxCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74:
|
|
case 72: {
|
|
handbookUnlockBuffIdList_.AddEntriesFrom(ref input, _repeated_handbookUnlockBuffIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
SourceTotalCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CertainSelectBuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
selectBuffList_.AddEntriesFrom(ref input, _repeated_selectBuffList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
SourceHintId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
RollBuffCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|