コード例 #1
0
        /// <summary>
        /// ActionKey callback function to handle Delete and Back key.
        /// Deletes the selected backup.
        /// </summary>
        /// <returns>True, cause we have handled the key.</returns>
        protected static bool RemoveBackup(ActionKeyInfo keyState)
        {
            RemoveSelectedBackup();

            return true;
        }
コード例 #2
0
 private static bool DeleteKnownPath(ActionKeyInfo keyState)
 {
     RemoveKSPPath();
     return true;
 }
コード例 #3
0
 /// <summary>
 /// Deletes the selected Flag.
 /// </summary>
 /// <returns>Returns true cause we have handled the key.</returns>
 private static bool DeleteFlag(ActionKeyInfo keyState)
 {
     DeleteSelectedFlag();
     return true;
 }
コード例 #4
0
 /// <summary>
 /// ActionKey callback function to handle Delete and Back key.
 /// Deletes the selected mod(s).
 /// </summary>
 /// <returns>True, cause we have handled the key.</returns>
 protected static bool DeleteMod(ActionKeyInfo keyState)
 {
     RemoveMod(View.SelectedMods.ToArray());
     return true;
 }