mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Players are left on server while server is running. No passwords yet.
This commit is contained in:
@@ -425,6 +425,12 @@ private:
|
||||
// When called, connection mutex should be locked
|
||||
RemoteClient* getClient(u16 peer_id);
|
||||
|
||||
// Gets a player from memory or creates one.
|
||||
// Caller should check isClientConnected() and set it appropriately.
|
||||
//
|
||||
// Call with env and con locked.
|
||||
Player *emergePlayer(const char *name, const char *password);
|
||||
|
||||
/*
|
||||
Update water pressure.
|
||||
This also adds suitable nodes to active_nodes.
|
||||
|
Reference in New Issue
Block a user