Skip to main content

PlayerCommandModule.ProgressionCommandModule.PathXp

A class in TavernLib, TavernLib.ModulePorts.

One row of player progression checkallxp: a player's level and experience on one path. Has JSON names for TavernKeeper and a text form.

Constructors​

MemberWhat it is
PathXp()Makes an empty row for checkallxp.

Properties​

MemberWhat it is
uint Experience { get; set; }Experience on the path (JSON xp). 0 if the player has none there.
uint Level { get; set; }The player's current level on the path.
uint NextLevelAt { get; set; }The experience the next level needs, from the game's ProgressionSettings (JSON next_level_at).
string Path { get; set; }The progression path's name.
string Player { get; set; }The player's username.

Methods​

MemberWhat it is
override string ToString()The row as one line of text for a text console.

Used in​

Members of other types that take, return or hold a PathXp: