fish-station/Content.Server/_Sunrise/FactionWeaponBlockerSystem/FactionWeaponBlockerComponent.cs
Rinary 3450799bc2
Фикс Ошибок Yaml linter, CRLF Check проекта (#109)
* Added Sound in Lobby

* Loadout Groups Locale Fix

* Может сначала укажем спрайт а потом указываем стейты с этого спрайта?

* Sprite in Icon

* Убрал лишнее из Audio

* SS13 Lobby Sound

* кто-то додумался запихнуть русские символы в название файла) Теперь git grep умирает от кодировки

* Прикольный вендомат(покупаешь за 1200, продаешь за 1290)

* backslash in file names fix

* No Cirilic in File Names
2024-06-13 16:35:57 +03:00

20 lines
725 B
C#

using Content.Shared.NPC.Prototypes;
using Content.Shared.Sunrise.FactionGunBlockerSystem;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Server._Sunrise.FactionWeaponBlockerSystem;
[RegisterComponent]
public sealed partial class FactionWeaponBlockerComponent : SharedFactionWeaponBlockerComponent
{
[ViewVariables(VVAccess.ReadWrite)]
public bool CanUse;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("alertText")]
public string AlertText = "";
[ViewVariables(VVAccess.ReadWrite),
DataField("factions", customTypeSerializer:typeof(PrototypeIdHashSetSerializer<NpcFactionPrototype>))]
public HashSet<string> Factions = new();
}