Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Path

string Microsoft.Xna.Framework.TitleLocation.Path
staticget

Definition at line 10 of file TitleLocation.cs.

11 {
12 get
13 {
14 if (_titleLocation == null)
15 {
16 string titleLocation = string.Empty;
18 if (assembly == null)
19 {
20 assembly = Assembly.GetCallingAssembly();
21 }
22 if (assembly != null)
23 {
24 titleLocation = System.IO.Path.GetDirectoryName(assembly.Location);
25 }
26 _titleLocation = titleLocation;
27 }
28 return _titleLocation;
29 }
30 }
static ? string GetDirectoryName(string? path)
Definition Path.cs:121
static Assembly GetCallingAssembly()
Definition Assembly.cs:211
static ? Assembly GetEntryAssembly()
Definition Assembly.cs:486
virtual string Location
Definition Assembly.cs:92

Referenced by Microsoft.Xna.Framework.TitleContainer.OpenStream().