mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
RemotePlayer: Remove Settings writer to Files database
This commit is contained in:
parent
b5956bde25
commit
5e9dd1667b
4 changed files with 115 additions and 144 deletions
|
@ -38,7 +38,14 @@ public:
|
|||
void listPlayers(std::vector<std::string> &res);
|
||||
|
||||
private:
|
||||
void serialize(std::ostringstream &os, RemotePlayer *player);
|
||||
void deSerialize(RemotePlayer *p, std::istream &is,
|
||||
const std::string &playername, PlayerSAO *sao);
|
||||
/*
|
||||
serialize() writes a bunch of text that can contain
|
||||
any characters except a '\0', and such an ending that
|
||||
deSerialize stops reading exactly at the right point.
|
||||
*/
|
||||
void serialize(RemotePlayer *p, std::ostream &os);
|
||||
|
||||
std::string m_savedir;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue