| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using Content.Shared.StatusIcon;
- using Robust.Shared.GameStates;
- using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
- namespace Content.Shared.Overlays;
- /// <summary>
- /// This component allows you to see faction icons above mobs.
- /// </summary>
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "HostileFaction";
- }
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowEnglishFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "EnglishFaction";
- }
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowFrenchFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "FrenchFaction";
- }
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowGermanFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "GermanFaction";
- }
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowSovietFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "SovietFaction";
- }
- [RegisterComponent, NetworkedComponent]
- public sealed partial class ShowUsFactionIconsComponent : Component
- {
- /// <summary>
- /// The faction icon to display
- /// </summary>
- [DataField("factionIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
- public string FactionIcon = "UsFaction";
- }
|