ScriptWidget

Event Listeners

  • widget.onMsessage(player: ScriptPlayer, object: any)

Methods

  • widget.sendMessage(object: any)
    • send message to the widget
  • widget.destroy()
    • hide widget

Fields

  • widget.player: ScriptPlayer
    • target player for the widget
  • widget.id: number
    • widget ID
  • widget.destroyed: boolean
    • check status of the destroyed widget
Last modified 6mo ago