aboutsummaryrefslogtreecommitdiff
path: root/doc/minetestserver.6
diff options
context:
space:
mode:
Diffstat (limited to 'doc/minetestserver.6')
0 files changed, 0 insertions, 0 deletions
TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once // !!! WARNING !!! // This backend is intended to be used on Minetest 0.4.16 only for the transition backend // for player files #include "database.h" class PlayerDatabaseFiles : public PlayerDatabase { public: PlayerDatabaseFiles(const std::string &savedir) : m_savedir(savedir) {} virtual ~PlayerDatabaseFiles() = default; void savePlayer(RemotePlayer *player); bool loadPlayer(RemotePlayer *player, PlayerSAO *sao); bool removePlayer(const std::string &name); void listPlayers(std::vector<std::string> &res); private: