Skip to content

SharedSceneArgs beta ​

TypeAlias of @v12-engine/client/app

ts
export type SharedSceneArgs = {
    map?: string;
    mods?: string[];
    from?: WorldSave;
    generated?: GeneratorOptions;
    editing?: MapBeingEdited;
};

What any scene may be opened with (SceneArgs): a map, mods, a save to go on from, a map to generate, the map being edited. What is a scene's own (a mission, a replay, a server's address) is its args' type (SceneRef<A>)