Files
tbd-station-14/Content.Server/NPC/Components/NPCComponent.cs
Leon Friedrich 4b51b2953d Fix post-mapinit NPC exception (#40244)
Ensure `NPCBlackboard.Owner` is set during startup
2025-10-07 14:03:45 +00:00

14 lines
441 B
C#

using Content.Shared.NPC;
namespace Content.Server.NPC.Components;
public abstract partial class NPCComponent : SharedNPCComponent
{
/// <summary>
/// Contains all of the world data for a particular NPC in terms of how it sees the world.
/// </summary>
[DataField("blackboard", customTypeSerializer: typeof(NPCBlackboardSerializer))]
public NPCBlackboard Blackboard = new();
// TODO FULL GAME SAVE Serialize this
}