//------------------------------------------------------------------------------ // // 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 AlertDistanceBand : Luban.BeanBase { public AlertDistanceBand(ByteBuf _buf) { MaxDistanceMilli = _buf.ReadInt(); AlertPerSecondMilli = _buf.ReadInt(); } public static AlertDistanceBand DeserializeAlertDistanceBand(ByteBuf _buf) { return new AlertDistanceBand(_buf); } /// /// 该段最大距离,单位千分之一Unity单位 /// public readonly int MaxDistanceMilli; /// /// 每秒增加警惕值,满值1000 /// public readonly int AlertPerSecondMilli; public const int __ID__ = -1892026586; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "maxDistanceMilli:" + MaxDistanceMilli + "," + "alertPerSecondMilli:" + AlertPerSecondMilli + "," + "}"; } } }