Skip to main content
Version: 15.x (API 15) [Current]

Interface IGameLifecycle

Class offering cancellation tokens for common gameplay events.

Assembly: Dalamud.dll​
Declaration
public interface IGameLifecycle : IDalamudService

Properties​

DalamudUnloadingToken​

Gets a token that is cancelled when Dalamud is unloading.

Declaration
CancellationToken DalamudUnloadingToken { get; }

GameShuttingDownToken​

Gets a token that is cancelled when the game is shutting down.

Declaration
CancellationToken GameShuttingDownToken { get; }

LogoutToken​

Gets a token that is cancelled when a character is logging out.

Declaration
CancellationToken LogoutToken { get; }