namespace Omegasis.BuildEndurance.Framework { /// The data for the current player. internal class PlayerData { /// The player's current endurance level. public int CurrentLevel { get; set; } /// The player's current endurance XP points. public double CurrentExp { get; set; } /// The XP points needed to reach the next endurance level. public double ExpToNextLevel { get; set; } = 20; /// The initial stamina bonus to apply regardless of the player's endurance level, from the config file. public int BaseStaminaBonus { get; set; } /// The stamina points to add to the player's base stamina due to their current endurance level. public int CurrentLevelStaminaBonus { get; set; } /// Whether to reset all changes by the mod to the default values (i.e. start over). public bool ClearModEffects { get; set; } /// The player's original max stamina value, excluding mod effects. public int OriginalMaxStamina { get; set; } /// The player's stamina last time they slept. public int NightlyStamina { get; set; } } }