Package zombie.world
Class DictionaryDataClient
java.lang.Object
zombie.world.DictionaryData
zombie.world.DictionaryDataClient
public class DictionaryDataClient extends DictionaryData
-
Field Summary
Fields inherited from class zombie.world.DictionaryData
itemIdToInfoMap, itemTypeToInfoMap, NextItemID, NextObjectNameID, NextSpriteNameID, objectIdToNameMap, objectNameToIdMap, serverDataCache, spriteIdToNameMap, spriteNameToIdMap, unsetObject, unsetSprites -
Constructor Summary
Constructors Constructor Description DictionaryDataClient() -
Method Summary
Modifier and Type Method Description protected voidbackupCurrentDataSet()protected voidcreateErrorBackups()protected voiddeleteBackupCurrentDataSet()protected booleanisClient()protected voidload()protected voidparseCurrentItemSet()protected voidparseItemLoadList(java.util.Map map)protected voidparseObjectNameLoadList(java.util.List list)protected voidsave()protected voidsaveToByteBuffer(java.nio.ByteBuffer byteBuffer)Methods inherited from class zombie.world.DictionaryData
getIdForObjectName, getIdForSpriteName, getItemInfoFromID, getItemInfoFromType, getItemMods, getItemRegistryID, getItemTypeDebugString, getItemTypeFromID, getModuleList, getObjectNameFromID, getSpriteNameFromID, loadFromByteBuffer, reset, saveAsTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DictionaryDataClient
public DictionaryDataClient()
-
-
Method Details
-
isClient
protected boolean isClient()- Overrides:
isClientin classDictionaryData
-
parseItemLoadList
- Overrides:
parseItemLoadListin classDictionaryData- Throws:
WorldDictionaryException
-
parseCurrentItemSet
- Overrides:
parseCurrentItemSetin classDictionaryData- Throws:
WorldDictionaryException
-
parseObjectNameLoadList
- Overrides:
parseObjectNameLoadListin classDictionaryData- Throws:
WorldDictionaryException
-
backupCurrentDataSet
protected void backupCurrentDataSet() throws java.io.IOException- Overrides:
backupCurrentDataSetin classDictionaryData- Throws:
java.io.IOException
-
deleteBackupCurrentDataSet
protected void deleteBackupCurrentDataSet() throws java.io.IOException- Overrides:
deleteBackupCurrentDataSetin classDictionaryData- Throws:
java.io.IOException
-
createErrorBackups
protected void createErrorBackups()- Overrides:
createErrorBackupsin classDictionaryData
-
load
- Overrides:
loadin classDictionaryData- Throws:
java.io.IOExceptionWorldDictionaryException
-
save
- Overrides:
savein classDictionaryData- Throws:
java.io.IOExceptionWorldDictionaryException
-
saveToByteBuffer
protected void saveToByteBuffer(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Overrides:
saveToByteBufferin classDictionaryData- Throws:
java.io.IOException
-