HTNCompoundTask.cs 550 B

123456789101112131415
  1. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  2. namespace Content.Server.NPC.HTN;
  3. /// <summary>
  4. /// Represents a network of multiple tasks. This gets expanded out to its relevant nodes.
  5. /// </summary>
  6. /// <remarks>
  7. /// This just points to a specific htnCompound prototype
  8. /// </remarks>
  9. public sealed partial class HTNCompoundTask : HTNTask, IHTNCompound
  10. {
  11. [DataField("task", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<HTNCompoundPrototype>))]
  12. public string Task = string.Empty;
  13. }