Пользовательские дополнения
На главную
raid.GetMemberInfo( memberId )
Возвращает информацию о члене рейда.
-- библиотека:
raid
-- объявление:
function GetMemberInfo( memberId )
-- параметры:
memberId: ObjectId - уникальный постоянный идентификатор персонажа (приходит, например, в EVENT_LOOT_TO_DISTRIBUTE в поле looters)
-- возвращаемое значение
table: - таблица с информацией о персонаже, поля:
id: ObjectId - идентификатор персонажа или nil, если его нет в игре (порвалась связь и т.п.)
persistentId: ObjectId или nil - nil если нет информации; иначе уникальный постоянный идентификатор персонажа (равен параметру memberId)
name: WString - имя персонажа
className: string - системное название класса игрока (нелокализуемое)
classLocalName: WString - лорное название класса игрока (локализуемое)
level: number (int) or nil - уровень игрока или nil, если он не известен в данный момент
state: number (enum RAID_MEMBER_STATE_...) - состояние игрока
-- пример:
local member = raid.GetMemberInfo( memberId )
См. также
Search: "CategoryLuaApi" "CategoryRaid"
EnumRaidFailed
EnumRaidMemberRight
EnumRaidMemberState
EnumReadyCheckReadyState
EventRaidAlreadyIn
EventRaidAppeared
EventRaidCantAccept
EventRaidCantEnterMap
EventRaidChanged
EventRaidDecline
EventRaidDeclineBusy
EventRaidDeclineIgnored
EventRaidDisappeared
EventRaidFailed
EventRaidInvite
EventRaidLeaderChanged
EventRaidLeaderHelperChanged
EventRaidLootMasterChanged
EventRaidMemberAdded
EventRaidMemberPositionUpdated
EventRaidMemberRemoved
EventRaidMemberStatusChanged
EventRaidSaveMapQuestion
EventReadyCheckEnded
EventReadyCheckInfoChanged
EventReadyCheckStarted
FunctionRaidAccept
FunctionRaidAddRight
FunctionRaidCanInvite
FunctionRaidChangeLeader
FunctionRaidCreate
FunctionRaidDecline
FunctionRaidDisband
FunctionRaidGetLeaderHelperName
FunctionRaidGetLeaderName
FunctionRaidGetLootMasterName
FunctionRaidGetMemberInfo
FunctionRaidGetMemberRights
FunctionRaidGetMembers
FunctionRaidGetReadyCheckInfo
FunctionRaidInvite
FunctionRaidInviteByName
FunctionRaidIsAutomatic
FunctionRaidIsExist
FunctionRaidIsLeader
FunctionRaidIsolateMember
FunctionRaidIsPlayerInAvatarsRaid
FunctionRaidIsPlayerInAvatarsRaidGroup
FunctionRaidKick
FunctionRaidLeave
FunctionRaidMapSaveResponse
FunctionRaidMoveMemberToGroup
FunctionRaidRemoveRight
FunctionRaidReportReadyCheck
FunctionRaidStartReadyCheck
FunctionRaidSwapMembers
CategoryLuaApi
CategoryFunction
CategoryRaid
На главную