aboutsummaryrefslogtreecommitdiff
path: root/src/remoteplayer.h
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2020-11-25 20:16:08 +0100
committersfan5 <sfan5@live.de>2021-01-29 17:32:35 +0100
commit5e9dd1667b244df4e7767be404d4a12966d6a90a (patch)
tree133cd26f4f7a450b45ee085ee02f85c217626167 /src/remoteplayer.h
parentb5956bde259faa240a81060ff4e598e25ad52dae (diff)
downloadhax-minetest-server-5e9dd1667b244df4e7767be404d4a12966d6a90a.tar.gz
hax-minetest-server-5e9dd1667b244df4e7767be404d4a12966d6a90a.zip
RemotePlayer: Remove Settings writer to Files database
Diffstat (limited to '')
-rw-r--r--src/remoteplayer.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h
index e4209c54f..b82cbc08e 100644
--- a/src/remoteplayer.h
+++ b/src/remoteplayer.h
@@ -44,8 +44,6 @@ public:
RemotePlayer(const char *name, IItemDefManager *idef);
virtual ~RemotePlayer() = default;
- void deSerialize(std::istream &is, const std::string &playername, PlayerSAO *sao);
-
PlayerSAO *getPlayerSAO() { return m_sao; }
void setPlayerSAO(PlayerSAO *sao) { m_sao = sao; }
@@ -142,13 +140,6 @@ public:
void onSuccessfulSave();
private:
- /*
- 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(std::ostream &os);
- void serializeExtraAttributes(std::string &output);
PlayerSAO *m_sao = nullptr;
bool m_dirty = false;