FivePD API
Interfaces

IProgressionSystemService

Responsible for managing the experience points of users.

Methods

AddExperiencePoints

Adds the given XP to each player of the unit. Internally calls .

Parameters

NameTypeDescription
unitUnitThe unit.
experiencePointsintThe XP to add.

AddExperiencePoints

Adds the given XP to the player and increases or decreases their rank.

Parameters

NameTypeDescription
playerFPlayerThe player.
experiencePointsintThe XP to add.