summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index fa7253170..dfc60673b 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -63,6 +63,10 @@ public:
core::list<Player*> getPlayers();
core::list<Player*> getPlayers(bool ignore_disconnected);
void printPlayers(std::ostream &o);
+
+ void serializePlayers(const std::string &savedir);
+ // This loads players as ServerRemotePlayers
+ void deSerializePlayers(const std::string &savedir);
#ifndef SERVER
void updateMeshes(v3s16 blockpos);