33 lines
911 B
C#
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;
|
|
}
|
|
}
|