Skip to content

upgradeOf beta ​

Function of @v12-engine/engine

ts
export declare function upgradeOf(state: EntityState): {
    to: string;
    progress: number;
} | undefined;

The type a building in a snapshot is turning into, and how far, 0..1: undefined for one that is not