public GlobalEnumsList.LevelButtonState getCurrentState(int skillSetLevelIndex, int skillSetIndex, string skillTree)
 {
     if (isActivated(skillSetLevelIndex, skillSetIndex, skillTree))
     { return GlobalEnumsList.LevelButtonState.active; }
     if (isActivated(skillSetLevelIndex - 1, skillSetIndex, skillTree))
     {
         int skillPointsRequired = (int)GetSkillSetLevelFields(skillSetLevelIndex, skillSetIndex, skillTree, "required_skillpoints");
         if (playerData.GetSkillPoints() >= skillPointsRequired)
         {
             return GlobalEnumsList.LevelButtonState.inactive;
         }
         else
         {
             return GlobalEnumsList.LevelButtonState.unavailable;
         }
     }
     else
     {
         return GlobalEnumsList.LevelButtonState.unavailable;
     }
 }