6
StarHorizon_Public/Content.Shared/_Horizon/NPC/DialogueStateComponent.cs
2026-01-24 12:49:55 +03:00

24 lines
507 B
C#

// DialogueStateComponent.cs
using Robust.Shared.Serialization;
namespace Content.Shared._Horizon.NPC
{
[RegisterComponent]
public sealed partial class DialogueStateComponent : Component
{
[DataField("currentState")]
public DialogueState State = DialogueState.Idle;
[DataField("currentResponse")]
public string? CurrentResponse;
}
public enum DialogueState : byte
{
Idle,
Talking,
Following,
WaitingResponse
}
}