Files
Delta-v/Content.Server/NPC/Components/NPCComponent.cs
T
Leon Friedrich 4a98c6e7d7 Fix post-mapinit NPC exception (#40244)
Ensure `NPCBlackboard.Owner` is set during startup
2025-12-29 11:39:17 -06: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
}