Class WorldDictionary
java.lang.Object
zombie.world.WorldDictionary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDebugPrintEntity(short id) static voidDebugPrintEntity(String fullitem) static voidDebugPrintEntity(GameEntity entity) static voidDebugPrintEntity(GameEntityScript entityScript) static voidDebugPrintItem(short id) static voidDebugPrintItem(String fullitem) static voidDebugPrintItem(InventoryItem item) static voidDebugPrintItem(Item item) static EntityInfogetEntityInfoFromID(short registeryID) static EntityInfogetEntityInfoFromType(String fulltype) static StringgetEntityModID(short registeryID) static StringgetEntityModID(String fulltype) static shortgetEntityRegistryID(String fullType) static StringgetEntityTypeDebugString(short id) static StringgetEntityTypeFromID(short id) static bytegetIdForObjectName(String name) static intgetIdForSpriteName(String name) static ItemInfogetItemInfoFromID(short registeryID) static ItemInfogetItemInfoFromType(String fulltype) static StringgetItemModID(short registeryID) static StringgetItemModID(String fulltype) static shortgetItemRegistryID(String fullType) static StringgetItemTypeDebugString(short id) static StringgetItemTypeFromID(short id) static StringgetModNameFromID(String modid) static StringgetObjectNameFromID(byte id) static StringgetSpriteNameFromID(int id) static voidinit()static booleanstatic booleanstatic voidstatic voidonLoadEntity(GameEntityScript entityScript) static voidstatic voidstatic voidstatic voidsetIsNewGame(boolean isNewGame) static void
-
Field Details
-
VERSION
public static final int VERSION- See Also:
-
SAVE_FILE_READABLE
- See Also:
-
SAVE_FILE_LOG
- See Also:
-
SAVE_FILE
- See Also:
-
SAVE_EXT
- See Also:
-
logUnset
public static final boolean logUnset- See Also:
-
logMissingObjectID
public static final boolean logMissingObjectID- See Also:
-
-
Constructor Details
-
WorldDictionary
public WorldDictionary()
-
-
Method Details
-
setIsNewGame
public static void setIsNewGame(boolean isNewGame) -
isIsNewGame
public static boolean isIsNewGame() -
StartScriptLoading
public static void StartScriptLoading() -
ScriptsLoaded
public static void ScriptsLoaded() -
isAllowScriptItemLoading
public static boolean isAllowScriptItemLoading() -
onLoadEntity
-
loadDataFromServer
- Throws:
IOException
-
saveDataForClient
- Throws:
IOException
-
init
- Throws:
WorldDictionaryException
-
onWorldLoaded
public static void onWorldLoaded() -
getItemInfoFromType
-
getItemInfoFromID
-
getItemRegistryID
-
getItemTypeFromID
-
getItemTypeDebugString
-
getEntityInfoFromType
-
getEntityInfoFromID
-
getEntityRegistryID
-
getEntityTypeFromID
-
getEntityTypeDebugString
-
getSpriteNameFromID
-
getIdForSpriteName
-
getObjectNameFromID
-
getIdForObjectName
-
getItemModID
-
getItemModID
-
getModNameFromID
-
DebugPrintItem
-
DebugPrintItem
-
DebugPrintItem
-
DebugPrintItem
public static void DebugPrintItem(short id) -
getEntityModID
-
getEntityModID
-
DebugPrintEntity
-
DebugPrintEntity
-
DebugPrintEntity
-
DebugPrintEntity
public static void DebugPrintEntity(short id)
-