示例#1
0
 // Token: 0x06000F85 RID: 3973 RVA: 0x00066C74 File Offset: 0x00064E74
 public static string GetFilePathData(ModInfo mod, string path)
 {
     return(ModPaths.GetFilePath(Path.Combine(ModPaths.GetDataDirectory(), string.Concat(new object[]
     {
         mod.Name.Replace(" ", string.Empty),
         "_",
         mod.Id,
         "/"
     })), path));
 }
示例#2
0
 // Token: 0x06000F84 RID: 3972 RVA: 0x00066C40 File Offset: 0x00064E40
 public static string GetFilePath(ModInfo mod, string path, bool relativeToResources = false)
 {
     return(ModPaths.GetFilePath(Path.Combine(mod.Directory, (!relativeToResources) ? string.Empty : "Resources"), path));
 }