Table of Contents

Class FlagObjectiveChanged

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

Event listener args which fires after a Team's (or global if Team is null) objective changes FlagObjective.

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

Properties

NewObjective

The new current objective for Team.

public required FlagObjective? NewObjective { get; init; }

Property Value

FlagObjective

Remarks

null if the team now has no objective.

OldObjective

The previous objective for Team.

public required FlagObjective? OldObjective { get; init; }

Property Value

FlagObjective

Remarks

null if the team had no objective.

Team

The team who's objective changed, or null for global objectives.

public required Team? Team { 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