Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PathService.cs
Go to the documentation of this file.
1using System;
3using System.IO;
5
6namespace ReLogic.OS.Windows;
7
8internal class PathService : ReLogic.OS.Base.PathService
9{
10 public override string GetStoragePath()
11 {
12 return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "My Games");
13 }
14
15 public override void OpenURL(string url)
16 {
17 Process.Start("explorer.exe", "\"" + url + "\"");
18 }
19
20 public override bool MoveToRecycleBin(string path)
21 {
23 }
24}
static bool MoveToRecycleBin(string path)
override bool MoveToRecycleBin(string path)
override string GetStoragePath()
override void OpenURL(string url)
static string GetFolderPath(SpecialFolder folder)
static string Combine(string path1, string path2)
Definition Path.cs:304