Class ScriptManager

java.lang.Object
zombie.scripting.ScriptManager
All Implemented Interfaces:
IScriptObjectStore

public final class ScriptManager
extends java.lang.Object
implements IScriptObjectStore
  • Field Details

    • instance

      public static final ScriptManager 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

      public ScriptModule 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

      public ScriptModule getModule​(java.lang.String string)
    • getModuleNoDisableCheck

      public ScriptModule getModuleNoDisableCheck​(java.lang.String string)
    • getItem

      public Item getItem​(java.lang.String string)
      Specified by:
      getItem in interface IScriptObjectStore
    • FindItem

      public Item FindItem​(java.lang.String string)
    • isDrainableItemType

      public boolean isDrainableItemType​(java.lang.String string)
    • getRecipe

      public Recipe getRecipe​(java.lang.String string)
      Specified by:
      getRecipe in interface IScriptObjectStore
    • getVehicle

      public VehicleScript getVehicle​(java.lang.String string)
    • getVehicleTemplate

      public VehicleTemplate getVehicleTemplate​(java.lang.String string)
    • getVehicleEngineRPM

      public VehicleEngineRPM getVehicleEngineRPM​(java.lang.String string)
    • 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

      public ModelScript getModelScript​(java.lang.String string)
    • getAllModelScripts

      public java.util.ArrayList getAllModelScripts()
    • getAllVehicleScripts

      public java.util.ArrayList getAllVehicleScripts()
    • getSoundTimeline

      public SoundTimelineScript getSoundTimeline​(java.lang.String string)
    • 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

      public Item getItemForClothingItem​(java.lang.String string)
    • getZedDmgMap

      public java.util.ArrayList getZedDmgMap()
    • resolveItemType

      public java.lang.String resolveItemType​(ScriptModule scriptModule, java.lang.String string)