Table of Contents

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

IBuildable

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

bool

Owner

The owner of the buildable, if they're online.

WarfarePlayer? Owner { get; }

Property Value

WarfarePlayer

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

ushort

Remarks

Also known as 'plant'.