3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/PathBuffer.h"
14namespace Core {
class Path; }
17namespace PlayerDataSystem {
20MCAPI
void forEachIdByPrecedence(
22 ::std::function<
bool(::std::string
const&, ::std::string
const&)> callback
25MCAPI ::Core::PathBuffer<::std::string> getPlayerFilename(
::Core::Path const& fullPath, ::std::string
const& fn);
29MCAPI ::std::string legacyConsolePlayerKey(::std::string
const& str);
31MCAPI ::std::unique_ptr<::CompoundTag>
32legacyLoadClientPlayer(::std::string
const& clientUniqueName,
::Core::Path const& fullPath);
34MCAPI ::std::unique_ptr<::CompoundTag> legacyLoadPlayer(
::LevelStorage& storage, ::std::string
const& clientUniqueName);
36MCAPI ::std::unique_ptr<::CompoundTag>
39MCAPI ::std::unique_ptr<::CompoundTag> loadPlayerDataFromTag(
::LevelStorage& storage, ::std::string_view saveTag);
41MCAPI ::std::string playerKey(::std::string_view uniqueName);
45MCAPI ::std::string serverKey(
::LevelStorage& storage, ::std::string_view uniqueName);
Definition CompoundTag.h:13
Definition LevelStorage.h:25
Definition PlayerStorageIds.h:5