benilla-re systems structs docs

s_float3b338cfa

global · ui

Address
0x80733c · 4 bytes, up to 0x80733f
Type
const float
Meaning
Holds the float 0.002739726 (0x3b338cfa)
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.