Package zombie.scripting
Class ScriptManager
java.lang.Object
zombie.scripting.ScriptManager
- All Implemented Interfaces:
IScriptObjectStore
public final class ScriptManager extends java.lang.Object implements IScriptObjectStore
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
currentFileName
ScriptModule
CurrentLoadingModule
static ScriptManager
instance
java.util.ArrayList
ModuleList
java.util.HashMap
ModuleMap
java.util.ArrayList
scriptsWithVehicles
java.util.ArrayList
scriptsWithVehicleTemplates
static java.lang.String
VanillaID
-
Constructor Summary
Constructors Constructor Description ScriptManager()
-
Method Summary
Modifier and Type Method Description void
CheckExitPoints()
Item
FindItem(java.lang.String string)
java.util.Stack
getAllEvolvedRecipes()
java.util.List
getAllFixing(java.util.List list)
java.util.ArrayList
getAllGameSounds()
java.util.ArrayList
getAllItems()
java.util.ArrayList
getAllModelScripts()
java.util.ArrayList
getAllRecipes()
java.util.ArrayList
getAllRecipesFor(java.lang.String string)
java.util.ArrayList
getAllRuntimeAnimationScripts()
java.util.Stack
getAllUniqueRecipes()
java.util.ArrayList
getAllVehicleScripts()
java.lang.String
getChecksum()
static java.lang.String
getCurrentLoadFileAbsPath()
static java.lang.String
getCurrentLoadFileMod()
Item
getItem(java.lang.String string)
Item
getItemForClothingItem(java.lang.String string)
static java.lang.String
getItemName(java.lang.String string)
java.util.ArrayList
getItemsTag(java.lang.String string)
java.lang.String
getItemTypeForClothingItem(java.lang.String string)
ModelScript
getModelScript(java.lang.String string)
ScriptModule
getModule(java.lang.String string)
ScriptModule
getModuleNoDisableCheck(java.lang.String string)
Recipe
getRecipe(java.lang.String string)
SoundTimelineScript
getSoundTimeline(java.lang.String string)
VehicleScript
getVehicle(java.lang.String string)
VehicleEngineRPM
getVehicleEngineRPM(java.lang.String string)
VehicleTemplate
getVehicleTemplate(java.lang.String string)
java.util.ArrayList
getZedDmgMap()
boolean
isDrainableItemType(java.lang.String string)
void
Load()
void
LoadFile(java.lang.String string, boolean boolean1)
void
ParseScript(java.lang.String string)
void
Reset()
java.lang.String
resolveItemType(ScriptModule scriptModule, java.lang.String string)
void
searchFolders(java.net.URI uRI, java.io.File file, java.util.ArrayList arrayList)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
currentFileName
public java.lang.String currentFileName -
scriptsWithVehicles
public final java.util.ArrayList scriptsWithVehicles -
scriptsWithVehicleTemplates
public final java.util.ArrayList scriptsWithVehicleTemplates -
ModuleMap
public final java.util.HashMap ModuleMap -
ModuleList
public final java.util.ArrayList ModuleList -
CurrentLoadingModule
-
VanillaID
public static final java.lang.String VanillaID- See Also:
- Constant Field Values
-
-
Constructor Details
-
ScriptManager
public ScriptManager()
-
-
Method Details
-
ParseScript
public void ParseScript(java.lang.String string) -
update
public void update() -
LoadFile
public void LoadFile(java.lang.String string, boolean boolean1) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
searchFolders
public void searchFolders(java.net.URI uRI, java.io.File file, java.util.ArrayList arrayList) -
getItemName
public static java.lang.String getItemName(java.lang.String string) -
getModule
-
getModuleNoDisableCheck
-
getItem
- Specified by:
getItem
in interfaceIScriptObjectStore
-
FindItem
-
isDrainableItemType
public boolean isDrainableItemType(java.lang.String string) -
getRecipe
- Specified by:
getRecipe
in interfaceIScriptObjectStore
-
getVehicle
-
getVehicleTemplate
-
getVehicleEngineRPM
-
CheckExitPoints
public void CheckExitPoints() -
getAllItems
public java.util.ArrayList getAllItems() -
getItemsTag
public java.util.ArrayList getItemsTag(java.lang.String string) -
getAllFixing
public java.util.List getAllFixing(java.util.List list) -
getAllRecipes
public java.util.ArrayList getAllRecipes() -
getAllEvolvedRecipes
public java.util.Stack getAllEvolvedRecipes() -
getAllUniqueRecipes
public java.util.Stack getAllUniqueRecipes() -
getAllGameSounds
public java.util.ArrayList getAllGameSounds() -
getAllRuntimeAnimationScripts
public java.util.ArrayList getAllRuntimeAnimationScripts() -
getModelScript
-
getAllModelScripts
public java.util.ArrayList getAllModelScripts() -
getAllVehicleScripts
public java.util.ArrayList getAllVehicleScripts() -
getSoundTimeline
-
Reset
public void Reset() -
getChecksum
public java.lang.String getChecksum() -
getCurrentLoadFileMod
public static java.lang.String getCurrentLoadFileMod() -
getCurrentLoadFileAbsPath
public static java.lang.String getCurrentLoadFileAbsPath() -
Load
public void Load() -
getAllRecipesFor
public java.util.ArrayList getAllRecipesFor(java.lang.String string) -
getItemTypeForClothingItem
public java.lang.String getItemTypeForClothingItem(java.lang.String string) -
getItemForClothingItem
-
getZedDmgMap
public java.util.ArrayList getZedDmgMap() -
resolveItemType
-