mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
60 lines
1.8 KiB
C#
60 lines
1.8 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <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 SimpleParallel : ai.ComposeNode
|
|
{
|
|
public SimpleParallel(JsonElement _buf) : base(_buf)
|
|
{
|
|
FinishMode = (ai.EFinishMode)_buf.GetProperty("finish_mode").GetInt32();
|
|
MainTask = ai.Task.DeserializeTask(_buf.GetProperty("main_task"));
|
|
BackgroundNode = ai.FlowNode.DeserializeFlowNode(_buf.GetProperty("background_node"));
|
|
}
|
|
|
|
public static SimpleParallel DeserializeSimpleParallel(JsonElement _buf)
|
|
{
|
|
return new ai.SimpleParallel(_buf);
|
|
}
|
|
|
|
public readonly ai.EFinishMode FinishMode;
|
|
public readonly ai.Task MainTask;
|
|
public readonly ai.FlowNode BackgroundNode;
|
|
|
|
public const int __ID__ = -1952582529;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public override void ResolveRef(Tables tables)
|
|
{
|
|
base.ResolveRef(tables);
|
|
|
|
MainTask?.ResolveRef(tables);
|
|
BackgroundNode?.ResolveRef(tables);
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "id:" + Id + ","
|
|
+ "nodeName:" + NodeName + ","
|
|
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
|
|
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
|
|
+ "finishMode:" + FinishMode + ","
|
|
+ "mainTask:" + MainTask + ","
|
|
+ "backgroundNode:" + BackgroundNode + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|