Table of Contents

Class FlagCaptured

Namespace
Uncreated.Warfare.Events.Models.Flags
Assembly
Uncreated.Warfare.dll

Event listener args which fires after a FlagObjective is captured. "Captured" means that a flag's Owner changed to a winning Team after they won the flag contest of a neutral flag.

[EventModel(EventSynchronizationContext.Pure)]
public class FlagCaptured : IActionLoggableEvent, IObjectiveTaken, IFlagsNeedUIUpdateEvent
Inheritance
FlagCaptured
Implements
Inherited Members

Properties

Capturer

The team that captured the flag by means of leading the flag contest.

public required Team Capturer { get; init; }

Property Value

Team

Flag

The flag that was captured.

public required FlagObjective Flag { get; init; }

Property Value

FlagObjective

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry