Package zombie.globalObjects
Class SGlobalObjectSystem
java.lang.Object
zombie.globalObjects.GlobalObjectSystem
zombie.globalObjects.SGlobalObjectSystem
public final class SGlobalObjectSystem extends GlobalObjectSystem
-
Field Summary
Fields Modifier and Type Field Description protected int
loadedWorldVersion
protected java.util.HashSet
modDataKeys
protected java.util.HashSet
objectModDataKeys
protected java.util.HashSet
objectSyncKeys
Fields inherited from class zombie.globalObjects.GlobalObjectSystem
lookup, modData, name, objects
-
Constructor Summary
Constructors Constructor Description SGlobalObjectSystem(java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
addGlobalObjectOnClient(SGlobalObject sGlobalObject)
void
chunkLoaded(int int1, int int2)
KahluaTable
getInitialStateForClient()
void
load()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
int
loadedWorldVersion()
protected GlobalObject
makeObject(int int1, int int2, int int3)
void
OnIsoObjectChangedItself(IsoObject object)
void
receiveClientCommand(java.lang.String string, IsoPlayer player, KahluaTable kahluaTable)
void
removeGlobalObjectOnClient(SGlobalObject sGlobalObject)
void
Reset()
void
save()
void
save(java.nio.ByteBuffer byteBuffer)
void
sendCommand(java.lang.String string, KahluaTable kahluaTable)
void
setModDataKeys(KahluaTable kahluaTable)
void
setObjectModDataKeys(KahluaTable kahluaTable)
void
setObjectSyncKeys(KahluaTable kahluaTable)
void
update()
void
updateGlobalObjectOnClient(SGlobalObject sGlobalObject)
Methods inherited from class zombie.globalObjects.GlobalObjectSystem
allocList, finishedWithList, getModData, getName, getObjectAt, getObjectByIndex, getObjectCount, getObjectsAdjacentTo, getObjectsInChunk, hasObjectsInChunk, newObject, removeObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
loadedWorldVersion
protected int loadedWorldVersion -
modDataKeys
protected final java.util.HashSet modDataKeys -
objectModDataKeys
protected final java.util.HashSet objectModDataKeys -
objectSyncKeys
protected final java.util.HashSet objectSyncKeys
-
-
Constructor Details
-
SGlobalObjectSystem
public SGlobalObjectSystem(java.lang.String string)
-
-
Method Details
-
makeObject
- Specified by:
makeObject
in classGlobalObjectSystem
-
setModDataKeys
-
setObjectModDataKeys
-
setObjectSyncKeys
-
update
public void update() -
chunkLoaded
public void chunkLoaded(int int1, int int2) -
sendCommand
-
receiveClientCommand
public void receiveClientCommand(java.lang.String string, IsoPlayer player, KahluaTable kahluaTable) -
addGlobalObjectOnClient
- Throws:
java.io.IOException
-
removeGlobalObjectOnClient
- Throws:
java.io.IOException
-
updateGlobalObjectOnClient
- Throws:
java.io.IOException
-
getInitialStateForClient
-
OnIsoObjectChangedItself
-
loadedWorldVersion
public int loadedWorldVersion() -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load() -
save
public void save() -
Reset
public void Reset()- Overrides:
Reset
in classGlobalObjectSystem
-