mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-03 01:27:26 +00:00
17 lines
404 B
C#
17 lines
404 B
C#
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)
|
|
{
|
|
args.Append(comp.Briefing);
|
|
}
|
|
}
|