Keep track of sold items so we can validate buyback packets

This commit is contained in:
2021-03-09 03:40:23 +01:00
parent 0fbdb1dad2
commit ffe5947925
3 changed files with 71 additions and 33 deletions

View File

@@ -84,9 +84,10 @@ struct Player {
uint64_t iFirstUseFlag[2];
ChunkPos chunkPos;
std::set<Chunk*>* viewableChunks;
std::set<Chunk*> *viewableChunks;
time_t lastHeartbeat;
int suspicionRating;
time_t lastShot;
std::vector<sItemBase> *buyback;
};