LeviLamina
Loading...
Searching...
No Matches
DataStoreSyncServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/data_sync/DataStoreSync.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock::DDUI { struct DataStoreUpdate; }
11// clang-format on
12
13namespace Bedrock::DDUI {
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::set<::std::string>>> mUpdateableFromClient;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~DataStoreSyncServer() /*override*/ = default;
26
27 virtual void clear(::std::string const& dataStoreName, bool addToOutgoingChanges) /*override*/;
28
29 virtual void assertAppropriateThread() const /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI void applyUpdate(::Bedrock::DDUI::DataStoreUpdate const& change);
36
37 MCAPI void setPropertyUpdateAllowed(
38 ::std::string const& dataStoreName,
39 ::std::string const& propertyName,
40 ::std::string const& path,
41 bool value
42 );
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $clear(::std::string const& dataStoreName, bool addToOutgoingChanges);
49
50 MCFOLD void $assertAppropriateThread() const;
51
52
53 // NOLINTEND
54};
55
56} // namespace Bedrock::DDUI
Definition DataStoreSyncServer.h:15
Definition DataStoreSync.h:22
Definition DataStoreUpdate.h:7