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