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
|
|
|
|
{
|
2023-09-11 09:42:41 +10:00
|
|
|
|
public readonly NetEntity NetEntity;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
|
2023-09-11 09:42:41 +10:00
|
|
|
|
public RequestCharacterInfoEvent(NetEntity netEntity)
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
2023-09-11 09:42:41 +10:00
|
|
|
|
NetEntity = netEntity;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class CharacterInfoEvent : EntityEventArgs
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
2023-09-11 09:42:41 +10:00
|
|
|
|
public readonly NetEntity NetEntity;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
public readonly string JobTitle;
|
2023-09-16 07:18:10 +01:00
|
|
|
|
public readonly Dictionary<string, List<ObjectiveInfo>> Objectives;
|
2023-08-31 22:29:45 +01:00
|
|
|
|
public readonly string? Briefing;
|
2023-10-02 16:50:02 +09:00
|
|
|
|
public readonly Dictionary<string, string> Memory;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
|
2023-10-02 16:50:02 +09:00
|
|
|
|
public CharacterInfoEvent(NetEntity netEntity, string jobTitle, Dictionary<string, List<ObjectiveInfo>> objectives, string? briefing, Dictionary<string,string> memory)
|
2021-12-11 15:12:55 -08:00
|
|
|
|
{
|
2023-09-11 09:42:41 +10:00
|
|
|
|
NetEntity = netEntity;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
JobTitle = jobTitle;
|
|
|
|
|
|
Objectives = objectives;
|
2022-01-05 00:46:40 -05:00
|
|
|
|
Briefing = briefing;
|
2023-10-02 16:50:02 +09:00
|
|
|
|
Memory = memory;
|
2021-12-11 15:12:55 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|