added saving character when a connection with shard is killed

This commit is contained in:
kamilprzyb
2020-09-03 00:22:00 +02:00
committed by dongresource
parent 3cfec7aab3
commit fc57cae37d
6 changed files with 70 additions and 45 deletions

View File

@@ -51,6 +51,8 @@ namespace Database {
int x_coordinates;
int y_coordinates;
int z_coordinates;
int angle;
short int PCState;
};
@@ -88,4 +90,5 @@ namespace Database {
//getting players
DbPlayer getDbPlayerById(int id);
void updatePlayer(Player player);
}