Merge commit 'dcad86e776a37d402aab5a8146829578c358c701' into pullstream
This commit is contained in:
commit
e2b11db644
@ -78,6 +78,7 @@ Seadragon91 (Lukas Pioch)
|
|||||||
Sofapriester
|
Sofapriester
|
||||||
Spekdrum (Pablo Beltran)
|
Spekdrum (Pablo Beltran)
|
||||||
SphinxC0re
|
SphinxC0re
|
||||||
|
steve-nzr
|
||||||
structinf (xdot)
|
structinf (xdot)
|
||||||
sweetgiorni
|
sweetgiorni
|
||||||
Sxw1212
|
Sxw1212
|
||||||
|
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
cRankManager::cRankManager(void) :
|
cRankManager::cRankManager(void) :
|
||||||
m_DB("Ranks.sqlite", SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE),
|
m_DB("Ranks.sqlite", SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE),
|
||||||
m_IsInitialized(false),
|
m_IsInitialized(false)
|
||||||
m_MojangAPI(nullptr)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,10 +43,6 @@ cRankManager::cRankManager(void) :
|
|||||||
|
|
||||||
cRankManager::~cRankManager()
|
cRankManager::~cRankManager()
|
||||||
{
|
{
|
||||||
if (m_MojangAPI != nullptr)
|
|
||||||
{
|
|
||||||
m_MojangAPI->SetRankManager(nullptr);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -289,11 +289,6 @@ protected:
|
|||||||
/** Set to true once the manager is initialized. */
|
/** Set to true once the manager is initialized. */
|
||||||
bool m_IsInitialized;
|
bool m_IsInitialized;
|
||||||
|
|
||||||
/** The MojangAPI instance that is used for keeping player names and UUIDs in sync.
|
|
||||||
Set in Initialize(), may be nullptr. */
|
|
||||||
cMojangAPI * m_MojangAPI;
|
|
||||||
|
|
||||||
|
|
||||||
/** Returns true if all the DB tables are empty, indicating a fresh new install. */
|
/** Returns true if all the DB tables are empty, indicating a fresh new install. */
|
||||||
bool AreDBTablesEmpty(void);
|
bool AreDBTablesEmpty(void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user