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

На главную


lfgLib.GetDestinationTimers( destinationId )

Информация о таймерах LFG активности.

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

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

-- параметры:
destinationId: LfgDestinationId - идентификатор целевой локации

-- возвращаемое значение
table or nil - таблицы с полями либо nil в случаи ошибки
  groupQueueTime: number (integer) - базовое время(в миллисекундах) отведенное на сбор группы.
  timeForDepart: number (integer) - фактическое время(в миллисекундах) до предложения отправки группы(даже в неполном составе)
  groupStabilizationTime: number (integer) - базовое время(в миллисекундах) нахождения собранной группы в LFG до её выкидывания

-- пример:
local destinationId = lfgLib.GetCurrentDestination()
if destinationId then
  local destinationsTimers = lfgLib.GetDestinationTimers( destinationId )
end

Search: "CategoryLuaApi" "CategoryLfgLib"

EnumLfgActionFail
EnumLFGEventDifficulty
EnumLfgRole
EnumLfgVoteType
EventLfgActionFail
EventLfgDepartAvailableChanged
EventLfgDestinationAvailableChanged
EventLfgDestinationChanged
EventLfgDestinationsListChanged
EventLfgDestinationVisitsChanged
EventLfgJoin
EventLfgLeave
EventLfgVote
EventLfgVoteTerminate
FunctionLfgLibDepart
FunctionLfgLibEnableReplicateDestinations
FunctionLfgLibGetCurrentDestination
FunctionLfgLibGetDepartRequirements
FunctionLfgLibGetDestinationCategories
FunctionLfgLibGetDestinationRequirements
FunctionLfgLibGetDestinationReward
FunctionLfgLibGetDestinations
FunctionLfgLibGetDestinationsInCategory
FunctionLfgLibGetDestinationTimers
FunctionLfgLibGetDestinationVisits
FunctionLfgLibGetRoles
FunctionLfgLibIsAvailable
FunctionLfgLibIsDepartAvailable
FunctionLfgLibIsDestinationAvailable
FunctionLfgLibIsFreePass
FunctionLfgLibIsRoleAvailable
FunctionLfgLibJoin
FunctionLfgLibLeave
FunctionLfgLibVoteNo
FunctionLfgLibVoteYes
LfgDestinationCategoryId
LfgDestinationId


CategoryLuaApi CategoryFunction CategoryLfgLib

На главную