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

На главную


EVENT_AVATAR_FRIEND_ZONE_CHANGED

Событие приходит при изменении карты, на которой находится друг.

-- поля:
id: ObjectId - идентификатор элемента списка друзей главного игрока
name: WString - имя персонажа
mapId: ObjectId or nil - идентификатор карты, на которой находится персонаж, если она известна

-- пример:
local mapInfo = сartographer.GetZonesMapInfo( mapId )
if mapInfo then
  LogInfo( "map name: ", mapInfo.name )
end

См. также сartographer.GetZonesMapInfo

Связанные страницы: "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 CategoryEvent CategorySocial

На главную