3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/string/BasicStackString.h"
8#include "mc/deps/game_refs/EnableGetWeakRef.h"
16namespace Editor::Services {
19 public ::std::enable_shared_from_this<::Editor::Services::PersistenceItem> {
33 PersistenceItem& operator=(PersistenceItem
const&);
34 PersistenceItem(PersistenceItem
const&);
41 ::std::string
const&
key,
47 MCNAPI ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
_getFilePath();
53 MCNAPI ::std::string
const&
key()
const;
55 MCNAPI ::Bedrock::PubSub::Subscription
62 MCNAPI ::std::string
const&
value()
const;
71 ::std::string
const&
key,
Definition Subscription.h:10
Definition PathBuffer.h:8
Definition PersistenceItem.h:19
MCAPI PersistenceItem(::std::string const &key, ::Core::PathBuffer<::std::string > const &path, bool replication, ::cereal::ReflectionCtx &ctx)
MCAPI::std::string const & fetchItemPayload()
MCAPI::std::string _loadItem()
MCAPI void setValue(::std::string const &value)
MCAPI::std::string const & key() const
MCAPI::std::string const & value() const
MCAPI void * $ctor(::std::string const &key, ::Core::PathBuffer<::std::string > const &path, bool replication, ::cereal::ReflectionCtx &ctx)
MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > _getFilePath()
MCAPI::Bedrock::PubSub::Subscription onValueChange(::std::function< void(::Editor::Services::PersistenceItem const &)> callback)
Definition EnableGetWeakRef.h:6
Definition ReflectionCtx.h:11