Files
Seek-Battle-Evacuate/Assets/GameMain/Scripts/Base/Gen/WeightedEnemyParty.cs
T
huangjun 92bf3e9097 - 引入 UnityGameFramework
- 使用 Luban 替代原来的 UGF 的数据表
2026-08-30 18:08:55 +08:00

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 + ","
+ "}";
}
}
}