Package zombie.core.stash
Class StashSystem
java.lang.Object
zombie.core.stash.StashSystem
public class StashSystem
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
allStashes
static java.util.ArrayList
buildingsToDo
static java.util.ArrayList
possibleStashes
-
Constructor Summary
Constructors Constructor Description StashSystem()
-
Method Summary
Modifier and Type Method Description static void
checkStashItem(InventoryItem item)
static void
doBuildingStash(BuildingDef def)
static void
doStashItem(Stash stash, InventoryItem item)
static java.util.ArrayList
getPossibleStashes()
static Stash
getStash(java.lang.String stashName)
static void
init()
static void
initAllStashes()
static void
load(java.nio.ByteBuffer input, int WorldVersion)
static void
prepareBuildingStash(java.lang.String stashName)
static void
reinit()
static void
Reset()
static void
save(java.nio.ByteBuffer output)
static void
visitedBuilding(BuildingDef def)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
allStashes
public static java.util.ArrayList allStashes -
possibleStashes
public static java.util.ArrayList possibleStashes -
buildingsToDo
public static java.util.ArrayList buildingsToDo
-
-
Constructor Details
-
StashSystem
public StashSystem()
-
-
Method Details
-
init
public static void init() -
initAllStashes
public static void initAllStashes() -
checkStashItem
-
doStashItem
-
prepareBuildingStash
public static void prepareBuildingStash(java.lang.String stashName) -
doBuildingStash
-
getStash
-
visitedBuilding
-
load
public static void load(java.nio.ByteBuffer input, int WorldVersion) -
save
public static void save(java.nio.ByteBuffer output) -
getPossibleStashes
public static java.util.ArrayList getPossibleStashes() -
reinit
public static void reinit() -
Reset
public static void Reset()
-