mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
22 lines
711 B
C#
22 lines
711 B
C#
using Content.Shared.StatusIcon;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Corvax.Events.Components
|
|
{
|
|
/// <summary>
|
|
/// Component for entities that want to get an event icon.
|
|
/// </summary>
|
|
[NetworkedComponent, RegisterComponent]
|
|
public sealed partial class EventIconComponent : Component
|
|
{
|
|
[DataField("eventStatusIcon")]
|
|
public ProtoId<StatusIconPrototype> StatusIcon { get; set; } = "EventFaction";
|
|
}
|
|
|
|
/// <summary>
|
|
/// Component for entities that want to show an event icon.
|
|
/// </summary>
|
|
[NetworkedComponent, RegisterComponent]
|
|
public sealed partial class ShowEventIconComponent : Component;
|
|
}
|