Пользовательские дополнения
На главную
matchMaking.GetJoinRequirements( eventResourceId )
Требования на вход в инстанс-ивент.
-- библиотека:
matchMaking
-- объявление:
function GetJoinRequirements( eventResourceId )
-- параметры:
eventResourceId: InstancedEventResourceId - id ресурса соответствующего инстанс-ивента.
-- возвращаемое значение:
table or nil, таблица с полями:
requirements: RequirementsTable - список условий
-- пример:
local reqs = matchMaking.GetJoinRequirements( eventResourceId )
local firstRequirement = nil
if reqs then
local req = reqs.requirements[0]
if req then
if req.type then
req = req.childs[ 0 ]
if req then
firstRequirement = req.sysCause
end
else
firstRequirement = req.sysCause
end
end
end
Описание требований: RequirementsTable
См. также:
Связанные страницы: "CategoryLuaApi" "CategoryMatchMaking"
CategoryMatchMaking
EnumMatchMakingMechanicsType
EnumRatingArenaType
EventLfgDestinationVisitsChanged
EventMatchMakingAutoDepartTimeChanged
EventMatchMakingCurrentBattleChanged
EventMatchMakingEventAdded
EventMatchMakingEventAvailabilityChanged
EventMatchMakingEventDoubleBonusChanged
EventMatchMakingEventProgressAdded
EventMatchMakingEventProgressCompletedChanged
EventMatchMakingEventProgressDurationChanged
EventMatchMakingEventProgressMemberChanged
EventMatchMakingEventProgressMembersChanged
EventMatchMakingEventProgressRemoved
EventMatchMakingEventProgressRoundsChanged
EventMatchMakingEventQueueAdded
EventMatchMakingEventQueueRemoved
EventMatchMakingEventQueuesRemoved
EventMatchMakingEventRemoved
EventMatchMakingEventsAvailabilityChanged
EventMatchMakingEventsChanged
EventMatchMakingEventTeleportReject
EventMatchMakingEventTeleportRequest
EventMatchMakingEventVisitsChanged
EventMatchMakingJoinTimeChanged
EventMatchMakingMembersRolesChanged
EventMatchMakingProgressAchievementsChanged
EventMatchMakingProgressMembersAchievementsChanged
FunctionMatchMakingAwayBattleEvent
FunctionMatchMakingCanAwayBattleEvent
FunctionMatchMakingCanJoinInstancedEventById
FunctionMatchMakingCanJoinInstancedEvents
FunctionMatchMakingCanReturnToBattle
FunctionMatchMakingCanUseMatchMaking
FunctionMatchMakingGetAutoDepartTime
FunctionMatchMakingGetCurrentBattleInfo
FunctionMatchMakingGetEventCategories
FunctionMatchMakingGetEventInfo
FunctionMatchMakingGetEventJoinTimeEstimate
FunctionMatchMakingGetEventProgressInfo
FunctionMatchMakingGetEventReward
FunctionMatchMakingGetEvents
FunctionMatchMakingGetEventsByCategory
FunctionMatchMakingGetEventScore
FunctionMatchMakingGetJoinRequirements
FunctionMatchMakingGetMembersRoles
FunctionMatchMakingGetRatingPvPScoreByUnitId
FunctionMatchMakingGetRatingURL
FunctionMatchMakingInstancedEventTeleportReply
FunctionMatchMakingIsAvatarInMatchMakingEvent
FunctionMatchMakingIsAvatarJoinedAnyEvent
FunctionMatchMakingIsAvatarJoinedAnySpecificEvent
FunctionMatchMakingIsEventIdExist
FunctionMatchMakingIsEventListValid
FunctionMatchMakingIsEventProgressExist
FunctionMatchMakingIsFreePass
FunctionMatchMakingIsPvE
FunctionMatchMakingIsRaid
FunctionMatchMakingIsRatingPvPScoreAvailable
FunctionMatchMakingLeaveInstancedEventQueue
FunctionMatchMakingLeaveInstancedEventQueueById
FunctionMatchMakingListenEventProgress
FunctionMatchMakingListenEvents
FunctionMatchMakingReturnToBattle
InstancedEventCategoryId
InstancedEventResourceId
LootGroupId
CategoryLuaApi
CategoryFunction
CategoryMatchMaking
На главную