2022-05-13 00:59:03 -07:00
|
|
|
|
using Content.Shared.Objectives;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.CharacterInfo;
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class RequestCharacterInfoEvent : EntityEventArgs
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
|
|
|
|
|
public readonly EntityUid EntityUid;
|
|
|
|
|
|
|
|
|
|
|
|
public RequestCharacterInfoEvent(EntityUid entityUid)
|
|
|
|
|
|
{
|
|
|
|
|
|
EntityUid = entityUid;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class CharacterInfoEvent : EntityEventArgs
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
|
|
|
|
|
public readonly EntityUid EntityUid;
|
|
|
|
|
|
public readonly string JobTitle;
|
|
|
|
|
|
public readonly Dictionary<string, List<ConditionInfo>> Objectives;
|
2022-01-05 00:46:40 -05:00
|
|
|
|
public readonly string Briefing;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
|
2022-01-05 00:46:40 -05:00
|
|
|
|
public CharacterInfoEvent(EntityUid entityUid, string jobTitle, Dictionary<string, List<ConditionInfo>> objectives, string briefing)
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
|
|
|
|
|
EntityUid = entityUid;
|
|
|
|
|
|
JobTitle = jobTitle;
|
|
|
|
|
|
Objectives = objectives;
|
2022-01-05 00:46:40 -05:00
|
|
|
|
Briefing = briefing;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|