Skip to content

Named beta ​

TypeAlias of @v12-engine/editor

ts
export type Named = {
    object: number;
} | {
    camp: number;
} | {
    region: number;
} | {
    point: number;
} | {
    path: number;
} | {
    doodad: number;
} | {
    light: number;
} | {
    effect: number;
} | {
    decal: number;
} | {
    sound: number;
} | {
    waterfall: number;
} | {
    mistArea: number;
} | {
    weatherArea: number;
} | {
    cloudPatch: number;
} | {
    pictureZone: number;
} | {
    thing: number;
    kind: string;
};

Something on the map that can have a name, by its id: an object, a camp, a region, a point, a path, a doodad, or a thing of a kind of the game's own (thing, with the kind's name)