FindSelectedGuildMember
function · ui · primitive
- Address
0x4d1030· 71 bytes, up to0x4d1076- Meaning
- Returns the 0-based index of the selected member in the array, or -1
- Confidence
- verified, proof one
- Finding
- ui/guild#last-online-and-selection
Finding: Last online and selection in ui: the guild roster and its Lua API
GetGuildRosterLastOnline(index) returns four numbers, years, months, days and hours, and four nils for an index
out of range, a missing member or an online member. With t the stored float in days: years = trunc(t * f32(1/365));
rem = t - years * 365; months = trunc(rem * f32(1/30)); r = f32(rem - months * 30); days = trunc(r);
hours = trunc((r - days) * 24). GetGuildRosterSelection() returns the selected member's 1-based index, or 0 when
nothing is selected or the member left; SetGuildRosterSelection(index) stores the member's GUID, or 0 for an
index out of range, and raises Usage: SetGuildRosterSelection(index) without a number.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.