Interface GuildXPInterpretation

A guild level in friendly format

interface GuildXPInterpretation {
    isSafe: boolean;
    maxErrorLower: number;
    maxErrorUpper: number;
    required: number;
    xpPct: number;
    xpRaw: number;
}

Properties

isSafe: boolean

If this is false, all other properties are null, should never be false, unless the library hasn't updated in years

maxErrorLower: number

The maximum error the xp values may be off by, divide xpRaw by this number in order to get the the lower bound for the xp value

maxErrorUpper: number

The maximum error the xp values may be off by, multiply xpRaw by this number in order to get the upper bound for the xp value

required: number

The total raw amount of XP required for this level

xpPct: number

The progression of the guild towards the next guild level as a number between 0 and 1; rounded to the nearest percent

xpRaw: number

The approximate raw amount of XP of the guild at this moment, this rounds to the value of the nearest percent

Generated using TypeDoc