/
ASteamLocationHandler.cs
44 lines (37 loc) · 1.08 KB
/
ASteamLocationHandler.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using VDF;
namespace MASGAU.Location {
public abstract class ASteamLocationHandler : ALocationHandler {
// The paths
public string path { get; protected set; }
public string userdata_path { get; protected set; }
public string steam_apps_path { get; protected set; }
protected SteamConfigFile config_file;
public ASteamLocationHandler()
: base(HandlerType.Steam) {
resetSteamPath();
}
protected abstract void resetSteamPath();
public bool found {
get {
if (steam_path != null)
return true;
else
return false;
}
}
public string steam_path {
get {
return path;
}
}
public override bool ready {
get {
if (path == null) {
return false;
} else {
return true;
}
}
}
}
}