3#include "mc/_HeaderOutputPredefine.h"
12namespace PlayerDataSystem {
15MCNAPI
void forEachIdByPrecedence(
16 ::PlayerStorageIds
const& ids,
17 ::std::function<
bool(::std::string
const&, ::std::string
const&)> callback
20MCNAPI ::std::string getServerId(::LevelStorage& storage, ::PlayerStorageIds
const& saveIds,
bool isEditorPlayer);
22MCNAPI ::std::unique_ptr<::CompoundTag>
23legacyLoadPlayer(::LevelStorage& storage, ::std::string
const& clientUniqueName);
25MCAPI ::std::unique_ptr<::CompoundTag>
26loadPlayerDataFromTag(::LevelStorage& storage, ::std::string_view saveTag,
bool isEditorPlayer);
28MCAPI ::std::string playerKey(::std::string_view uniqueName);
30MCNAPI ::std::string resolvePlayerKey(::std::string_view uniqueName,
bool isEditorPlayer);
33MCAPI ::std::string serverKey(::LevelStorage& storage, ::std::string_view uniqueName,
bool isEditorPlayer);
Definition CompoundTag.h:18
Definition LevelStorage.h:26
Definition PlayerStorageIds.h:5