CatStation/Content.Shared/Guidebook/Events.cs
Tayrtahn 7389733a0f
Fix GuidebookDataSystem late MsgEntity warning (#45298)
Send GuidebookData automatically to new clients.
2026-08-13 10:18:25 +00:00

19 lines
536 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Guidebook;
/// <summary>
/// Sends all extracted prototype data needed by GuidebookDataSystem.
/// Raised by the server directed at newly-connected clients.
/// Also raised by the server at ALL clients when prototype data is hot-reloaded.
/// </summary>
[Serializable, NetSerializable]
public sealed class UpdateGuidebookDataEvent : EntityEventArgs
{
public GuidebookData Data;
public UpdateGuidebookDataEvent(GuidebookData data)
{
Data = data;
}
}