Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:GetGuildMemberData

From RoR Wiki

UI Lua API · Game functions
Version: WAR 1.4.8

Returns the roster of the player's guild.

members = GetGuildMemberData()

Arguments

None.

Returns

members
table – Array of member tables, indexed from 1. Empty if the player has no guild data.

Each member table has these fields:

Key Type Meaning
name wstring Character name.
memberID number Character id of the member.
rank number —
statusNumber number Guild rank (title) number. The stock UI uses statusNumber + 1 to index GetGuildPermissionData.
titleString wstring Guild title text.
careerID number Career id.
careerString wstring Career name.
zoneID number Zone the member is in. The stock UI treats 0 as offline.
bearerStatus number —
recruiterStatus number —
isRealmCaptain boolean —
inParty boolean —
inWarband boolean —
openParty boolean —
guildParty boolean —
allianceParty boolean —
rankInAlliance number —
founder number —
note wstring Public note.
onote wstring Officer note.
lastLogin number Last login time as a raw time value.
lastLoginNumberHour24 number Hour of the last login, 0–23.
lastLoginNumberDay number Day of the month of the last login.
lastLoginNumberMonth number Month of the last login, 1–12.
lastLoginNumberYear number Year of the last login.

Details

  • inParty and inWarband come from the same value, so at most one of them is true. The same applies to openParty, guildParty and allianceParty.
  • The four lastLoginNumber* fields are lastLogin converted to a calendar date by the client.
  • If the Lua state is not available, the function returns nothing.

Errors

None.

Example

From ea_guildwindow/source/guildwindowtabroster.lua:

GuildWindowTabRoster.memberListData = GetGuildMemberData()

See also