59 lines
1.3 KiB
C#
59 lines
1.3 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using Luban;
|
|
|
|
|
|
namespace SepCore.Definition
|
|
{
|
|
/// <summary>
|
|
/// 敌人队伍权重
|
|
/// </summary>
|
|
public sealed partial class WeightedEnemyParty : Luban.BeanBase
|
|
{
|
|
public WeightedEnemyParty(ByteBuf _buf)
|
|
{
|
|
PartyId = _buf.ReadInt();
|
|
Weight = _buf.ReadInt();
|
|
}
|
|
|
|
public static WeightedEnemyParty DeserializeWeightedEnemyParty(ByteBuf _buf)
|
|
{
|
|
return new WeightedEnemyParty(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 敌人队伍配置ID
|
|
/// </summary>
|
|
public readonly int PartyId;
|
|
/// <summary>
|
|
/// 刷新权重
|
|
/// </summary>
|
|
public readonly int Weight;
|
|
|
|
public const int __ID__ = 918145237;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "partyId:" + PartyId + ","
|
|
+ "weight:" + Weight + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|