DeadZone Community Packages
    Preparing search index...

    Interface ObjectComposition

    interface ObjectComposition {
        getId(): number;
        getName(): string;
        getActions(): string[];
        getMapSceneId(): number;
        getMapIconId(): number;
        getImpostorIds(): number[];
        getImpostor(): ObjectComposition;
        getVarbitId(): number;
        getVarPlayerId(): number;
        getSizeX(): number;
        getSizeY(): number;
    }
    Index

    Methods

    • Gets ID for the object.

      Returns number

    • Gets the name of the object.

      Returns string

    • Returns number

    • Returns number

    • Get the IDs of NPCs this can transform into, depending on a Varbit or VarPlayer id.

      Returns number[]

      null if this object can't transform

    • Gets the Varbit used to switch this multiloc, or -1 if this is not switched by a VarPlayer

      Returns number

    • Get the size of the object on the X-axis in tiles

      Returns number

    • Get the size of the object on the Y-axis in tiles

      Returns number