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)
|
|
|
|
|
{
|
2023-10-05 16:05:09 +01:00
|
|
|
args.Append(comp.Briefing);
|
2023-08-31 22:29:45 +01:00
|
|
|
}
|
|
|
|
|
}
|