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

На главную


social.GetIgnoreInfo( ignoreId )

Возвращает информацию о персонаже из списка игнорирования главного игрока.

-- библиотека:
social

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

-- параметры:
ignoreId: ObjectId - идентификатор о персонаже из списка игнорирования (это не обычный идентификатор игрока)

-- возвращаемые значения
table or nil - возращает nil, если персонаж из списка игнорирования не найден, иначе таблица с полями:
  id: ObjectId - идентификатор элемента из списка игнорирования
  name: WString - имя персонажа
  description: WString - комментарий самого главного игрока (по данному персонажу)

-- пример
local ignories = social.GetIgnoreList()
for i = 0, GetTableSize( ignories ) - 1 do
  local ignoreInfo = social.GetIgnoreInfo( ignories[i] )
  if ignoreInfo then
    local ignoreName = ignoreInfo.name
  end
end

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

EnumAvatarFriendIgnoreListsError
EnumCreateRevivalRollResultStatus
EventAvatarAddedToFriendList
EventAvatarFriendAdded
EventAvatarFriendAltNameChanged
EventAvatarFriendDescriptionChanged
EventAvatarFriendIgnoreListsError
EventAvatarFriendInfoChanged
EventAvatarFriendLevelChanged
EventAvatarFriendListChanged
EventAvatarFriendListLoaded
EventAvatarFriendMoodChanged
EventAvatarFriendMutualChanged
EventAvatarFriendOnlineChanged
EventAvatarFriendRemoved
EventAvatarFriendSexChanged
EventAvatarFriendZoneChanged
EventAvatarIgnoreAdded
EventAvatarIgnoreDescriptionChanged
EventAvatarIgnoreListChanged
EventAvatarIgnoreListLoaded
EventAvatarIgnoreRemoved
EventBestFriendReturnStateChanged
EventBestFriendTeleportSpellChanged
EventBestFriendTeleportSpellEffect
EventBestFriendTeleportStateChanged
EventRevivalRollResult
EventRevivalsChanged
FunctionHangarCanLendShip
FunctionHangarGetTakeAwaySpellId
FunctionHangarLendShip
FunctionHangarTakeAwayShip
FunctionSocialAddFriend
FunctionSocialAddIgnore
FunctionSocialCanReturn
FunctionSocialCanSocialize
FunctionSocialCanTeleport
FunctionSocialEndFriendship
FunctionSocialGetBackMount
FunctionSocialGetFriend
FunctionSocialGetFriendInfo
FunctionSocialGetFriendList
FunctionSocialGetFriendshipInfo
FunctionSocialGetIgnoreInfo
FunctionSocialGetIgnoreList
FunctionSocialGetRevivalRollInfo
FunctionSocialGetTeleportSpell
FunctionSocialGiveBackMount
FunctionSocialIsFriendListLoaded
FunctionSocialIsIgnoreListLoaded
FunctionSocialLendMount
FunctionSocialRemoveFriend
FunctionSocialRemoveIgnore
FunctionSocialReturnFromBestFriend
FunctionSocialTeleportToBestFriend


CategoryLuaApi CategoryFunction CategorySocial

На главную