h1z1-server
    Preparing search index...

    Function checkConstructionInRange

    • Checks if any construction in the dictionary is within the specified range of the given position and has a matching itemDefinitionId.

      Parameters

      • dictionary: any

        The dictionary of constructions to check.

      • position: Float32Array

        The position to check against.

      • range: number

        The range to check.

      • itemDefinitionId: number

        The item definition ID to match.

      Returns boolean

      A boolean indicating whether a matching construction is within range of the position.