mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
58
luban_examples/Projects/CfgValidator/Gen/ai.IsAtLocation.cs
Normal file
58
luban_examples/Projects/CfgValidator/Gen/ai.IsAtLocation.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
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 + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user