//------------------------------------------------------------------------------ // // 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__ = -1182208523; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "enemyType:" + EnemyType + "," + "enemyCount:" + EnemyCount + "," + "interval:" + Interval + "," + "}"; } } }