DeadZone Community Packages
    Preparing search index...

    Class RegionLocation

    Represents a region location in the game world

    Implements

    Implemented by

    Index

    Constructors

    • Creates a new RegionLocation at the X and Y position with specified ID

      Parameters

      • x: number

        the X position in the region

      • y: number

        the Y position in the region

      • id: number

        the region ID

      Returns RegionLocation

    Methods

    • Checks if the provided WorldPoint matches this region location

      Parameters

      Returns boolean

    • Returns the ID of this region location

      Returns number

    • Returns the X position of this region location

      Returns number

    • Returns the Y position of this region location

      Returns number

    • Converts a RegionLocation to a WorldPoint using the provided client

      Parameters

      • client: {
            getBoostedSkillLevels: any;
            getDestinationLocation: any;
            getGameState: any;
            getItemComposition: any;
            getLocalPlayer: any;
            getMenuEntries: any;
            getMouseX: any;
            getMouseY: any;
            getObjectComposition: any;
            getRealSkillLevels: any;
            getScene: any;
            getSelectedSceneTile: any;
            getTopLevelWorldView: any;
            getTotalLevel: any;
            getWidgetRoots: any;
            getXP: any;
            invokeLater: any;
            isClientThread: any;
        }
      • regionLocation: RegionLocation

      Returns WorldPoint