//------------------------------------------------------------------------------ // // 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 IsAtLocation : ai.Decorator { public IsAtLocation(JsonElement _buf) : base(_buf) { AcceptableRadius = _buf.GetProperty("acceptable_radius").GetSingle(); KeyboardKey = _buf.GetProperty("keyboard_key").GetString(); InverseCondition = _buf.GetProperty("inverse_condition").GetBoolean(); } public static IsAtLocation DeserializeIsAtLocation(JsonElement _buf) { return new ai.IsAtLocation(_buf); } public readonly float AcceptableRadius; public readonly string KeyboardKey; public readonly bool InverseCondition; public const int __ID__ = 1255972344; public override int GetTypeId() => __ID__; public override void ResolveRef(Tables tables) { base.ResolveRef(tables); } public override string ToString() { return "{ " + "id:" + Id + "," + "nodeName:" + NodeName + "," + "flowAbortMode:" + FlowAbortMode + "," + "acceptableRadius:" + AcceptableRadius + "," + "keyboardKey:" + KeyboardKey + "," + "inverseCondition:" + InverseCondition + "," + "}"; } } }