"Created" meta column + cleanup

This commit is contained in:
Kamil 2020-12-07 21:10:19 +01:00 committed by Gent S
parent 04112377ea
commit 05f4746af4
5 changed files with 456 additions and 501 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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);
} }