RSS

Вторник, 23.04.2024, 12:17
Главная » WoW API » API Виджеты » Прокручивающееся сообщение фрейма »

ScrollingMessageFrame:AddMessage("text" [, red [, green [, blue [, id [, addToTop]]]]])

[ править ]
Adds a message to those listed in the frame.
[клоны]
Adds a message to those listed in the frame.


Signature:
Code
ScrollingMessageFrame:AddMessage("text" [, red [, green [, blue [, id [, addToTop]]]]])

Arguments:
  • text - Text of the message (string)
  • red - Red component of the text color for the message (0.0 - 1.0) (number)
  • green - Green component of the text color for the message (0.0 - 1.0) (number)
  • blue - Blue component of the text color for the message (0.0 - 1.0) (number)
  • id - Identifier for the message's type (see :UpdateColorByID()) (number)
  • addToTop - True to insert the message above all others listed in the frame, even if the frame's insert mode is set to BOTTOM; false to insert according to the frame's insert mode (boolean)

Также смотрите: Прокручивающееся сообщение фрейма
Ссылки: http://wowprogramming.com/docs/widgets/ScrollingMessageFrame/AddMessage