//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
namespace SepCore.Definition
{
///
/// 敌人队伍权重
///
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);
}
///
/// 敌人队伍配置ID
///
public readonly int PartyId;
///
/// 刷新权重
///
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 + ","
+ "}";
}
}
}