//------------------------------------------------------------------------------
// <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 DebugPrint : ai.Task
{
    public DebugPrint(JsonElement _buf)  : base(_buf) 
    {
        Text = _buf.GetProperty("text").GetString();
    }

    public static DebugPrint DeserializeDebugPrint(JsonElement _buf)
    {
        return new ai.DebugPrint(_buf);
    }

    public readonly string Text;
   
    public const int __ID__ = 1357409728;
    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 + ","
        + "text:" + Text + ","
        + "}";
    }
}

}