3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
12namespace Bedrock::PubSub::ThreadModel {
struct MultiThreaded; }
13namespace mce {
class UUID; }
16class ScriptPackSettingsCache {
24 struct CachedSettingsByPackId {
35 CachedSettingsByPackId& operator=(CachedSettingsByPackId
const&);
36 CachedSettingsByPackId(CachedSettingsByPackId
const&);
37 CachedSettingsByPackId();
48 ScriptPackSettingsCache& operator=(ScriptPackSettingsCache
const&);
49 ScriptPackSettingsCache(ScriptPackSettingsCache
const&);
50 ScriptPackSettingsCache();
60 void(::std::string
const&, ::std::variant<
float,
bool, ::std::string, ::std::vector<::std::string>>
const&)>
66 ::std::string
const& name,
67 ::std::variant<
float,
bool, ::std::string, ::std::vector<::std::string>>
const& value
Definition Subscription.h:10
Definition PackInstance.h:16
MCAPI void _initFromPackStack(::std::vector<::PackInstance > const &stack)
MCAPI void updatePackSetting(::mce::UUID packId, ::std::string const &name, ::std::variant< float, bool, ::std::string, ::std::vector<::std::string > > const &value)
MCAPI::Bedrock::PubSub::Subscription registerObserver(::mce::UUID packId, ::std::function< void(::std::string const &, ::std::variant< float, bool, ::std::string, ::std::vector<::std::string > > const &)> callback)
Definition MultiThreaded.h:7
Definition ScriptPackSettingsCache.h:24