- 引入 UnityGameFramework
- 使用 Luban 替代原来的 UGF 的数据表
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user