mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
"Created" meta column + cleanup
This commit is contained in:
parent
04112377ea
commit
05f4746af4
@ -42,6 +42,10 @@ pathdata=tdata/paths.json
|
|||||||
dropdata=tdata/drops.json
|
dropdata=tdata/drops.json
|
||||||
# gruntwork output (this is what you submit)
|
# gruntwork output (this is what you submit)
|
||||||
gruntwork=tdata/gruntwork.json
|
gruntwork=tdata/gruntwork.json
|
||||||
|
# location of the database
|
||||||
|
dbpath=database.db
|
||||||
|
# should tutorial flags be disabled off the bat?
|
||||||
|
disablefirstuseflag=true
|
||||||
|
|
||||||
# account permission level that will be set upon character creation
|
# account permission level that will be set upon character creation
|
||||||
# 1 = default, will allow *all* commands
|
# 1 = default, will allow *all* commands
|
||||||
|
668
src/Database.cpp
668
src/Database.cpp
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,6 @@
|
|||||||
#include "Player.hpp"
|
#include "Player.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
|
||||||
|
|
||||||
#define DATABASE_VERSION 1
|
#define DATABASE_VERSION 1
|
||||||
|
|
||||||
@ -67,7 +66,6 @@ namespace Database {
|
|||||||
// getting players
|
// getting players
|
||||||
void getPlayer(Player* plr, int id);
|
void getPlayer(Player* plr, int id);
|
||||||
void updatePlayer(Player *player);
|
void updatePlayer(Player *player);
|
||||||
void updateBuddies(Player* player);
|
|
||||||
void removeExpiredVehicles(Player* player);
|
void removeExpiredVehicles(Player* player);
|
||||||
|
|
||||||
// buddies
|
// buddies
|
||||||
@ -89,5 +87,4 @@ namespace Database {
|
|||||||
void deleteEmails(int playerID, int64_t* indices);
|
void deleteEmails(int playerID, int64_t* indices);
|
||||||
int getNextEmailIndex(int playerID);
|
int getNextEmailIndex(int playerID);
|
||||||
void sendEmail(EmailData* data, std::vector<sItemBase> attachments);
|
void sendEmail(EmailData* data, std::vector<sItemBase> attachments);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user