/// <summary> /// Returns a settings path updated with current deets /// </summary> /// <param name="weights">if it's a weights file or otherwise just a settings file</param> /// <returns>path to settings</returns> public static string GetSettingsPath(SettingsType type, bool pvp) { return(Logging.ApplicationPath + "\\Settings\\EquipMe\\EquipMe_" + StyxWoW.Me.Name + "_" + EquipMe.GetSpecName() + (pvp && Styx.Logic.Battlegrounds.IsInsideBattleground ? "_PVP" : "") + "_" + type.ToString() + ".xml"); }