Table of Contents

Class SquadLeaderUpdated

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

Event listener args which fires after a player joines a Squad.

[EventModel(EventSynchronizationContext.Pure)]
public class SquadLeaderUpdated : SquadUpdated
Inheritance
SquadLeaderUpdated
Inherited Members

Properties

DidUpdateName

If the squad had the default 'Xxx's Squad' and was changed to correspond to the new leader.

public required bool DidUpdateName { get; init; }

Property Value

bool

NewLeader

The player that is now the squad leader. This player may not be online.

public required WarfarePlayer NewLeader { get; init; }

Property Value

WarfarePlayer

OldLeader

The player that used to be the squad leader. This player may not be online.

public required WarfarePlayer OldLeader { get; init; }

Property Value

WarfarePlayer