mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
685 lines
24 KiB
C#
685 lines
24 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: LineupInfo.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 LineupInfo.proto</summary>
|
|
public static partial class LineupInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for LineupInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static LineupInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChBMaW5ldXBJbmZvLnByb3RvGhJMaW5ldXBBdmF0YXIucHJvdG8aFUV4dHJh",
|
|
"TGluZXVwVHlwZS5wcm90byLPAgoKTGluZXVwSW5mbxIrChFleHRyYV9saW5l",
|
|
"dXBfdHlwZRgOIAEoDjIQLkV4dHJhTGluZXVwVHlwZRISCgppc192aXJ0dWFs",
|
|
"GAYgASgIEg0KBWluZGV4GAEgASgNEhMKC2xlYWRlcl9zbG90GAUgASgNEiEK",
|
|
"GXN0b3J5X2xpbmVfYXZhdGFyX2lkX2xpc3QYCyADKA0SEwoLTUFOS0tGUEJG",
|
|
"Q0IYDCADKA0SIgoLYXZhdGFyX2xpc3QYDSADKAsyDS5MaW5ldXBBdmF0YXIS",
|
|
"EAoIcGxhbmVfaWQYDyABKA0SGgoSZ2FtZV9zdG9yeV9saW5lX2lkGAcgASgN",
|
|
"Eg4KBm1heF9tcBgEIAEoDRITCgtCRk5CS0xNQU1LQhgCIAEoCBITCgtLT01Q",
|
|
"Q0pQQVBLTRgKIAMoDRIKCgJtcBgJIAEoDRIMCgRuYW1lGAMgASgJQh6qAhtF",
|
|
"Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.LineupAvatarReflection.Descriptor, global::EggLink.DanhengServer.Proto.ExtraLineupTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LineupInfo), global::EggLink.DanhengServer.Proto.LineupInfo.Parser, new[]{ "ExtraLineupType", "IsVirtual", "Index", "LeaderSlot", "StoryLineAvatarIdList", "MANKKFPBFCB", "AvatarList", "PlaneId", "GameStoryLineId", "MaxMp", "BFNBKLMAMKB", "KOMPCJPAPKM", "Mp", "Name" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class LineupInfo : pb::IMessage<LineupInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<LineupInfo> _parser = new pb::MessageParser<LineupInfo>(() => new LineupInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<LineupInfo> 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.LineupInfoReflection.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 LineupInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LineupInfo(LineupInfo other) : this() {
|
|
extraLineupType_ = other.extraLineupType_;
|
|
isVirtual_ = other.isVirtual_;
|
|
index_ = other.index_;
|
|
leaderSlot_ = other.leaderSlot_;
|
|
storyLineAvatarIdList_ = other.storyLineAvatarIdList_.Clone();
|
|
mANKKFPBFCB_ = other.mANKKFPBFCB_.Clone();
|
|
avatarList_ = other.avatarList_.Clone();
|
|
planeId_ = other.planeId_;
|
|
gameStoryLineId_ = other.gameStoryLineId_;
|
|
maxMp_ = other.maxMp_;
|
|
bFNBKLMAMKB_ = other.bFNBKLMAMKB_;
|
|
kOMPCJPAPKM_ = other.kOMPCJPAPKM_.Clone();
|
|
mp_ = other.mp_;
|
|
name_ = other.name_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LineupInfo Clone() {
|
|
return new LineupInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "extra_lineup_type" field.</summary>
|
|
public const int ExtraLineupTypeFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.ExtraLineupType extraLineupType_ = global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ExtraLineupType ExtraLineupType {
|
|
get { return extraLineupType_; }
|
|
set {
|
|
extraLineupType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_virtual" field.</summary>
|
|
public const int IsVirtualFieldNumber = 6;
|
|
private bool isVirtual_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsVirtual {
|
|
get { return isVirtual_; }
|
|
set {
|
|
isVirtual_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "index" field.</summary>
|
|
public const int IndexFieldNumber = 1;
|
|
private uint index_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Index {
|
|
get { return index_; }
|
|
set {
|
|
index_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "leader_slot" field.</summary>
|
|
public const int LeaderSlotFieldNumber = 5;
|
|
private uint leaderSlot_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LeaderSlot {
|
|
get { return leaderSlot_; }
|
|
set {
|
|
leaderSlot_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "story_line_avatar_id_list" field.</summary>
|
|
public const int StoryLineAvatarIdListFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_storyLineAvatarIdList_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> storyLineAvatarIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> StoryLineAvatarIdList {
|
|
get { return storyLineAvatarIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "MANKKFPBFCB" field.</summary>
|
|
public const int MANKKFPBFCBFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<uint> _repeated_mANKKFPBFCB_codec
|
|
= pb::FieldCodec.ForUInt32(98);
|
|
private readonly pbc::RepeatedField<uint> mANKKFPBFCB_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> MANKKFPBFCB {
|
|
get { return mANKKFPBFCB_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "avatar_list" field.</summary>
|
|
public const int AvatarListFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.LineupAvatar> _repeated_avatarList_codec
|
|
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.LineupAvatar.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupAvatar> avatarList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupAvatar>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupAvatar> AvatarList {
|
|
get { return avatarList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "plane_id" field.</summary>
|
|
public const int PlaneIdFieldNumber = 15;
|
|
private uint planeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint PlaneId {
|
|
get { return planeId_; }
|
|
set {
|
|
planeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "game_story_line_id" field.</summary>
|
|
public const int GameStoryLineIdFieldNumber = 7;
|
|
private uint gameStoryLineId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GameStoryLineId {
|
|
get { return gameStoryLineId_; }
|
|
set {
|
|
gameStoryLineId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "max_mp" field.</summary>
|
|
public const int MaxMpFieldNumber = 4;
|
|
private uint maxMp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MaxMp {
|
|
get { return maxMp_; }
|
|
set {
|
|
maxMp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BFNBKLMAMKB" field.</summary>
|
|
public const int BFNBKLMAMKBFieldNumber = 2;
|
|
private bool bFNBKLMAMKB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool BFNBKLMAMKB {
|
|
get { return bFNBKLMAMKB_; }
|
|
set {
|
|
bFNBKLMAMKB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KOMPCJPAPKM" field.</summary>
|
|
public const int KOMPCJPAPKMFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<uint> _repeated_kOMPCJPAPKM_codec
|
|
= pb::FieldCodec.ForUInt32(82);
|
|
private readonly pbc::RepeatedField<uint> kOMPCJPAPKM_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> KOMPCJPAPKM {
|
|
get { return kOMPCJPAPKM_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "mp" field.</summary>
|
|
public const int MpFieldNumber = 9;
|
|
private uint mp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Mp {
|
|
get { return mp_; }
|
|
set {
|
|
mp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 3;
|
|
private string name_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Name {
|
|
get { return name_; }
|
|
set {
|
|
name_ = 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 LineupInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(LineupInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ExtraLineupType != other.ExtraLineupType) return false;
|
|
if (IsVirtual != other.IsVirtual) return false;
|
|
if (Index != other.Index) return false;
|
|
if (LeaderSlot != other.LeaderSlot) return false;
|
|
if(!storyLineAvatarIdList_.Equals(other.storyLineAvatarIdList_)) return false;
|
|
if(!mANKKFPBFCB_.Equals(other.mANKKFPBFCB_)) return false;
|
|
if(!avatarList_.Equals(other.avatarList_)) return false;
|
|
if (PlaneId != other.PlaneId) return false;
|
|
if (GameStoryLineId != other.GameStoryLineId) return false;
|
|
if (MaxMp != other.MaxMp) return false;
|
|
if (BFNBKLMAMKB != other.BFNBKLMAMKB) return false;
|
|
if(!kOMPCJPAPKM_.Equals(other.kOMPCJPAPKM_)) return false;
|
|
if (Mp != other.Mp) return false;
|
|
if (Name != other.Name) 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 (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode();
|
|
if (IsVirtual != false) hash ^= IsVirtual.GetHashCode();
|
|
if (Index != 0) hash ^= Index.GetHashCode();
|
|
if (LeaderSlot != 0) hash ^= LeaderSlot.GetHashCode();
|
|
hash ^= storyLineAvatarIdList_.GetHashCode();
|
|
hash ^= mANKKFPBFCB_.GetHashCode();
|
|
hash ^= avatarList_.GetHashCode();
|
|
if (PlaneId != 0) hash ^= PlaneId.GetHashCode();
|
|
if (GameStoryLineId != 0) hash ^= GameStoryLineId.GetHashCode();
|
|
if (MaxMp != 0) hash ^= MaxMp.GetHashCode();
|
|
if (BFNBKLMAMKB != false) hash ^= BFNBKLMAMKB.GetHashCode();
|
|
hash ^= kOMPCJPAPKM_.GetHashCode();
|
|
if (Mp != 0) hash ^= Mp.GetHashCode();
|
|
if (Name.Length != 0) hash ^= Name.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 (Index != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
if (BFNBKLMAMKB != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(BFNBKLMAMKB);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Name);
|
|
}
|
|
if (MaxMp != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MaxMp);
|
|
}
|
|
if (LeaderSlot != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(LeaderSlot);
|
|
}
|
|
if (IsVirtual != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(GameStoryLineId);
|
|
}
|
|
if (Mp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(Mp);
|
|
}
|
|
kOMPCJPAPKM_.WriteTo(output, _repeated_kOMPCJPAPKM_codec);
|
|
storyLineAvatarIdList_.WriteTo(output, _repeated_storyLineAvatarIdList_codec);
|
|
mANKKFPBFCB_.WriteTo(output, _repeated_mANKKFPBFCB_codec);
|
|
avatarList_.WriteTo(output, _repeated_avatarList_codec);
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
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 (Index != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
if (BFNBKLMAMKB != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(BFNBKLMAMKB);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Name);
|
|
}
|
|
if (MaxMp != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MaxMp);
|
|
}
|
|
if (LeaderSlot != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(LeaderSlot);
|
|
}
|
|
if (IsVirtual != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(GameStoryLineId);
|
|
}
|
|
if (Mp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(Mp);
|
|
}
|
|
kOMPCJPAPKM_.WriteTo(ref output, _repeated_kOMPCJPAPKM_codec);
|
|
storyLineAvatarIdList_.WriteTo(ref output, _repeated_storyLineAvatarIdList_codec);
|
|
mANKKFPBFCB_.WriteTo(ref output, _repeated_mANKKFPBFCB_codec);
|
|
avatarList_.WriteTo(ref output, _repeated_avatarList_codec);
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
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 (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType);
|
|
}
|
|
if (IsVirtual != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Index != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
|
}
|
|
if (LeaderSlot != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeaderSlot);
|
|
}
|
|
size += storyLineAvatarIdList_.CalculateSize(_repeated_storyLineAvatarIdList_codec);
|
|
size += mANKKFPBFCB_.CalculateSize(_repeated_mANKKFPBFCB_codec);
|
|
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
|
|
if (PlaneId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStoryLineId);
|
|
}
|
|
if (MaxMp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxMp);
|
|
}
|
|
if (BFNBKLMAMKB != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += kOMPCJPAPKM_.CalculateSize(_repeated_kOMPCJPAPKM_codec);
|
|
if (Mp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mp);
|
|
}
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(LineupInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
ExtraLineupType = other.ExtraLineupType;
|
|
}
|
|
if (other.IsVirtual != false) {
|
|
IsVirtual = other.IsVirtual;
|
|
}
|
|
if (other.Index != 0) {
|
|
Index = other.Index;
|
|
}
|
|
if (other.LeaderSlot != 0) {
|
|
LeaderSlot = other.LeaderSlot;
|
|
}
|
|
storyLineAvatarIdList_.Add(other.storyLineAvatarIdList_);
|
|
mANKKFPBFCB_.Add(other.mANKKFPBFCB_);
|
|
avatarList_.Add(other.avatarList_);
|
|
if (other.PlaneId != 0) {
|
|
PlaneId = other.PlaneId;
|
|
}
|
|
if (other.GameStoryLineId != 0) {
|
|
GameStoryLineId = other.GameStoryLineId;
|
|
}
|
|
if (other.MaxMp != 0) {
|
|
MaxMp = other.MaxMp;
|
|
}
|
|
if (other.BFNBKLMAMKB != false) {
|
|
BFNBKLMAMKB = other.BFNBKLMAMKB;
|
|
}
|
|
kOMPCJPAPKM_.Add(other.kOMPCJPAPKM_);
|
|
if (other.Mp != 0) {
|
|
Mp = other.Mp;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
_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: {
|
|
Index = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BFNBKLMAMKB = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
MaxMp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
LeaderSlot = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
GameStoryLineId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Mp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
kOMPCJPAPKM_.AddEntriesFrom(input, _repeated_kOMPCJPAPKM_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
storyLineAvatarIdList_.AddEntriesFrom(input, _repeated_storyLineAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
mANKKFPBFCB_.AddEntriesFrom(input, _repeated_mANKKFPBFCB_codec);
|
|
break;
|
|
}
|
|
case 106: {
|
|
avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 120: {
|
|
PlaneId = 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: {
|
|
Index = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BFNBKLMAMKB = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
MaxMp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
LeaderSlot = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
GameStoryLineId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Mp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
kOMPCJPAPKM_.AddEntriesFrom(ref input, _repeated_kOMPCJPAPKM_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
storyLineAvatarIdList_.AddEntriesFrom(ref input, _repeated_storyLineAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
mANKKFPBFCB_.AddEntriesFrom(ref input, _repeated_mANKKFPBFCB_codec);
|
|
break;
|
|
}
|
|
case 106: {
|
|
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 120: {
|
|
PlaneId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|