All Superinterfaces:
IBindable, IDhApiOverrideable

public interface IDhApiSaveStructure extends IDhApiOverrideable
Used to override which folder DH uses when loading a level. Can be used to redirect LOD data saving into a more manageable location or for replays/local-servers that are running out of a different folder than where the DH data is normally saved.
Since:
API 4.0.0
  • Method Details

    • overrideFilePath

      File overrideFilePath(File currentFilePath, IDhApiLevelWrapper levelWrapper)
      Called when DH first loads a level to determine which folder it should use for file handling.
      Parameters:
      currentFilePath - the file path DH is planning to use. If this method returns null this is the file path that will be used.
      levelWrapper - the level this file path is used for.
      Returns:
      null if you don't want to override the file path. Non-null if you want to change the file path.