2023-08-02 10:48:56 +10:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
2022-09-06 00:28:23 +10:00
|
|
|
|
|
|
|
|
namespace Content.Server.NPC.HTN;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a network of multiple tasks. This gets expanded out to its relevant nodes.
|
|
|
|
|
/// </summary>
|
2023-08-02 10:48:56 +10:00
|
|
|
/// <remarks>
|
|
|
|
|
/// This just points to a specific htnCompound prototype
|
|
|
|
|
/// </remarks>
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class HTNCompoundTask : HTNTask, IHTNCompound
|
2022-09-06 00:28:23 +10:00
|
|
|
{
|
2023-08-02 10:48:56 +10:00
|
|
|
[DataField("task", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<HTNCompoundPrototype>))]
|
|
|
|
|
public string Task = string.Empty;
|
2022-09-06 00:28:23 +10:00
|
|
|
}
|