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

На главную


social.AddFriend( name, description )

Попытка добавить персонажа в список друзей текущего аватара игрока.

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

-- объявление:
function AddFriend( name, description )

-- параметры:
name: WString - имя персонажа
description: WString - собственный комментарий игрока

-- возвращаемые значения:
нет

-- пример
social.AddFriend( name, description )

Search: "CategoryLuaApi" "CategorySocial"

EnumAvatarFriendIgnoreListsError
EventAvatarFriendAdded
EventAvatarFriendIgnoreListsError
EventAvatarFriendLevelChanged
EventAvatarFriendListChanged
EventAvatarFriendMutualChanged
EventAvatarFriendOnlineChanged
EventAvatarFriendRemoved
EventAvatarIgnoreAdded
EventAvatarIgnoreListChanged
EventAvatarIgnoreRemoved
FunctionSocialAddFriend
FunctionSocialAddIgnore
FunctionSocialGetFriendList
FunctionSocialGetIgnoreList
FunctionSocialRemoveFriend
FunctionSocialRemoveIgnore


CategoryLuaApi CategoryFunction CategorySocial

На главную