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 void
backupCurrentDataSet()
protected void
createErrorBackups()
protected void
deleteBackupCurrentDataSet()
protected boolean
isClient()
protected void
load()
protected void
parseCurrentItemSet()
protected void
parseItemLoadList(java.util.Map map)
protected void
parseObjectNameLoadList(java.util.List list)
protected void
save()
protected void
saveToByteBuffer(java.nio.ByteBuffer byteBuffer)
Methods inherited from class zombie.world.DictionaryData
getIdForObjectName, getIdForSpriteName, getItemInfoFromID, getItemInfoFromType, getItemMods, getItemRegistryID, getItemTypeDebugString, getItemTypeFromID, getModuleList, getObjectNameFromID, getSpriteNameFromID, loadFromByteBuffer, reset, saveAsText
Methods 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:
isClient
in classDictionaryData
-
parseItemLoadList
- Overrides:
parseItemLoadList
in classDictionaryData
- Throws:
WorldDictionaryException
-
parseCurrentItemSet
- Overrides:
parseCurrentItemSet
in classDictionaryData
- Throws:
WorldDictionaryException
-
parseObjectNameLoadList
- Overrides:
parseObjectNameLoadList
in classDictionaryData
- Throws:
WorldDictionaryException
-
backupCurrentDataSet
protected void backupCurrentDataSet() throws java.io.IOException- Overrides:
backupCurrentDataSet
in classDictionaryData
- Throws:
java.io.IOException
-
deleteBackupCurrentDataSet
protected void deleteBackupCurrentDataSet() throws java.io.IOException- Overrides:
deleteBackupCurrentDataSet
in classDictionaryData
- Throws:
java.io.IOException
-
createErrorBackups
protected void createErrorBackups()- Overrides:
createErrorBackups
in classDictionaryData
-
load
- Overrides:
load
in classDictionaryData
- Throws:
java.io.IOException
WorldDictionaryException
-
save
- Overrides:
save
in classDictionaryData
- Throws:
java.io.IOException
WorldDictionaryException
-
saveToByteBuffer
protected void saveToByteBuffer(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Overrides:
saveToByteBuffer
in classDictionaryData
- Throws:
java.io.IOException
-