Class GlobalModData

java.lang.Object
zombie.world.moddata.GlobalModData

public final class GlobalModData
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static GlobalModData instance  
    static java.lang.String SAVE_EXT  
    static java.lang.String SAVE_FILE  
  • Constructor Summary

    Constructors
    Constructor Description
    GlobalModData()  
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.String string, KahluaTable kahluaTable)  
    void collectTableNames​(java.util.List list)  
    java.lang.String create()  
    KahluaTable create​(java.lang.String string)  
    boolean exists​(java.lang.String string)  
    KahluaTable get​(java.lang.String string)  
    KahluaTable getOrCreate​(java.lang.String string)  
    void init()  
    void load()  
    void receive​(java.nio.ByteBuffer byteBuffer)  
    void receiveRequest​(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)  
    KahluaTable remove​(java.lang.String string)  
    void request​(java.lang.String string)  
    void reset()  
    void save()  
    void transmit​(java.lang.String string)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GlobalModData

      public GlobalModData()
  • Method Details

    • init

      public void init() throws java.io.IOException
      Throws:
      java.io.IOException
    • reset

      public void reset()
    • collectTableNames

      public void collectTableNames​(java.util.List list)
    • exists

      public boolean exists​(java.lang.String string)
    • getOrCreate

      public KahluaTable getOrCreate​(java.lang.String string)
    • get

      public KahluaTable get​(java.lang.String string)
    • create

      public java.lang.String create()
    • create

      public KahluaTable create​(java.lang.String string)
    • remove

      public KahluaTable remove​(java.lang.String string)
    • add

      public void add​(java.lang.String string, KahluaTable kahluaTable)
    • transmit

      public void transmit​(java.lang.String string)
    • receive

      public void receive​(java.nio.ByteBuffer byteBuffer)
    • request

      public void request​(java.lang.String string)
    • receiveRequest

      public void receiveRequest​(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
    • save

      public void save() throws java.io.IOException
      Throws:
      java.io.IOException
    • load

      public void load() throws java.io.IOException
      Throws:
      java.io.IOException