LeviLamina
Loading...
Searching...
No Matches
DataStoreSync.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock::DDUI { struct DataStoreChange; }
11namespace Bedrock::DDUI { struct DataStoreObject; }
12namespace Bedrock::DDUI { struct DataStoreRemoval; }
13namespace Bedrock::PubSub::ThreadModel { struct SingleThreaded; }
14// clang-format on
15
16namespace Bedrock::DDUI {
17
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 DataStoreSync& operator=(DataStoreSync const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~DataStoreSync();
38
39 // vIndex: 1
40 virtual void clear(::std::string const& datastoreName, bool addToOutgoingChanges);
41
42 // vIndex: 2
43 virtual void applyChanges(
44 ::std::vector<::std::variant<::Bedrock::DDUI::DataStoreChange, ::Bedrock::DDUI::DataStoreRemoval>> const&
45 ) = 0;
46
47 // vIndex: 3
48 virtual void assertAppropriateThread() const = 0;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI DataStoreSync();
55
56 MCNAPI void
57 set(::std::string const& datastoreName,
58 ::std::string const& property,
60 bool addToOutgoingChanges);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void* $ctor();
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCNAPI void $clear(::std::string const& datastoreName, bool addToOutgoingChanges);
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
87
88} // namespace Bedrock::DDUI
Definition DataStoreSync.h:18
MCAPI void $clear(::std::string const &datastoreName, bool addToOutgoingChanges)
MCAPI void set(::std::string const &datastoreName, ::std::string const &property, ::Bedrock::DDUI::DataStoreObject const &obj, bool addToOutgoingChanges)
static MCAPI void ** $vftable()
Definition DataStoreObject.h:7
Definition Alias.h:14