Files
Delta-v/Content.Shared/_Goobstation/StationReport/StationReportSystemClientMessage.cs
T
Cepelinas1 376ed6a5b4 port: IAA Endround Report (#5997)
* it breathes

* probably okay

* Create station-report.ftl

thing miwssing

* IAA store update

* guidebook

* update on things

* revert robusttoolbox

* make it fit into folders and clipboards

* update on the styling of paper
2026-07-02 12:28:28 +02:00

23 lines
642 B
C#

using Content.Shared._Goobstation.StationReport;
using Robust.Shared.GameObjects;
namespace Content.Shared._Goobstation.StationReport;
public sealed class StationReportSystem : EntitySystem
{
//stores the last received station report
public string? StationReportText { get; private set; } = null;
public override void Initialize()
{
base.Initialize();
SubscribeNetworkEvent<StationReportEvent>(OnStationReportReceived);
}
private void OnStationReportReceived(StationReportEvent ev)
{
//Save the received message in the variable
StationReportText = ev.StationReportText;
}
}