Package zombie
Class ZomboidFileSystem
java.lang.Object
zombie.ZomboidFileSystem
public class ZomboidFileSystem
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.HashMap
ActiveFileMap
java.io.File
base
static ZomboidFileSystem
instance
java.util.ArrayList
mods
-
Constructor Summary
Constructors Constructor Description ZomboidFileSystem()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAbsolutePath(java.lang.String rel)
void
getAllModFolders(java.util.List out)
void
getInstalledItemModsFolders(java.util.ArrayList out)
java.lang.String
getModDir(java.lang.String modId)
java.util.ArrayList
getModIDs()
java.lang.String
getRelativeFile(java.io.File root, java.lang.String string)
java.lang.String
getRelativeFile(java.lang.String string)
void
getStagedItemModsFolders(java.util.ArrayList out)
java.lang.String
getString(java.lang.String str)
java.util.ArrayList
getWorkshopItemMods(long itemID)
void
init()
void
loadMod(java.lang.String path)
void
loadModPackFiles()
void
loadMods()
void
loadMods(java.util.ArrayList toLoad)
java.lang.String
loadModsAux(java.util.ArrayList toLoad, java.util.ArrayList ordered)
void
loadModTileDefs()
void
Reset()
void
resetModFolders()
void
saveModsFile()
void
searchFolders(java.io.File fo)
java.lang.String
searchForModInfo(java.io.File path, java.lang.String modSearched)
void
setModFoldersOrder(java.lang.String s)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
ActiveFileMap
public java.util.HashMap ActiveFileMap -
base
public java.io.File base -
mods
public java.util.ArrayList mods
-
-
Constructor Details
-
ZomboidFileSystem
public ZomboidFileSystem()
-
-
Method Details
-
searchFolders
public void searchFolders(java.io.File fo) -
getString
public java.lang.String getString(java.lang.String str) -
getAbsolutePath
public java.lang.String getAbsolutePath(java.lang.String rel) -
init
public void init() -
Reset
public void Reset() -
resetModFolders
public void resetModFolders() -
getInstalledItemModsFolders
public void getInstalledItemModsFolders(java.util.ArrayList out) -
getStagedItemModsFolders
public void getStagedItemModsFolders(java.util.ArrayList out) -
setModFoldersOrder
public void setModFoldersOrder(java.lang.String s) -
getAllModFolders
public void getAllModFolders(java.util.List out) -
getWorkshopItemMods
public java.util.ArrayList getWorkshopItemMods(long itemID) -
searchForModInfo
public java.lang.String searchForModInfo(java.io.File path, java.lang.String modSearched) -
loadMod
public void loadMod(java.lang.String path) -
loadMods
public void loadMods() -
loadModsAux
public java.lang.String loadModsAux(java.util.ArrayList toLoad, java.util.ArrayList ordered) -
loadMods
public void loadMods(java.util.ArrayList toLoad) -
getModIDs
public java.util.ArrayList getModIDs() -
getModDir
public java.lang.String getModDir(java.lang.String modId) -
getRelativeFile
public java.lang.String getRelativeFile(java.lang.String string) -
getRelativeFile
public java.lang.String getRelativeFile(java.io.File root, java.lang.String string) -
saveModsFile
public void saveModsFile() -
loadModPackFiles
public void loadModPackFiles() -
loadModTileDefs
public void loadModTileDefs()
-