Interface IBuildablePlacedEvent
- Namespace
- Uncreated.Warfare.Events.Models.Buildables
- Assembly
- Uncreated.Warfare.dll
Base event for when a barricade or structure is placed.
public interface IBuildablePlacedEvent : IActionLoggableEvent
- Inherited Members
Properties
Buildable
Abstracted IBuildable of the buildable.
IBuildable Buildable { get; }
Property Value
GroupId
The Steam ID of the group that placed the structure.
CSteamID GroupId { get; }
Property Value
- CSteamID
IsOnVehicle
If this buildable is being placed on a vehicle.
bool IsOnVehicle { get; }
Property Value
Owner
The owner of the buildable, if they're online.
WarfarePlayer? Owner { get; }
Property Value
OwnerId
The Steam ID of the player that placed the structure.
CSteamID OwnerId { get; }
Property Value
- CSteamID
RegionPosition
Coordinate of the region the buildable was placed in.
RegionCoord RegionPosition { get; }
Property Value
- RegionCoord
Transform
The Unity model of the structure.
Transform Transform { get; }
Property Value
- Transform
VehicleRegionIndex
The index of the vehicle region in SDG.Unturned.BarricadeManager.vehicleRegions. MaxValue if the buildable is not planted.
ushort VehicleRegionIndex { get; }
Property Value
Remarks
Also known as 'plant'.