Table of Contents

Interface ILayoutPhaseListener<TPhaseType>

Namespace
Uncreated.Warfare.Services
Assembly
Uncreated.Warfare.dll

Allows a service to listen for a specific phase to start and/or end.

public interface ILayoutPhaseListener<in TPhaseType> where TPhaseType : ILayoutPhase

Type Parameters

TPhaseType

The base type of the phase.

Methods

OnPhaseEnded(TPhaseType, CancellationToken)

UniTask OnPhaseEnded(TPhaseType phase, CancellationToken token)

Parameters

phase TPhaseType
token CancellationToken

Returns

UniTask

OnPhaseStarted(TPhaseType, CancellationToken)

UniTask OnPhaseStarted(TPhaseType phase, CancellationToken token)

Parameters

phase TPhaseType
token CancellationToken

Returns

UniTask