Пользовательские дополнения

На главную


avatar.GetEmotes()

Возвращает список Id эмоций.

-- библиотека
avatar

-- объявление:
function GetEmotes()

-- параметры
нет

-- возвращаемые значения
table of ObjectId - список идентификаторов эмоций

-- пример использования
local emotes = avatar.GetEmotes()
for i, id in pairs( emotes ) do
  local emoteInfo = avatar.GetEmoteInfo( id )
  common.LogInfo( emoteInfo.sysName )
end

Связанные страницы: "CategoryLuaApi" "CategoryEmotes"

CategoryEmotes
EventEmotesChanged
EventUnitMoodChanged
FunctionAvatarBindEmoteToActionPanel
FunctionAvatarClearMood
FunctionAvatarGetEmoteInfo
FunctionAvatarGetEmotes
FunctionUnitGetMoodEmoteId


CategoryLuaApi CategoryFunction CategoryAvatar CategoryEmotes

На главную