//------------------------------------------------------------------------------
//
// 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 EnemySpawnConfig : Luban.BeanBase
{
public EnemySpawnConfig(ByteBuf _buf)
{
EnemyType = (EnemyType)_buf.ReadInt();
EnemyCount = _buf.ReadInt();
Interval = _buf.ReadInt();
}
public static EnemySpawnConfig DeserializeEnemySpawnConfig(ByteBuf _buf)
{
return new EnemySpawnConfig(_buf);
}
///
/// 要出的怪名
///
public readonly EnemyType EnemyType;
///
/// 一次出的数量
///
public readonly int EnemyCount;
///
/// 每次出怪的间隔
///
public readonly int Interval;
public const int __ID__ = -2024984043;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "enemyType:" + EnemyType + ","
+ "enemyCount:" + EnemyCount + ","
+ "interval:" + Interval + ","
+ "}";
}
}
}