Table of Contents

Class WinnerPopupPhase

Namespace
Uncreated.Warfare.Layouts.Phases
Assembly
Uncreated.Warfare.dll
public class WinnerPopupPhase : BasePhase<PhaseTeamSettings>, ILayoutPhase, IEventListener<PlayerExitedZone>, IEventListener<PlayerTeamChanged>, IEventListener<PlayerJoined>
Inheritance
WinnerPopupPhase
Implements
Inherited Members

Constructors

WinnerPopupPhase(IServiceProvider, IConfiguration)

public WinnerPopupPhase(IServiceProvider serviceProvider, IConfiguration config)

Parameters

serviceProvider IServiceProvider
config IConfiguration

Methods

BeginPhaseAsync(CancellationToken)

Activates the phase. This should happen just after the old phase ended if there was one.

public override UniTask BeginPhaseAsync(CancellationToken token = default)

Parameters

token CancellationToken

Returns

UniTask

Remarks

Must set IsActive to true or the phase will be skipped.

EndPhaseAsync(CancellationToken)

Deactivates the phase.

public override UniTask EndPhaseAsync(CancellationToken token = default)

Parameters

token CancellationToken

Returns

UniTask

SendUI(LanguageSet, Team)

protected virtual void SendUI(LanguageSet languageSet, Team winner)

Parameters

languageSet LanguageSet
winner Team