src/TF2HUD.Editor/Classes/HudDirectory.cs
/// <summary>
///     Setup the tf/custom directory, if it's not already set.
/// </summary>
/// <param name="userInitiated">Flags the process as being user initiated, skip right to the folder browser.</param>
Setup the tf/custom directory, if it's not already set.
Setup the tf / custom directory if it ' s not already set .
public void Setup(string currentHudPath, bool userInitiated = false)
        {
            if (!userInitiated && AlreadySetup(currentHudPath))
            {
                return;
            }
            SetupWithFolderBrowser();
            if (NotSetup(Settings.Default.hud_directory))
            {
                QuitApplication();
            }
        }
public void Setup ( string currentHudPath , bool userInitiated = false ) { if ( ! userInitiated && AlreadySetup ( currentHudPath ) ) { return ; } SetupWithFolderBrowser ( ) ; if ( NotSetup ( Settings . Default . hud_directory ) ) { QuitApplication ( ) ; } }
Setup the tf/custom directory, if it's not already set.
Setup the tf / custom directory if it ' s not already set .
currentHudPath
string
userInitiated
bool
Flags the process as being user initiated, skip right to the folder browser.
Flags the process as being user initiated skip right to the folder browser .