NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
13
Content.Server/NPC/Components/NPCComponent.cs
Normal file
13
Content.Server/NPC/Components/NPCComponent.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Content.Shared.NPC;
|
||||
|
||||
namespace Content.Server.NPC.Components
|
||||
{
|
||||
public abstract class NPCComponent : SharedNPCComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains all of the world data for a particular NPC in terms of how it sees the world.
|
||||
/// </summary>
|
||||
[ViewVariables, DataField("blackboard", customTypeSerializer: typeof(NPCBlackboardSerializer))]
|
||||
public NPCBlackboard Blackboard = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user