mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add (optional) client-side saving of server map to disk
This commit is contained in:
parent
0ee5a2197d
commit
9d69436052
4 changed files with 48 additions and 0 deletions
|
@ -46,6 +46,8 @@ class ClientMediaDownloader;
|
|||
struct MapDrawControl;
|
||||
class MtEventManager;
|
||||
struct PointedThing;
|
||||
class Database;
|
||||
class Server;
|
||||
|
||||
struct QueuedMeshUpdate
|
||||
{
|
||||
|
@ -555,6 +557,10 @@ private:
|
|||
|
||||
// own state
|
||||
LocalClientState m_state;
|
||||
|
||||
// Used for saving server map to disk client-side
|
||||
Database *localdb;
|
||||
Server *localserver;
|
||||
};
|
||||
|
||||
#endif // !CLIENT_HEADER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue