From 5e9dd1667b244df4e7767be404d4a12966d6a90a Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 25 Nov 2020 20:16:08 +0100 Subject: RemotePlayer: Remove Settings writer to Files database --- src/remoteplayer.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/remoteplayer.h') 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; -- cgit v1.2.3