CatStation/Content.Shared/StationRecords/Events/RecordModifiedEvent.cs
Rouden 4d0c40f358
Predict StationRecords (#40240)
* Make StationRecords YAML savable

* Update SharedStationRecordsSystem.cs

* Predict Station Records

* Attribute subs, query Resolve & DirtyFields

* Cleanup, prediction fixes, locale fixes

* Update GeneralRecordsUi.cs

Remove GeneralStationRecordConsoleState and obsolete SelectStationRecord
2026-07-17 03:36:39 +00:00

12 lines
390 B
C#

namespace Content.Shared.StationRecords.Events;
/// <summary>
/// Event raised after a record is modified. This is to
/// inform other systems that records stored in this key
/// may have changed.
/// </summary>
[ByRefEvent]
public readonly record struct RecordModifiedEvent(StationRecordKey Key) : IStationRecordEvent
{
public EntityUid Station => Key.OriginStation;
}