API ReferenceGE Extensionscareermodulesbranches
Career Branches Landing Page
Builds UI data for the career progress landing page - domain selection, branch skill cards, mission lists, facility data, and breadcrumb navigation.
Builds UI data for the career progress landing page - domain selection, branch skill cards, mission lists, facility data, and breadcrumb navigation.
Module Info
| Field | Value |
|---|---|
| Path | extensions/career/modules/branches/landing.lua |
| Global | career_modules_branches_landing |
| Type | Career Module |
Public API
| Function | Signature | Description |
|---|---|---|
getLandingPageData | (pathId) | Builds full landing page data for a given domain/branch path. Returns heading, branches, skills, breadcrumbs, leagues |
getBranchSkillCardData | (branchId) | Returns detailed card data for a branch: name, level, skills, certifications, unlocks |
openBigMapWithMissionSelected | (missionId) | Opens big map focused on a specific mission |
formatMission | (m) | Formats a mission object for progress UI display |
formatDriftSpot | (ds) | Formats a drift spot for progress UI display |
Data Flow
getLandingPageData(nil) → Domain selection (top-level)
getLandingPageData("apm") → Branch listing for domain "apm"
getLandingPageData("apm-motorsport") → Skill page with leagues, missions, facilitiesUsage Example
-- Get top-level domain selection
local data = career_modules_branches_landing.getLandingPageData(nil)
-- Get skill card for a specific branch
local card = career_modules_branches_landing.getBranchSkillCardData("logistics-delivery")
print(card.name, card.level, card.unlocked)See Also
career_branches- Branch hierarchy and levelscareer_modules_branches_leagues- League datacareer_modules_playerAttributes- XP valuesgameplay_missions_missions- Mission data
Additional Exports
Values/Properties
| Export | Description |
|---|---|
M.formatDriftSpot | Value: formatDriftSpot |
M.formatMission | Value: formatMission |
M.getBranchSkillCardData | Value: getBranchSkillCardData |
M.getLandingPageData | Value: getLandingPageData |
M.openBigMapWithMissionSelected | Value: openBigMapWithMissionSelected |