CatStation/Content.Shared/Corvax/Events/EventIconComponents.cs
Zekins 3384101047
Ивентовые иконки (#3346)
теперь у гмов есть хуйнюшка
2025-08-06 19:22:29 +07:00

22 lines
712 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<FactionIconPrototype> StatusIcon { get; set; } = "EventFaction";
}
/// <summary>
/// Component for entities that want to show an event icon.
/// </summary>
[NetworkedComponent, RegisterComponent]
public sealed partial class ShowEventIconComponent : Component;
}