mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Update base system * Update highlights.ftl * Update highlights.ftl * Fix some mistakes * Fix lawyer and libriab hightlight... Arghhg * Change string jobId to JobPrototype. Remove JobName from CharacterData * Fix to use ProtoId<JobPrototype> * Fixes for qrwas! * fix using * fix integration tests * Update ChatHighlightTest.cs --------- Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
34 lines
980 B
C#
34 lines
980 B
C#
using Content.Shared.Objectives;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
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 ProtoId<JobPrototype>? Job;
|
|
public readonly Dictionary<string, List<ObjectiveInfo>> Objectives;
|
|
public readonly string? Briefing;
|
|
|
|
public CharacterInfoEvent(NetEntity netEntity, Dictionary<string, List<ObjectiveInfo>> objectives, string? briefing, ProtoId<JobPrototype>? job)
|
|
{
|
|
NetEntity = netEntity;
|
|
Objectives = objectives;
|
|
Briefing = briefing;
|
|
Job = job;
|
|
}
|
|
}
|