Class SalvageMobRestrictionsGridComponent
This component is attached to grids when a salvage mob is spawned on them. This attachment is done by SalvageMobRestrictionsSystem. Simply put, when this component is removed, the mobs die. This applies even if the mobs are off-grid at the time.
Inheritance
System.Object
Robust.Shared.GameObjects.Component
SalvageMobRestrictionsGridComponent
Implements
Robust.Shared.GameObjects.IComponent
Namespace: Content.Server.Salvage
Assembly: Content.Server.dll
Syntax
public sealed class SalvageMobRestrictionsGridComponent : Component, IComponent
Fields
| Improve this Doc View SourceMobsToKill
Declaration
public List<EntityUid> MobsToKill
Field Value
Type | Description |
---|---|
List<Robust.Shared.GameObjects.EntityUid> |
Implements
Robust.Shared.GameObjects.IComponent