@ascentbv/ts-common - v1.0.123
    Preparing search index...

    Class ChangelogUtilAbstract

    Index

    Constructors

    Methods

    • Registers available changelog line counts for each version. This should be called once during initialization.

      Parameters

      • data: Record<string, number>

        A mapping of version strings to number of changelog lines.

      Returns void

    • Opens the changelog UI for the current version and optionally lets the user view the full changelog.

      Parameters

      • player: Player

        The player to show the changelog to.

      • version: VersionUtil

        The current version object.

      Returns void

    • Opens the full changelog menu, allowing the player to select from all available versions.

      Parameters

      • player: Player

        The player to show the full changelog UI to.

      Returns void

    • Opens a detailed changelog UI for a specific version.

      Parameters

      • player: Player

        The player to show the version changelog to.

      • version: string

        The version string to display.

      Returns void

    • Generates a RawMessage containing all changelog lines for a given version.

      Parameters

      • version: string

        The version string.

      • lines: number

        The number of lines to include.

      Returns RawMessage

      A RawMessage with translated changelog lines.

    • Generates the rawtext block used for changelog lines of a specific version.

      Parameters

      • version: string

        The version string.

      • lines: number

        Number of lines to include.

      Returns RawMessage

      A RawMessage object containing all translated lines.