OSRS Plugin API
    Preparing search index...

    Type Alias OnLocOpCallback

    OnLocOpCallback: (opName: string, objId: number, coordinate: MapCoord) => void

    The callback for Events.ON_LOC_OP events.

    Type Declaration

      • (opName: string, objId: number, coordinate: MapCoord): void
      • Parameters

        • opName: string

          The action selected by the player.

        • objId: number

          The type id of the loc currently selected,

        • coordinate: MapCoord

          The coordinate of the selected location object.

        Returns void