namespace Omegasis.BuildHealth.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 health bonus to apply regardless of the player's endurance level, from the config file. public int BaseHealthBonus { get; set; } /// The health points to add to the player's base health due to their current endurance level. public int CurrentLevelHealthBonus { 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 maximum health value, excluding mod effects. public int OriginalMaxHealth { get; set; } } }