Package zombie.world.moddata
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
-
SAVE_EXT
public static final java.lang.String SAVE_EXT- See Also:
- Constant Field Values
-
SAVE_FILE
public static final java.lang.String SAVE_FILE- See Also:
- Constant Field Values
-
instance
-
-
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
-
get
-
create
public java.lang.String create() -
create
-
remove
-
add
-
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
-
save
public void save() throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load() throws java.io.IOException- Throws:
java.io.IOException
-