@ianlucas/cs2-lib
    Preparing search index...

    Function healStickerOffset

    • Normalizes a stored sticker offset so healed data passes validation: drops non-finite values, truncates onto the CS2_STICKER_OFFSET_FACTOR grid, then clamps into the model's [min, max] (pass the item's getMinimum/MaximumStickerOffsetX/Y(); each bound skipped when undefined).

      Parameters

      • value: number | undefined
      • min: number | undefined
      • max: number | undefined

      Returns number | undefined