コード例 #1
0
ファイル: DungeonsModule.cs プロジェクト: Marmatt/GW2-repo
        /// <summary>
        /// Performs all neccesary shutdown activities for this module
        /// </summary>
        private void Shutdown()
        {
            logger.Debug("Shutting down Dungeons Module");

            // Shut down the commerce controller
            this.dungeonsController.Shutdown();

            // Shutdown the view controller
            this.viewController.Shutdown();

            // Make sure we have saved all user data
            // Note that this is a little redundant given the AutoSave feature,
            // but it does help to make sure the user's data is really saved
            DungeonsUserData.SaveData(this.UserData, DungeonsUserData.Filename);
        }