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
10
namespace
Bedrock::DDUI {
struct
DataStoreUpdate
; }
11
// clang-format on
12
13
namespace
Bedrock::DDUI {
14
15
class
DataStoreSyncServer
:
public
::Bedrock::DDUI::DataStoreSync
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::set<::std::string>>> mUpdateableFromClient;
20
// NOLINTEND
21
22
public
:
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
32
public
:
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
45
public
:
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
Bedrock::DDUI::DataStoreSyncServer
Definition
DataStoreSyncServer.h:15
Bedrock::DDUI::DataStoreSync
Definition
DataStoreSync.h:22
Bedrock::DDUI::DataStoreUpdate
Definition
DataStoreUpdate.h:7
src
mc
scripting
data_sync
DataStoreSyncServer.h
Generated on
for LeviLamina by
1.16.1