Class ScriptsDictionary.ScriptRegister<T extends BaseScriptObject>
java.lang.Object
zombie.world.ScriptsDictionary.ScriptRegister<T>
- Enclosing class:
ScriptsDictionary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canRegister
(Object var1) get
(short short0) short
getInfoForID
(short short0) getInfoForName
(String string) long
getVersionHash
(T baseScriptObject) boolean
isRegistered
(T baseScriptObject) protected void
load
(ByteBuffer byteBuffer, int int2) loadScript
(ByteBuffer byteBuffer, int var2) protected void
protected void
protected void
protected void
protected void
reset()
protected void
save
(ByteBuffer byteBuffer) protected void
saveAsText
(FileWriter fileWriter, String string0) void
saveScript
(ByteBuffer byteBuffer, T baseScriptObject)
-
Constructor Details
-
ScriptRegister
-
-
Method Details
-
saveScript
-
loadScript
-
get
-
get
-
getIdFor
-
isRegistered
-
getInfoForName
-
getInfoForID
-
register
- Throws:
WorldDictionaryException
-
canRegister
- Throws:
WorldDictionaryException
-
getVersionHash
- Throws:
WorldDictionaryException
-
parseLoadList
- Throws:
WorldDictionaryException
-
parseLoadListClient
- Throws:
WorldDictionaryException
-
reset
protected void reset() -
onStartScriptLoading
protected void onStartScriptLoading() -
saveAsText
- Throws:
IOException
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-