Files
vampire-like/Assets/GameMain/Scripts/Base/Gen/enemySpawnConfig.cs
T

66 lines
1.5 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 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);
}
/// <summary>
/// 要出的怪名
/// </summary>
public readonly EnemyType EnemyType;
/// <summary>
/// 一次出的数量
/// </summary>
public readonly int EnemyCount;
/// <summary>
/// 每次出怪的间隔
/// </summary>
public readonly int Interval;
public const int __ID__ = -1182208523;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "enemyType:" + EnemyType + ","
+ "enemyCount:" + EnemyCount + ","
+ "interval:" + Interval + ","
+ "}";
}
}
}