Table of Contents

Class FlagContestStateChanged

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

Event listener args which fires after a flag's CurrentContestState changes to a different FlagContestState.ContestState.

[EventModel(EventSynchronizationContext.Pure)]
public class FlagContestStateChanged : IActionLoggableEvent
Inheritance
FlagContestStateChanged
Implements
Inherited Members

Properties

Flag

The flag that is being contested.

public required FlagObjective Flag { get; init; }

Property Value

FlagObjective

NewState

The flag's contest state after the change.

public required FlagContestState NewState { get; init; }

Property Value

FlagContestState

OldState

The flag's contest state before the change.

public required FlagContestState OldState { get; init; }

Property Value

FlagContestState

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

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

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry