Class SalvageRequested
Base class for SalvageBarricadeRequested and SalvageStructureRequested.
public abstract class SalvageRequested : CancellablePlayerEvent, IPlayerEvent, ICancellable
- Inheritance
-
SalvageRequested
- Implements
- Derived
- Inherited Members
Fields
BuildableCache
protected IBuildable? BuildableCache
Field Value
Properties
Buildable
Abstracted IBuildable of the buildable.
public abstract IBuildable Buildable { get; }
Property Value
InstanceId
Instance Id of the buildable.
public required uint InstanceId { get; init; }
Property Value
InstigatorTeam
The team that was responsible for the buildable being destroyed.
public required Team InstigatorTeam { get; init; }
Property Value
RegionPosition
Coordinate of the barricade region in SDG.Unturned.BarricadeManager.regions.
public required RegionCoord RegionPosition { get; init; }
Property Value
- RegionCoord
Transform
The Unity model of the buildable.
public abstract Transform Transform { get; }
Property Value
- Transform