PersistencePaths.cs 477 B

123456789101112131415
  1. #if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
  2. using System.IO;
  3. namespace SingularityGroup.HotReload {
  4. static class PersistencePaths {
  5. public static string GetPatchesFilePath(string basePath) {
  6. return Path.Combine(basePath, "CodePatcher", "patches.bin");
  7. }
  8. public static string GetServerInfoFilePath(string basePath) {
  9. return Path.Combine(basePath, "CodePatcher", "hostInfo.json");
  10. }
  11. }
  12. }
  13. #endif