Package zombie.savefile
Class PlayerDB
java.lang.Object
zombie.savefile.PlayerDB
public final class PlayerDB
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
INVALID_ID
boolean
m_canSavePlayers
-
Constructor Summary
Constructors Constructor Description PlayerDB()
-
Method Summary
Modifier and Type Method Description void
close()
java.util.ArrayList
getAllLocalPlayers()
static PlayerDB
getInstance()
void
importPlayersFromVehiclesDB()
static boolean
isAllow()
static boolean
isAvailable()
boolean
loadLocalPlayer(int int1)
boolean
loadLocalPlayerInfo(int int1)
void
saveLocalPlayersForce()
void
savePlayers()
static void
setAllow(boolean boolean1)
void
updateMain()
void
updateWorldStreamer()
void
uploadLocalPlayers2DB()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INVALID_ID
public static final int INVALID_ID- See Also:
- Constant Field Values
-
m_canSavePlayers
public boolean m_canSavePlayers
-
-
Constructor Details
-
PlayerDB
public PlayerDB()
-
-
Method Details
-
getInstance
-
setAllow
public static void setAllow(boolean boolean1) -
isAllow
public static boolean isAllow() -
isAvailable
public static boolean isAvailable() -
close
public void close() -
updateMain
public void updateMain() -
updateWorldStreamer
public void updateWorldStreamer() -
savePlayers
public void savePlayers() -
saveLocalPlayersForce
public void saveLocalPlayersForce() -
importPlayersFromVehiclesDB
public void importPlayersFromVehiclesDB() -
uploadLocalPlayers2DB
public void uploadLocalPlayers2DB() -
loadLocalPlayer
public boolean loadLocalPlayer(int int1) -
getAllLocalPlayers
public java.util.ArrayList getAllLocalPlayers() -
loadLocalPlayerInfo
public boolean loadLocalPlayerInfo(int int1)
-