Esempio n. 1
0
        public void ExportStats(string xmlFileName, bool showMessage = false)
        {
            if (combatInfos.Count == 0 && aetheriaInfos.Count == 0 && cloakInfos.Count == 0)
            {
                return;
            }

            CombatTrackerExporter exporter = new CombatTrackerExporter(combatInfos, aetheriaInfos, cloakInfos);

            exporter.Export(xmlFileName);

            if (showMessage)
            {
                MyClasses.VCS_Connector.SendChatTextCategorized("CommandLine", "<{" + PluginCore.PluginName + "}>: " + "Stats exported to: " + xmlFileName, 5, Settings.SettingsManager.Misc.OutputTargetWindow.Value);
            }
        }
Esempio n. 2
0
        public void ExportStats(string xmlFileName, bool showMessage = false)
        {
            if (combatInfos.Count == 0 && aetheriaInfos.Count == 0 && cloakInfos.Count == 0)
            {
                return;
            }

            CombatTrackerExporter exporter = new CombatTrackerExporter(combatInfos, aetheriaInfos, cloakInfos);

            exporter.Export(xmlFileName);

            if (showMessage)
            {
                CoreManager.Current.Actions.AddChatText("<{" + PluginCore.PluginName + "}>: " + "Stats exported to: " + xmlFileName, 5, Settings.SettingsManager.Misc.OutputTargetWindow.Value);
            }
        }
Esempio n. 3
0
		public void ExportStats(string xmlFileName, bool showMessage = false)
		{
			if (combatInfos.Count == 0 && aetheriaInfos.Count == 0 && cloakInfos.Count == 0)
				return;

			CombatTrackerExporter exporter = new CombatTrackerExporter(combatInfos, aetheriaInfos, cloakInfos);

			exporter.Export(xmlFileName);

			if (showMessage)
				CoreManager.Current.Actions.AddChatText("<{" + PluginCore.PluginName + "}>: " + "Stats exported to: " + xmlFileName, 5, Settings.SettingsManager.Misc.OutputTargetWindow.Value);
		}