示例#1
0
 /// <summary>
 /// Autodetects the DFO directory and sets DfoDir.
 /// </summary>
 /// <exception cref="System.IO.IOException">The DFO directory could not be detected.</exception>
 private void AutoDetectDfoDir()
 {
     DfoDir = DfoLauncher.AutoDetectGameDir(Game.DFO);
 }
示例#2
0
 /// <summary>
 /// Tries to figure out where the game directory for the game currently selected is and sets
 /// <c>GameDir</c> to it.
 /// </summary>
 /// <exception cref="System.IO.IOException">The game directory could not be detected.</exception>
 public void AutoDetectGameDir()
 {
     GameDir = DfoLauncher.AutoDetectGameDir(GameToLaunch);
 }