Class SGlobalObjectSystem

java.lang.Object
zombie.globalObjects.SGlobalObjectSystem

public final class SGlobalObjectSystem
extends java.lang.Object
  • Field Details

    • name

      protected final java.lang.String name
    • loadedWorldVersion

      protected int loadedWorldVersion
    • objects

      protected final java.util.ArrayList objects
    • lookup

      protected final GlobalObjectLookup lookup
    • modData

      protected final KahluaTable modData
    • modDataKeys

      protected final java.util.HashSet modDataKeys
    • objectModDataKeys

      protected final java.util.HashSet objectModDataKeys
  • Constructor Details

    • SGlobalObjectSystem

      public SGlobalObjectSystem​(java.lang.String string)
  • Method Details

    • setModDataKeys

      public void setModDataKeys​(KahluaTable kahluaTable)
    • setObjectModDataKeys

      public void setObjectModDataKeys​(KahluaTable kahluaTable)
    • getModData

      public KahluaTable getModData()
    • newObject

      public GlobalObject newObject​(int int1, int int2, int int3)
    • removeObject

      public void removeObject​(GlobalObject globalObject) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
      Throws:
      java.lang.IllegalArgumentException
      java.lang.IllegalStateException
    • getObjectAt

      public GlobalObject getObjectAt​(int int1, int int2, int int3)
    • hasObjectsInChunk

      public boolean hasObjectsInChunk​(int int1, int int2)
    • getObjectsInChunk

      public java.util.ArrayList getObjectsInChunk​(int int1, int int2)
    • getObjectsAdjacentTo

      public java.util.ArrayList getObjectsAdjacentTo​(int int1, int int2, int int3)
    • allocList

      public java.util.ArrayList allocList()
    • finishedWithList

      public void finishedWithList​(java.util.ArrayList arrayList)
    • getObjectCount

      public int getObjectCount()
    • getObjectByIndex

      public GlobalObject getObjectByIndex​(int int1)
    • update

      public void update()
    • chunkLoaded

      public void chunkLoaded​(int int1, int int2)
    • sendCommand

      public void sendCommand​(java.lang.String string, KahluaTable kahluaTable)
    • receiveClientCommand

      public void receiveClientCommand​(java.lang.String string, IsoPlayer player, KahluaTable kahluaTable)
    • getInitialStateForClient

      public KahluaTable getInitialStateForClient()
    • 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()