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
java.net.URI
baseURI
boolean
IgnoreActiveFileMap
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 string)
void
getAllModFolders(java.util.List list)
void
getInstalledItemModsFolders(java.util.ArrayList arrayList)
java.lang.String
getModDir(java.lang.String string)
java.util.ArrayList
getModIDs()
java.lang.String
getRelativeFile(java.lang.String string)
java.lang.String
getRelativeFile(java.net.URI uRI, java.lang.String string)
void
getStagedItemModsFolders(java.util.ArrayList arrayList)
java.lang.String
getString(java.lang.String string)
java.util.ArrayList
getWorkshopItemMods(long long1)
void
init()
void
loadMod(java.lang.String string)
void
loadModPackFiles()
void
loadMods()
void
loadMods(java.util.ArrayList arrayList)
java.lang.String
loadModsAux(java.util.ArrayList arrayList, java.util.ArrayList arrayList2)
void
loadModTileDefPropertyStrings()
void
loadModTileDefs()
void
Reset()
void
resetModFolders()
void
saveModsFile()
void
searchFolders(java.io.File file)
java.lang.String
searchForModInfo(java.io.File file, java.lang.String string)
void
setModFoldersOrder(java.lang.String string)
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 -
IgnoreActiveFileMap
public boolean IgnoreActiveFileMap -
base
public java.io.File base -
baseURI
public java.net.URI baseURI -
mods
public java.util.ArrayList mods
-
-
Constructor Details
-
ZomboidFileSystem
public ZomboidFileSystem()
-
-
Method Details
-
searchFolders
public void searchFolders(java.io.File file) -
getString
public java.lang.String getString(java.lang.String string) -
getAbsolutePath
public java.lang.String getAbsolutePath(java.lang.String string) -
init
public void init() -
Reset
public void Reset() -
resetModFolders
public void resetModFolders() -
getInstalledItemModsFolders
public void getInstalledItemModsFolders(java.util.ArrayList arrayList) -
getStagedItemModsFolders
public void getStagedItemModsFolders(java.util.ArrayList arrayList) -
setModFoldersOrder
public void setModFoldersOrder(java.lang.String string) -
getAllModFolders
public void getAllModFolders(java.util.List list) -
getWorkshopItemMods
public java.util.ArrayList getWorkshopItemMods(long long1) -
searchForModInfo
public java.lang.String searchForModInfo(java.io.File file, java.lang.String string) -
loadMod
public void loadMod(java.lang.String string) -
loadMods
public void loadMods() -
loadModsAux
public java.lang.String loadModsAux(java.util.ArrayList arrayList, java.util.ArrayList arrayList2) -
loadMods
public void loadMods(java.util.ArrayList arrayList) -
getModIDs
public java.util.ArrayList getModIDs() -
getModDir
public java.lang.String getModDir(java.lang.String string) -
getRelativeFile
public java.lang.String getRelativeFile(java.lang.String string) -
getRelativeFile
public java.lang.String getRelativeFile(java.net.URI uRI, java.lang.String string) -
saveModsFile
public void saveModsFile() -
loadModPackFiles
public void loadModPackFiles() -
loadModTileDefs
public void loadModTileDefs() -
loadModTileDefPropertyStrings
public void loadModTileDefPropertyStrings()
-