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.StringcurrentFileNameScriptModuleCurrentLoadingModulestatic ScriptManagerinstancejava.util.ArrayListModuleListjava.util.HashMapModuleMapjava.util.ArrayListscriptsWithVehiclesjava.util.ArrayListscriptsWithVehicleTemplatesstatic java.lang.StringVanillaID -
Constructor Summary
Constructors Constructor Description ScriptManager() -
Method Summary
Modifier and Type Method Description voidCheckExitPoints()ItemFindItem(java.lang.String string)java.util.StackgetAllEvolvedRecipes()java.util.ListgetAllFixing(java.util.List list)java.util.ArrayListgetAllGameSounds()java.util.ArrayListgetAllItems()java.util.ArrayListgetAllModelScripts()java.util.ArrayListgetAllRecipes()java.util.ArrayListgetAllRecipesFor(java.lang.String string)java.util.ArrayListgetAllRuntimeAnimationScripts()java.util.StackgetAllUniqueRecipes()java.util.ArrayListgetAllVehicleScripts()java.lang.StringgetChecksum()static java.lang.StringgetCurrentLoadFileAbsPath()static java.lang.StringgetCurrentLoadFileMod()ItemgetItem(java.lang.String string)ItemgetItemForClothingItem(java.lang.String string)static java.lang.StringgetItemName(java.lang.String string)java.util.ArrayListgetItemsTag(java.lang.String string)java.lang.StringgetItemTypeForClothingItem(java.lang.String string)ModelScriptgetModelScript(java.lang.String string)ScriptModulegetModule(java.lang.String string)ScriptModulegetModuleNoDisableCheck(java.lang.String string)RecipegetRecipe(java.lang.String string)SoundTimelineScriptgetSoundTimeline(java.lang.String string)VehicleScriptgetVehicle(java.lang.String string)VehicleEngineRPMgetVehicleEngineRPM(java.lang.String string)VehicleTemplategetVehicleTemplate(java.lang.String string)java.util.ArrayListgetZedDmgMap()booleanisDrainableItemType(java.lang.String string)voidLoad()voidLoadFile(java.lang.String string, boolean boolean1)voidParseScript(java.lang.String string)voidReset()java.lang.StringresolveItemType(ScriptModule scriptModule, java.lang.String string)voidsearchFolders(java.net.URI uRI, java.io.File file, java.util.ArrayList arrayList)voidupdate()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:
getItemin interfaceIScriptObjectStore
-
FindItem
-
isDrainableItemType
public boolean isDrainableItemType(java.lang.String string) -
getRecipe
- Specified by:
getRecipein 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
-