fish-station/Content.Server/_Sunrise/Doors/SunriseMultiTileAirtightComponent.cs

22 lines
1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Content.Server._Sunrise.Doors.Components;
/// <summary>
/// Сейчас используется только под двойные, тройные шлюзы
/// Спавнит блокеры по боковым частям относительно главного тайла
/// </summary>
[RegisterComponent]
public sealed partial class SunriseMultiTileAirtightComponent : Component
{
/// <summary>
/// Список оффсетов в локальных координатах двери, на каких тайлах должны появиться блокеры
/// Оффсет задает относительно главной точки двери
/// </summary>
[DataField(required: true)]
public List<Vector2i> ExtraTiles = new();
/// <summary>
/// Cписок заспавненных блокеров, используется системой для обновления airtight
/// </summary>
public List<EntityUid> Blockers = new();
}