2023-08-31 22:29:45 +01:00
|
|
|
namespace Content.Server.Roles;
|
|
|
|
|
|
|
|
|
|
public sealed class RoleBriefingSystem : EntitySystem
|
|
|
|
|
{
|
|
|
|
|
public override void Initialize()
|
|
|
|
|
{
|
|
|
|
|
base.Initialize();
|
|
|
|
|
|
|
|
|
|
SubscribeLocalEvent<RoleBriefingComponent, GetBriefingEvent>(OnGetBriefing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OnGetBriefing(EntityUid uid, RoleBriefingComponent comp, ref GetBriefingEvent args)
|
|
|
|
|
{
|
2024-06-13 02:24:08 +00:00
|
|
|
args.Append(Loc.GetString(comp.Briefing));
|
2023-08-31 22:29:45 +01:00
|
|
|
}
|
|
|
|
|
}
|