Progression
constProgression:object
Defined in: client/api.d.ts:4785
Local experience/level state (UExperienceManager).
Type Declaration
Section titled “Type Declaration”addExperience()
Section titled “addExperience()”addExperience(
points,source?,detail?):boolean
Grants points through the game’s own path, so level-ups fire normally.
Parameters
Section titled “Parameters”points
Section titled “points”number
source?
Section titled “source?”string
detail?
Section titled “detail?”string
Returns
Section titled “Returns”boolean
getLevel()
Section titled “getLevel()”getLevel():
number
Current experience level; -1 before the manager exists.
Returns
Section titled “Returns”number
getLevelBounds()
Section titled “getLevelBounds()”getLevelBounds(
level): {end:number;start:number; } |null
Point bounds for a level, or null.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”{ end: number; start: number; } | null
getPoints()
Section titled “getPoints()”getPoints():
number
Current experience points; -1 before the manager exists.
Returns
Section titled “Returns”number
setLevel()
Section titled “setLevel()”setLevel(
level):boolean
Dispatches the game’s reflected SetExperienceLevel function, which is inert in the current game build. Prefer setPoints().
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean
setPoints()
Section titled “setPoints()”setPoints(
points,options?):ProgressionSetPointsResult|null
Sets exact experience through the game’s AddExperience path and returns applied state. Preserves unspent talent points by default; crossing a level can still show the normal presentation.
Parameters
Section titled “Parameters”points
Section titled “points”number
Absolute experience-point target; clamped to the native level curve.
options?
Section titled “options?”Returns
Section titled “Returns”ProgressionSetPointsResult | null