GE Lua Documentation

Press F to search!

getBranchByDomainBranchSkill

Definition


-- @/lua/ge/extensions/career/branches.lua:265

local function getBranchByDomainBranchSkill(domainId, branchId, skillId)
  getBranches()
  local pathId = domainId
  if branchId then
    pathId = pathId .. "-" .. branchId
    if skillId then
      pathId = pathId .. "-" .. skillId
    end
  end
  return getBranchByPath(pathId) or missingBranch
end

Callers