Package zombie.world
Class WorldDictionary
java.lang.Object
zombie.world.WorldDictionary
public class WorldDictionary
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
logMissingObjectID
static boolean
logUnset
static java.lang.String
SAVE_EXT
static java.lang.String
SAVE_FILE
static java.lang.String
SAVE_FILE_LOG
static java.lang.String
SAVE_FILE_READABLE
-
Constructor Summary
Constructors Constructor Description WorldDictionary()
-
Method Summary
Modifier and Type Method Description static void
DebugPrintItem(short short1)
static void
DebugPrintItem(java.lang.String string)
static void
DebugPrintItem(InventoryItem inventoryItem)
static void
DebugPrintItem(Item item)
static byte
getIdForObjectName(java.lang.String string)
static int
getIdForSpriteName(java.lang.String string)
static ItemInfo
getItemInfoFromID(short short1)
static ItemInfo
getItemInfoFromType(java.lang.String string)
static java.lang.String
getItemModID(short short1)
static java.lang.String
getItemModID(java.lang.String string)
static short
getItemRegistryID(java.lang.String string)
static java.lang.String
getItemTypeDebugString(short short1)
static java.lang.String
getItemTypeFromID(short short1)
static java.lang.String
getModNameFromID(java.lang.String string)
static java.lang.String
getObjectNameFromID(byte byte1)
static java.lang.String
getSpriteNameFromID(int int1)
static void
init()
static boolean
isIsNewGame()
static void
loadDataFromServer(java.nio.ByteBuffer byteBuffer)
protected static void
log(java.lang.String string)
protected static void
log(java.lang.String string, boolean boolean1)
static void
onLoadItem(Item item)
static void
onWorldLoaded()
static void
saveDataForClient(java.nio.ByteBuffer byteBuffer)
static void
ScriptsLoaded()
static void
setIsNewGame(boolean boolean1)
static void
StartScriptLoading()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SAVE_FILE_READABLE
public static final java.lang.String SAVE_FILE_READABLE- See Also:
- Constant Field Values
-
SAVE_FILE_LOG
public static final java.lang.String SAVE_FILE_LOG- See Also:
- Constant Field Values
-
SAVE_FILE
public static final java.lang.String SAVE_FILE- See Also:
- Constant Field Values
-
SAVE_EXT
public static final java.lang.String SAVE_EXT- See Also:
- Constant Field Values
-
logUnset
public static final boolean logUnset- See Also:
- Constant Field Values
-
logMissingObjectID
public static final boolean logMissingObjectID- See Also:
- Constant Field Values
-
-
Constructor Details
-
WorldDictionary
public WorldDictionary()
-
-
Method Details
-
log
protected static void log(java.lang.String string) -
log
protected static void log(java.lang.String string, boolean boolean1) -
setIsNewGame
public static void setIsNewGame(boolean boolean1) -
isIsNewGame
public static boolean isIsNewGame() -
StartScriptLoading
public static void StartScriptLoading() -
ScriptsLoaded
public static void ScriptsLoaded() -
onLoadItem
-
loadDataFromServer
public static void loadDataFromServer(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
saveDataForClient
public static void saveDataForClient(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
init
- Throws:
WorldDictionaryException
-
onWorldLoaded
public static void onWorldLoaded() -
getItemInfoFromType
-
getItemInfoFromID
-
getItemRegistryID
public static short getItemRegistryID(java.lang.String string) -
getItemTypeFromID
public static java.lang.String getItemTypeFromID(short short1) -
getItemTypeDebugString
public static java.lang.String getItemTypeDebugString(short short1) -
getSpriteNameFromID
public static java.lang.String getSpriteNameFromID(int int1) -
getIdForSpriteName
public static int getIdForSpriteName(java.lang.String string) -
getObjectNameFromID
public static java.lang.String getObjectNameFromID(byte byte1) -
getIdForObjectName
public static byte getIdForObjectName(java.lang.String string) -
getItemModID
public static java.lang.String getItemModID(short short1) -
getItemModID
public static java.lang.String getItemModID(java.lang.String string) -
getModNameFromID
public static java.lang.String getModNameFromID(java.lang.String string) -
DebugPrintItem
-
DebugPrintItem
-
DebugPrintItem
public static void DebugPrintItem(java.lang.String string) -
DebugPrintItem
public static void DebugPrintItem(short short1)
-