Skip to main content

ChatRoomMapViewGetConnectivityDirections

Callable

  • ChatRoomMapViewGetConnectivityDirections(X: number, Y: number, Condition: (arg0: number, arg1: number) => boolean): { East: boolean; North: boolean; South: boolean; West: boolean }

  • Checks for connectivity in 4 directions based on a provided validation function


    Parameters

    • X: number

      The X position on the map

    • Y: number

      The Y position on the map

    • Condition: (arg0: number, arg1: number) => boolean

      Function that returns true if the position is connected

      Returns { East: boolean; North: boolean; South: boolean; West: boolean }

      • The connectivity status
      • East: boolean
      • North: boolean
      • South: boolean
      • West: boolean