Beispiel #1
0
        public void ExportStats(string xmlFileName, bool showMessage = false)
        {
            if (trackedItems.Count == 0)
            {
                return;
            }

            PlayerTrackerExporter.Export(xmlFileName, trackedItems);

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

            PlayerTrackerExporter.Export(xmlFileName, trackedItems);

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