Esempio n. 1
0
 // Token: 0x06000F86 RID: 3974 RVA: 0x00066CD4 File Offset: 0x00064ED4
 public static string GetDataDirectoryMod(ModInfo mod)
 {
     return(Path.Combine(ModPaths.GetDataDirectory(), string.Concat(new object[]
     {
         mod.Name.Replace(" ", string.Empty),
         "_",
         mod.Id,
         "/"
     })));
 }
Esempio n. 2
0
 // Token: 0x06000F8A RID: 3978 RVA: 0x00066EA8 File Offset: 0x000650A8
 public static string GetAssemblyPath(ModContainer mod, string assemblyName)
 {
     return(Path.Combine(ModPaths.GetAssemblyDirectory(), string.Concat(new object[]
     {
         mod.Info.Id,
         "_",
         assemblyName,
         ".dll"
     })));
 }
Esempio n. 3
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));
 }