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

На главную


raid.GetMemberInfo( memberId )

Возвращает информацию о члене рейда.

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

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

-- параметры:
memberId: UniqueId - уникальный постоянный идентификатор персонажа

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

-- пример:
local member = raid.GetMemberInfo( memberId )

См. также

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

На главную