CEngineSharp_Editor.EditorSuite.LoadDataPath C# (CSharp) Method

LoadDataPath() private method

private LoadDataPath ( ) : void
return void
        private void LoadDataPath()
        {
            FolderBrowserDialog dialog = new FolderBrowserDialog();
            dialog.ShowDialog();
            this.dataPath = dialog.SelectedPath;

            if (!Directory.Exists(this.dataPath + "/Characters/")) Directory.CreateDirectory(this.dataPath + "/Npcs/");
            if (!Directory.Exists(this.dataPath + "/Characters/")) Directory.CreateDirectory(this.dataPath + "/Items/");
            if (!Directory.Exists(this.dataPath + "/Characters/")) Directory.CreateDirectory(this.dataPath + "/Maps/");
            if (!Directory.Exists(this.dataPath + "/Characters/")) Directory.CreateDirectory(this.dataPath + "/Accounts/");
        }