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

На главную

## matchMaking.GetEventJoinTimeEstimate( eventId )

Получить приблизительное время, оставшееся до присоединения к инстанс-ивенту с заданным id.

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

    -- объявление:
    function GetEventJoinTimeEstimate( eventId )

    -- параметры:
    eventId: ObjectId - id инстанс-ивента, о котором запрашивается информация

    -- возвращаемое значение:
    table or nil - таблица с описанием, если информация получена:
      time: number (integer) - приблизительное время ожидания в минутах, оставшееся до присоединения к инстанс-ивенту с заданным eventId

Пример:

    local joinTime = matchMaking.GetEventJoinTimeEstimate( eventId )
    if joinTime then
      LogInfo( "Join time estimation: ", joinTime.time  )
    end

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

CategoryMatchMaking
EnumMatchMakingMechanicsType
EventMatchMakingCurrentBattleChanged
EventMatchMakingEventAdded
EventMatchMakingEventAvailabilityChanged
EventMatchMakingEventDoubleBonusChanged
EventMatchMakingEventProgressAdded
EventMatchMakingEventProgressCompletedChanged
EventMatchMakingEventProgressDurationChanged
EventMatchMakingEventProgressMemberChanged
EventMatchMakingEventProgressMembersChanged
EventMatchMakingEventProgressRemoved
EventMatchMakingEventProgressRoundsChanged
EventMatchMakingEventQueueAdded
EventMatchMakingEventQueueRemoved
EventMatchMakingEventQueuesRemoved
EventMatchMakingEventRemoved
EventMatchMakingEventsAvailabilityChanged
EventMatchMakingEventsChanged
EventMatchMakingEventTeleportReject
EventMatchMakingEventTeleportRequest
EventMatchMakingEventVisitsChanged
EventMatchMakingJoinTimeChanged
EventMatchMakingProgressAchievementsChanged
EventMatchMakingProgressMembersAchievementsChanged
FunctionMatchMakingCanJoinInstancedEvents
FunctionMatchMakingCanUseMatchMaking
FunctionMatchMakingExitBattleEvent
FunctionMatchMakingGetCurrentBattleInfo
FunctionMatchMakingGetEventInfo
FunctionMatchMakingGetEventJoinTimeEstimate
FunctionMatchMakingGetEventProgressInfo
FunctionMatchMakingGetEvents
FunctionMatchMakingGetEventScore
FunctionMatchMakingInstancedEventTeleportReply
FunctionMatchMakingIsAvatarJoinedAnyEvent
FunctionMatchMakingIsEventIdExist
FunctionMatchMakingIsEventListValid
FunctionMatchMakingIsEventProgressExist
FunctionMatchMakingLeaveInstancedEventQueue
FunctionMatchMakingLeaveInstancedEventQueueById
FunctionMatchMakingListenEventProgress
FunctionMatchMakingListenEvents
InstancedEventResourceId
LootGroupId

CategoryLuaApi CategoryFunction CategoryMatchMaking

На главную