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

    Class DevUtilAbstract

    Index

    Constructors

    Methods

    • Sends a debug message to a specific player, only if they have the dev tag.

      Parameters

      • player: Player

        The player to send the message to.

      • type: LogType

        The log type.

      • message: string

        The translation key of the message to send.

      Returns void

    • Sends a debug message to all players with the dev tag.

      Parameters

      • type: LogType

        The log type.

      • message: string

        The translation key of the message to send.

      Returns void

    • Dumps and clears all collected debug timers. Equivalent to DebugTimerUtil.report() + clear().

      Returns void

    • Dumps and clears timers that begin with a given prefix.

      Parameters

      • prefix: string

        The prefix used to filter timer IDs.

      Returns void

    • Dumps and clears timers for a predefined set of commonly used utility classes. This helps quickly inspect performance of shared systems.

      Returns void

    • Dumps timers that exceed a given exclusive time threshold (in milliseconds).

      Parameters

      • ms: number

        The minimum exclusive time (in ms) to include in the report.

      Returns void

    • Dumps and clears all timers sorted by exclusive time (default behavior).

      Returns void

    • Dumps and clears all timers sorted by total (inclusive) time.

      Returns void

    • Dumps and clears all timers sorted by average time per tick.

      Returns void