6
StarHorizon_Public/Content.Shared/CharacterInfo/SharedCharacterInfoSystem.cs
2025-08-13 15:03:01 +03:00

33 lines
911 B
C#

using Content.Shared.Objectives;
using Robust.Shared.Serialization;
namespace Content.Shared.CharacterInfo;
[Serializable, NetSerializable]
public sealed class RequestCharacterInfoEvent : EntityEventArgs
{
public readonly NetEntity NetEntity;
public RequestCharacterInfoEvent(NetEntity netEntity)
{
NetEntity = netEntity;
}
}
[Serializable, NetSerializable]
public sealed class CharacterInfoEvent : EntityEventArgs
{
public readonly NetEntity NetEntity;
public readonly string JobTitle;
public readonly Dictionary<string, List<ObjectiveInfo>> Objectives;
public readonly string? Briefing;
public CharacterInfoEvent(NetEntity netEntity, string jobTitle, Dictionary<string, List<ObjectiveInfo>> objectives, string? briefing)
{
NetEntity = netEntity;
JobTitle = jobTitle;
Objectives = objectives;
Briefing = briefing;
}
}