Package zombie.savefile
Class ClientPlayerDB
java.lang.Object
zombie.savefile.ClientPlayerDB
public final class ClientPlayerDB
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
canSavePlayers
-
Constructor Summary
Constructors Constructor Description ClientPlayerDB()
-
Method Summary
Modifier and Type Method Description void
clientLoadNetworkCharacter(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
boolean
clientLoadNetworkPlayer()
void
clientSendNetworkPlayerInt(IsoPlayer player)
void
close()
java.util.ArrayList
getAllNetworkPlayers()
byte[]
getClientLoadNetworkPlayerData(int int1)
static ClientPlayerDB
getInstance()
int
getNextServerPlayerIndex()
boolean
isAliveMainNetworkPlayer()
static boolean
isAllow()
static boolean
isAvailable()
boolean
loadNetworkPlayer(int int1)
boolean
loadNetworkPlayerInfo(int int1)
static void
setAllow(boolean boolean1)
void
updateMain()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
canSavePlayers
public boolean canSavePlayers
-
-
Constructor Details
-
ClientPlayerDB
public ClientPlayerDB()
-
-
Method Details
-
setAllow
public static void setAllow(boolean boolean1) -
isAllow
public static boolean isAllow() -
getInstance
-
isAvailable
public static boolean isAvailable() -
updateMain
public void updateMain() -
close
public void close() -
getAllNetworkPlayers
public java.util.ArrayList getAllNetworkPlayers() -
clientLoadNetworkCharacter
public void clientLoadNetworkCharacter(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection) -
clientSendNetworkPlayerInt
-
isAliveMainNetworkPlayer
public boolean isAliveMainNetworkPlayer() -
clientLoadNetworkPlayer
public boolean clientLoadNetworkPlayer() -
getClientLoadNetworkPlayerData
public byte[] getClientLoadNetworkPlayerData(int int1) -
loadNetworkPlayer
public boolean loadNetworkPlayer(int int1) -
loadNetworkPlayerInfo
public boolean loadNetworkPlayerInfo(int int1) -
getNextServerPlayerIndex
public int getNextServerPlayerIndex()
-