Table of Contents

Class FlagNeutralized

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

Event listener args which fires after a FlagObjective is neutralized. "Neutralized" means one team successfully reduced the former owner team's contest points to zero, causing Owner to become neutral (NoTeam).

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

Properties

Flag

The flag that was neutralized.

public required FlagObjective Flag { get; init; }

Property Value

FlagObjective

Neutralizer

The team that neutralized the flag by means of leading the flag contest. This team is not the new Owner of the flag, but rather simply the team that caused it's owner to change.

public required Team Neutralizer { get; init; }

Property Value

Team

TakenFrom

The team that used to own this flag before it was neutralized, if any.

public required Team? TakenFrom { get; init; }

Property Value

Team

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

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

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry