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 bool canClientUpdateProperty(
38 ::std::string const& dataStoreName,
39 ::std::string const& propertyName,
40 ::std::string const& path
41 );
42
43 MCAPI void clearAll(bool addToOutgoingChanges);
44
45 MCAPI void setPropertyUpdateAllowed(
46 ::std::string const& dataStoreName,
47 ::std::string const& propertyName,
48 ::std::string const& path,
49 bool value
50 );
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI void $clear(::std::string const& dataStoreName, bool addToOutgoingChanges);
57
58 MCFOLD void $assertAppropriateThread() const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace Bedrock::DDUI
Definition DataStoreSyncServer.h:15
static MCAPI void ** $vftable()
Definition DataStoreSync.h:21
Definition DataStoreUpdate.h:7