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

На главную


raid.GetMembers()

Возвращает упорядоченный список членов рейда.

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

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

-- параметры:
нет

-- возвращаемое значение
table: список групп входящих в рейд
  key: number (int) [0..] - индекс группы в списке
  value: table - список игроков в группе:
    key: number (int) [0..] - индекс персонажа в списке
    value: table - таблица с информацией о персонаже:
      id: ObjectId - идентификатор персонажа или nil, если его нет в игре (порвалась связь и т.п.)
      uniqueId: UniqueId или nil - nil если нет информации; иначе уникальный постоянный идентификатор персонажа
      name: WString - имя персонажа
      className: string - системное название класса игрока (нелокализуемое)
      classLocalName: WString - лорное название класса игрока (локализуемое)
      level: number (int) or nil - уровень игрока или nil, если он не известен в данный момент
      state: number (enum RAID_MEMBER_STATE_...) - состояние игрока

-- пример:
local members = raid.GetMembers()

См. также

Search: "CategoryLuaApi" "CategoryRaid"

EnumRaidFailed
EnumRaidMemberRight
EnumRaidMemberState
EnumReadyCheckReadyState
EventRaidAlreadyIn
EventRaidAppeared
EventRaidCantAccept
EventRaidCantEnterMap
EventRaidChanged
EventRaidDecline
EventRaidDeclineBusy
EventRaidDeclineIgnored
EventRaidDisappeared
EventRaidEnterVarsMapUnavaliable
EventRaidEnterVarsMapWarning
EventRaidFailed
EventRaidInvite
EventRaidLeaderChanged
EventRaidLeaderHelperChanged
EventRaidLootMasterChanged
EventRaidMemberAdded
EventRaidMemberChanged
EventRaidMemberPositionUpdated
EventRaidMemberRemoved
EventRaidSaveMapQuestion
EventReadyCheckEnded
EventReadyCheckInfoChanged
EventReadyCheckStarted
FunctionRaidAccept
FunctionRaidAddRight
FunctionRaidCanInvite
FunctionRaidCanKick
FunctionRaidCanLeave
FunctionRaidChangeLeader
FunctionRaidCreate
FunctionRaidCreateSmall
FunctionRaidDecline
FunctionRaidDisband
FunctionRaidGetLeader
FunctionRaidGetLeaderHelpers
FunctionRaidGetLootMaster
FunctionRaidGetMaxGroupCount
FunctionRaidGetMemberInfo
FunctionRaidGetMemberRights
FunctionRaidGetMembers
FunctionRaidGetReadyCheckInfo
FunctionRaidInvite
FunctionRaidInviteByName
FunctionRaidIsAutomatic
FunctionRaidIsExist
FunctionRaidIsLeader
FunctionRaidIsolateMember
FunctionRaidIsPlayerInAvatarsRaid
FunctionRaidIsPlayerInAvatarsRaidById
FunctionRaidIsPlayerInAvatarsRaidGroup
FunctionRaidIsPlayerInAvatarsRaidGroupById
FunctionRaidKick
FunctionRaidLeave
FunctionRaidMapSaveResponse
FunctionRaidMapVarsSaveResponse
FunctionRaidMoveMemberToGroup
FunctionRaidRemoveRight
FunctionRaidReportReadyCheck
FunctionRaidStartReadyCheck
FunctionRaidSwapMembers


CategoryLuaApi CategoryFunction CategoryRaid

На главную