Class AirshipChatSingleton

Access using Airship.Chat. Functions for configuring the chat window as well as broadcasting messages.

To send a player a message see Player.SendMessage.

Methods

  • Broadcasts message to entire server, if called from server. Otherwise, broadcasts message to only local player.

    Parameters

    • message: string

      A message.

    Returns void

  • [Server only]

    Registers provided command.

    Parameters

    Returns void

  • [Client only]

    Sets chat's visibility.

    Parameters

    • val: boolean

      Whether or not chat should be visible.

    Returns void