WarmLook beta
Interface of @v12-engine/client
ts
export interface WarmLook extends WarmWhat, Omit<WarmOptions, 'signal'>A warm-up as the game declares it (GameView.world.warm, MapEnvironment.warm): what (WarmWhat) and how (WarmOptions, without what only code has), and whether the types loaded later are warmed as they come
Members
later
ts
later?: boolean;Whether the unit types whose models load after the game started (GameView.files.later, the models behind, client.loadUnits) are warmed as they come, in the background. Yes when left out
onWarmed
ts
onWarmed?: (result: WarmResult) => void;Told what the warm-up behind the loading screen did (client.warmed)