mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
691 lines
25 KiB
C#
691 lines
25 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",
|
|
"TGluZXVwVHlwZS5wcm90byLPAgoKTGluZXVwSW5mbxITCgtQSkJKTkZOQkpP",
|
|
"ThgGIAEoCBITCgtKTk1ER0NKSENKShgKIAMoDRIhChlzdG9yeV9saW5lX2F2",
|
|
"YXRhcl9pZF9saXN0GAggAygNEg0KBWluZGV4GAUgASgNEhAKCHBsYW5lX2lk",
|
|
"GAcgASgNEhoKEmdhbWVfc3RvcnlfbGluZV9pZBgNIAEoDRITCgtPTUFHTU9L",
|
|
"SkhOTRgLIAMoDRISCgppc192aXJ0dWFsGAEgASgIEisKEWV4dHJhX2xpbmV1",
|
|
"cF90eXBlGA4gASgOMhAuRXh0cmFMaW5ldXBUeXBlEhMKC2xlYWRlcl9zbG90",
|
|
"GAwgASgNEgoKAm1wGAMgASgNEgwKBG5hbWUYDyABKAkSDgoGbWF4X21wGAkg",
|
|
"ASgNEiIKC2F2YXRhcl9saXN0GAQgAygLMg0uTGluZXVwQXZhdGFyQh6qAhtF",
|
|
"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[]{ "PJBJNFNBJON", "JNMDGCJHCJJ", "StoryLineAvatarIdList", "Index", "PlaneId", "GameStoryLineId", "OMAGMOKJHNM", "IsVirtual", "ExtraLineupType", "LeaderSlot", "Mp", "Name", "MaxMp", "AvatarList" }, 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() {
|
|
pJBJNFNBJON_ = other.pJBJNFNBJON_;
|
|
jNMDGCJHCJJ_ = other.jNMDGCJHCJJ_.Clone();
|
|
storyLineAvatarIdList_ = other.storyLineAvatarIdList_.Clone();
|
|
index_ = other.index_;
|
|
planeId_ = other.planeId_;
|
|
gameStoryLineId_ = other.gameStoryLineId_;
|
|
oMAGMOKJHNM_ = other.oMAGMOKJHNM_.Clone();
|
|
isVirtual_ = other.isVirtual_;
|
|
extraLineupType_ = other.extraLineupType_;
|
|
leaderSlot_ = other.leaderSlot_;
|
|
mp_ = other.mp_;
|
|
name_ = other.name_;
|
|
maxMp_ = other.maxMp_;
|
|
avatarList_ = other.avatarList_.Clone();
|
|
_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 "PJBJNFNBJON" field.</summary>
|
|
public const int PJBJNFNBJONFieldNumber = 6;
|
|
private bool pJBJNFNBJON_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool PJBJNFNBJON {
|
|
get { return pJBJNFNBJON_; }
|
|
set {
|
|
pJBJNFNBJON_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "JNMDGCJHCJJ" field.</summary>
|
|
public const int JNMDGCJHCJJFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<uint> _repeated_jNMDGCJHCJJ_codec
|
|
= pb::FieldCodec.ForUInt32(82);
|
|
private readonly pbc::RepeatedField<uint> jNMDGCJHCJJ_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> JNMDGCJHCJJ {
|
|
get { return jNMDGCJHCJJ_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "story_line_avatar_id_list" field.</summary>
|
|
public const int StoryLineAvatarIdListFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<uint> _repeated_storyLineAvatarIdList_codec
|
|
= pb::FieldCodec.ForUInt32(66);
|
|
private readonly pbc::RepeatedField<uint> storyLineAvatarIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 11
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> StoryLineAvatarIdList {
|
|
get { return storyLineAvatarIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "index" field.</summary>
|
|
public const int IndexFieldNumber = 5;
|
|
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 "plane_id" field.</summary>
|
|
public const int PlaneIdFieldNumber = 7;
|
|
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 = 13;
|
|
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 "OMAGMOKJHNM" field.</summary>
|
|
public const int OMAGMOKJHNMFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_oMAGMOKJHNM_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> oMAGMOKJHNM_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 8
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> OMAGMOKJHNM {
|
|
get { return oMAGMOKJHNM_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "is_virtual" field.</summary>
|
|
public const int IsVirtualFieldNumber = 1;
|
|
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 "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 "leader_slot" field.</summary>
|
|
public const int LeaderSlotFieldNumber = 12;
|
|
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 "mp" field.</summary>
|
|
public const int MpFieldNumber = 3;
|
|
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 = 15;
|
|
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");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "max_mp" field.</summary>
|
|
public const int MaxMpFieldNumber = 9;
|
|
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 "avatar_list" field.</summary>
|
|
public const int AvatarListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.LineupAvatar> _repeated_avatarList_codec
|
|
= pb::FieldCodec.ForMessage(34, 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_; }
|
|
}
|
|
|
|
[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 (PJBJNFNBJON != other.PJBJNFNBJON) return false;
|
|
if(!jNMDGCJHCJJ_.Equals(other.jNMDGCJHCJJ_)) return false;
|
|
if(!storyLineAvatarIdList_.Equals(other.storyLineAvatarIdList_)) return false;
|
|
if (Index != other.Index) return false;
|
|
if (PlaneId != other.PlaneId) return false;
|
|
if (GameStoryLineId != other.GameStoryLineId) return false;
|
|
if(!oMAGMOKJHNM_.Equals(other.oMAGMOKJHNM_)) return false;
|
|
if (IsVirtual != other.IsVirtual) return false;
|
|
if (ExtraLineupType != other.ExtraLineupType) return false;
|
|
if (LeaderSlot != other.LeaderSlot) return false;
|
|
if (Mp != other.Mp) return false;
|
|
if (Name != other.Name) return false;
|
|
if (MaxMp != other.MaxMp) return false;
|
|
if(!avatarList_.Equals(other.avatarList_)) 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 (PJBJNFNBJON != false) hash ^= PJBJNFNBJON.GetHashCode();
|
|
hash ^= jNMDGCJHCJJ_.GetHashCode();
|
|
hash ^= storyLineAvatarIdList_.GetHashCode();
|
|
if (Index != 0) hash ^= Index.GetHashCode();
|
|
if (PlaneId != 0) hash ^= PlaneId.GetHashCode();
|
|
if (GameStoryLineId != 0) hash ^= GameStoryLineId.GetHashCode();
|
|
hash ^= oMAGMOKJHNM_.GetHashCode();
|
|
if (IsVirtual != false) hash ^= IsVirtual.GetHashCode();
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode();
|
|
if (LeaderSlot != 0) hash ^= LeaderSlot.GetHashCode();
|
|
if (Mp != 0) hash ^= Mp.GetHashCode();
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (MaxMp != 0) hash ^= MaxMp.GetHashCode();
|
|
hash ^= avatarList_.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 (IsVirtual != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (Mp != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Mp);
|
|
}
|
|
avatarList_.WriteTo(output, _repeated_avatarList_codec);
|
|
if (Index != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
if (PJBJNFNBJON != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PJBJNFNBJON);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
storyLineAvatarIdList_.WriteTo(output, _repeated_storyLineAvatarIdList_codec);
|
|
if (MaxMp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(MaxMp);
|
|
}
|
|
jNMDGCJHCJJ_.WriteTo(output, _repeated_jNMDGCJHCJJ_codec);
|
|
oMAGMOKJHNM_.WriteTo(output, _repeated_oMAGMOKJHNM_codec);
|
|
if (LeaderSlot != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(LeaderSlot);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(GameStoryLineId);
|
|
}
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Name);
|
|
}
|
|
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 (IsVirtual != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (Mp != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Mp);
|
|
}
|
|
avatarList_.WriteTo(ref output, _repeated_avatarList_codec);
|
|
if (Index != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
if (PJBJNFNBJON != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PJBJNFNBJON);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
storyLineAvatarIdList_.WriteTo(ref output, _repeated_storyLineAvatarIdList_codec);
|
|
if (MaxMp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(MaxMp);
|
|
}
|
|
jNMDGCJHCJJ_.WriteTo(ref output, _repeated_jNMDGCJHCJJ_codec);
|
|
oMAGMOKJHNM_.WriteTo(ref output, _repeated_oMAGMOKJHNM_codec);
|
|
if (LeaderSlot != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(LeaderSlot);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(GameStoryLineId);
|
|
}
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Name);
|
|
}
|
|
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 (PJBJNFNBJON != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += jNMDGCJHCJJ_.CalculateSize(_repeated_jNMDGCJHCJJ_codec);
|
|
size += storyLineAvatarIdList_.CalculateSize(_repeated_storyLineAvatarIdList_codec);
|
|
if (Index != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
|
}
|
|
if (PlaneId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId);
|
|
}
|
|
if (GameStoryLineId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStoryLineId);
|
|
}
|
|
size += oMAGMOKJHNM_.CalculateSize(_repeated_oMAGMOKJHNM_codec);
|
|
if (IsVirtual != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType);
|
|
}
|
|
if (LeaderSlot != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeaderSlot);
|
|
}
|
|
if (Mp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mp);
|
|
}
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (MaxMp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxMp);
|
|
}
|
|
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
|
|
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.PJBJNFNBJON != false) {
|
|
PJBJNFNBJON = other.PJBJNFNBJON;
|
|
}
|
|
jNMDGCJHCJJ_.Add(other.jNMDGCJHCJJ_);
|
|
storyLineAvatarIdList_.Add(other.storyLineAvatarIdList_);
|
|
if (other.Index != 0) {
|
|
Index = other.Index;
|
|
}
|
|
if (other.PlaneId != 0) {
|
|
PlaneId = other.PlaneId;
|
|
}
|
|
if (other.GameStoryLineId != 0) {
|
|
GameStoryLineId = other.GameStoryLineId;
|
|
}
|
|
oMAGMOKJHNM_.Add(other.oMAGMOKJHNM_);
|
|
if (other.IsVirtual != false) {
|
|
IsVirtual = other.IsVirtual;
|
|
}
|
|
if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
ExtraLineupType = other.ExtraLineupType;
|
|
}
|
|
if (other.LeaderSlot != 0) {
|
|
LeaderSlot = other.LeaderSlot;
|
|
}
|
|
if (other.Mp != 0) {
|
|
Mp = other.Mp;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.MaxMp != 0) {
|
|
MaxMp = other.MaxMp;
|
|
}
|
|
avatarList_.Add(other.avatarList_);
|
|
_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: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Mp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Index = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PJBJNFNBJON = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
PlaneId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66:
|
|
case 64: {
|
|
storyLineAvatarIdList_.AddEntriesFrom(input, _repeated_storyLineAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
MaxMp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
jNMDGCJHCJJ_.AddEntriesFrom(input, _repeated_jNMDGCJHCJJ_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
oMAGMOKJHNM_.AddEntriesFrom(input, _repeated_oMAGMOKJHNM_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
LeaderSlot = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
GameStoryLineId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Name = input.ReadString();
|
|
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: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Mp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Index = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PJBJNFNBJON = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
PlaneId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66:
|
|
case 64: {
|
|
storyLineAvatarIdList_.AddEntriesFrom(ref input, _repeated_storyLineAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
MaxMp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
jNMDGCJHCJJ_.AddEntriesFrom(ref input, _repeated_jNMDGCJHCJJ_codec);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
oMAGMOKJHNM_.AddEntriesFrom(ref input, _repeated_oMAGMOKJHNM_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
LeaderSlot = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
GameStoryLineId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|