URL provider for handling CurseForge-related URLs. Extends the UrlProvider with CurseForge-specific properties.

Hierarchy (View Summary)

Constructors

  • Creates a new CurseForgeProvider instance.

    Parameters

    • hash: string

      A hash string used for identification or verification.

    • hashFormat: HashFormat

      The format of the provided hash.

    • mode: string

      The mode indicating how the CurseForge file should be accessed.

    • fileId: number

      The identifier for the file on CurseForge.

    • projectId: number

      The identifier for the project on CurseForge.

    Returns CurseForgeProvider

Properties

fileId: number

The identifier for the file on CurseForge.

hash: string

A hash string used for identifying or verifying the resource.

hashFormat: HashFormat

The format of the provided hash.

mode: string

The mode indicating how the CurseForge file should be accessed.

projectId: number

The identifier for the project on CurseForge.

A Resource instance representing the URL where the file can be downloaded from.