Class SignTextChanged
- Namespace
- Uncreated.Warfare.Events.Models.Barricades
- Assembly
- Uncreated.Warfare.dll
Event listener args which handles a patch on updateText(string).
[EventModel(EventSynchronizationContext.Pure)]
public class SignTextChanged : IActionLoggableEvent
- Inheritance
-
SignTextChanged
- Implements
- Inherited Members
Properties
Barricade
The barricade's object and model data.
public required BarricadeDrop Barricade { get; init; }
Property Value
- BarricadeDrop
Buildable
Abstracted IBuildable of the barricade.
public IBuildable Buildable { get; }
Property Value
Instigator
Player that changed the sign text, if they exist.
public required WarfarePlayer? Instigator { get; init; }
Property Value
IsOnVehicle
If the barricade is planted on a vehicle.
public bool IsOnVehicle { get; }
Property Value
Region
The region the barricade was placed in. This could be of type SDG.Unturned.VehicleBarricadeRegion.
public required BarricadeRegion Region { get; init; }
Property Value
- BarricadeRegion
RegionPosition
Coordinate of the barricade region in SDG.Unturned.BarricadeManager.regions.
public required RegionCoord RegionPosition { get; init; }
Property Value
- RegionCoord
ServersideData
The barricade's server-side data.
public required BarricadeData ServersideData { get; init; }
Property Value
- BarricadeData
Sign
The barricade's sign component.
public required InteractableSign Sign { get; init; }
Property Value
- InteractableSign
Text
New text on the sign.
public required string Text { get; init; }
Property Value
Transform
The Unity model of the barricade.
public Transform Transform { get; }
Property Value
- Transform
VehicleRegionIndex
The index of the vehicle region in SDG.Unturned.BarricadeManager.vehicleRegions. MaxValue if the barricade is not planted.
public required ushort VehicleRegionIndex { get; init; }
Property Value
Remarks
Also known as 'plant'.
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]