57 lines
1.5 KiB
C#
Raw Normal View History

2023-11-05 03:26:09 +08:00
//------------------------------------------------------------------------------
// <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 ChooseSkill : ai.Task
{
public ChooseSkill(JsonElement _buf) : base(_buf)
{
TargetActorKey = _buf.GetProperty("target_actor_key").GetString();
ResultSkillIdKey = _buf.GetProperty("result_skill_id_key").GetString();
}
public static ChooseSkill DeserializeChooseSkill(JsonElement _buf)
{
return new ai.ChooseSkill(_buf);
}
public readonly string TargetActorKey;
public readonly string ResultSkillIdKey;
public const int __ID__ = -918812268;
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 + ","
+ "targetActorKey:" + TargetActorKey + ","
+ "resultSkillIdKey:" + ResultSkillIdKey + ","
+ "}";
}
}
}