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

На главную

## social.AddFriend( name, description )

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

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

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

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

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

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

#### Search: "CategoryLuaApi" "CategorySocial"

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

CategoryLuaApi CategoryFunction CategorySocial

На главную