Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:GetNumAssignedBearers

From RoR Wiki
Revision as of 19:44, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Guild functions
Version: WAR 1.4.8

Returns the number of assigned guild standard bearers, as stored in the client's guild record.

count = GetNumAssignedBearers()

Arguments

None.

Returns

count
number – Number of assigned standard bearers.

Details

  • The function returns a value from the client's guild record; it does not contact the server.
  • The stock UI never calls this function. Its roster tab keeps its own GuildWindowTabRoster.numAssignedBearers, which starts at 0, and compares it with numberStandardBearersUnlocked from GetGuildAdvancementData.

Errors

None.

Example

A minimal call built from the signature:

local assigned = GetNumAssignedBearers()
local maxBearers = GetGuildAdvancementData().numberStandardBearersUnlocked

See also