Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Utils

Hierarchy

  • Utils

Index

Constructors

Protected constructor

Properties

Static RPGMAKER_NAME

RPGMAKER_NAME: string

The name of the RPG Maker. 'MV' in the current version.

Static RPGMAKER_VERSION

RPGMAKER_VERSION: string

The version of the RPG Maker.

static
property

RPGMAKER_VERSION

final

Methods

Static canReadGameFiles

  • canReadGameFiles(): boolean

Static encodeURI

  • encodeURI(str: string): string

Static generateRuntimeId

  • generateRuntimeId(): number

Static isAndroidChrome

  • isAndroidChrome(): boolean

Static isMobileDevice

  • isMobileDevice(): boolean

Static isMobileSafari

  • isMobileSafari(): boolean

Static isNwjs

  • isNwjs(): boolean

Static isOptionValid

  • isOptionValid(name: string): boolean
  • Checks whether the option is in the query string.

    Parameters

    • name: string

      The option name

    Returns boolean

    True if the option is in the query string

Static isSupportPassiveEvent

  • isSupportPassiveEvent(): boolean

Static rgbToCssColor

  • rgbToCssColor(r: number, g: number, b: number): string
  • Makes a CSS color string from RGB values.

    static
    method

    rgbToCssColor

    Parameters

    • r: number

      The red value in the range (0, 255)

    • g: number

      The green value in the range (0, 255)

    • b: number

      The blue value in the range (0, 255)

    Returns string

    CSS color string

Generated using TypeDoc