Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YUi

Index

Constructors

constructor

  • new YUi(): YUi

Methods

Static console

  • console(message: any): void
  • Print text to game console (chat).

    Parameters

    • message: any

    Returns void

Static disableCharacterTab

  • Allows to enable/disable* character tab for all the players.

    Parameters

    Returns void

  • Allows to enable/disable* character tab for specific player.

    Parameters

    Returns void

Static disableHud

  • Allows to enable/disable* HUD component for all the players.

    Parameters

    Returns void

  • Allows to enable/disable* HUD component for specific player.

    Parameters

    Returns void

Static hideTextAboveEntity

  • hideTextAboveEntity(entity: YEntity): void
  • Hides the text displayed above an entity.

    Parameters

    Returns void

Static showBubble

  • showBubble(speaker: YEntity, message: string, hideSpeaker: boolean): void
  • showBubble(speaker: YReferencePoint, message: string, hideSpeaker: boolean): void
  • Display text bubble above target entity.

    Parameters

    • speaker: YEntity
    • message: string
    • hideSpeaker: boolean

    Returns void

  • Displays text bubble above the target entity.

    Parameters

    Returns void

Static showNotification

  • Will show a notification text to a specific player.

    Parameters

    Returns void

  • Will show a notification text to all players.

    Parameters

    Returns void

Static showPermanentTextAboveEntity

  • showPermanentTextAboveEntity(entity: YEntity, text: string, color: YColor): void
  • Shows permanent text above an entity.

    Parameters

    Returns void

Static showTextAboveEntity

  • Displays the entered text above the target entity for the given time.

    Parameters

    Returns void

  • Displays the entered text above the target player's head for the given time.

    Parameters

    Returns void

Static showWarning

  • showWarning(player: YCharacter, warning: any): void
  • showWarning(warning: any): void
  • Will show a warning text to a specific player.

    Parameters

    Returns void

  • Will show a warning text to all players.

    Parameters

    • warning: any

    Returns void

Generated using TypeDoc