mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Misc formatting changes
This commit is contained in:
parent
06b8ce6017
commit
60e17bbeaa
@ -79,10 +79,11 @@ void Database::DBInitVars() {
|
|||||||
varcache_max = 0;
|
varcache_max = 0;
|
||||||
varcache_lastupdate = 0;
|
varcache_lastupdate = 0;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
|
||||||
Close the connection to the database
|
/*
|
||||||
|
Close the connection to the database
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Database::~Database()
|
Database::~Database()
|
||||||
{
|
{
|
||||||
unsigned int x;
|
unsigned int x;
|
||||||
@ -95,9 +96,9 @@ Database::~Database()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Check if there is an account with name "name" and password "password"
|
Check if there is an account with name "name" and password "password"
|
||||||
Return the account id or zero if no account matches.
|
Return the account id or zero if no account matches.
|
||||||
Zero will also be returned if there is a database error.
|
Zero will also be returned if there is a database error.
|
||||||
*/
|
*/
|
||||||
uint32 Database::CheckLogin(const char* name, const char* password, int16* oStatus) {
|
uint32 Database::CheckLogin(const char* name, const char* password, int16* oStatus) {
|
||||||
|
|
||||||
|
|||||||
@ -53,9 +53,9 @@ struct EventLogDetails_Struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterEventLog_Struct {
|
struct CharacterEventLog_Struct {
|
||||||
uint32 count;
|
uint32 count;
|
||||||
uint8 eventid;
|
uint8 eventid;
|
||||||
EventLogDetails_Struct eld[255];
|
EventLogDetails_Struct eld[255];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct npcDecayTimes_Struct {
|
struct npcDecayTimes_Struct {
|
||||||
@ -261,17 +261,11 @@ private:
|
|||||||
VarCache_Struct** varcache_array;
|
VarCache_Struct** varcache_array;
|
||||||
uint32 varcache_lastupdate;
|
uint32 varcache_lastupdate;
|
||||||
|
|
||||||
|
/* Groups, utility methods. */
|
||||||
/*
|
|
||||||
* Groups, utility methods.
|
|
||||||
*/
|
|
||||||
void ClearAllGroupLeaders();
|
void ClearAllGroupLeaders();
|
||||||
void ClearAllGroups();
|
void ClearAllGroups();
|
||||||
|
|
||||||
|
/* Raid, utility methods. */
|
||||||
/*
|
|
||||||
* Raid, utility methods.
|
|
||||||
*/
|
|
||||||
void ClearAllRaids();
|
void ClearAllRaids();
|
||||||
void ClearAllRaidDetails();
|
void ClearAllRaidDetails();
|
||||||
void ClearAllRaidLeaders();
|
void ClearAllRaidLeaders();
|
||||||
|
|||||||
@ -458,11 +458,11 @@ bool Database::CheckDatabaseConversions() {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Automatic Database Upgrade Script
|
Automatic Database Upgrade Script
|
||||||
Script: db_update.pl V 1 - the number that world passes to the script will
|
Script: db_update.pl V 1 - the number that world passes to the script will
|
||||||
force the script to check for a newer version to update itself with
|
force the script to check for a newer version to update itself with
|
||||||
db_update.pl ran_from_world - won't bring up a menu if your database versions match
|
db_update.pl ran_from_world - won't bring up a menu if your database versions match
|
||||||
db_update.pl - ran standalone will bring up a menu prompt
|
db_update.pl - ran standalone will bring up a menu prompt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Check for a new version of this script, the arg passed
|
/* Check for a new version of this script, the arg passed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user