//------------------------------------------------------------------------------ // // 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; using System.Text.Json; namespace cfg.ai { public sealed partial class UeWait : ai.Task { public UeWait(JsonElement _buf) : base(_buf) { WaitTime = _buf.GetProperty("wait_time").GetSingle(); RandomDeviation = _buf.GetProperty("random_deviation").GetSingle(); } public static UeWait DeserializeUeWait(JsonElement _buf) { return new ai.UeWait(_buf); } public readonly float WaitTime; public readonly float RandomDeviation; public const int __ID__ = -512994101; public override int GetTypeId() => __ID__; public override void ResolveRef(Tables tables) { base.ResolveRef(tables); } public override string ToString() { return "{ " + "id:" + Id + "," + "nodeName:" + NodeName + "," + "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + "," + "services:" + Luban.StringUtil.CollectionToString(Services) + "," + "ignoreRestartSelf:" + IgnoreRestartSelf + "," + "waitTime:" + WaitTime + "," + "randomDeviation:" + RandomDeviation + "," + "}"; } } }