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
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
53
public
:
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
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
69
70
}
// namespace Bedrock::DDUI
Bedrock::DDUI::DataStoreSyncServer
Definition
DataStoreSyncServer.h:15
Bedrock::DDUI::DataStoreSyncServer::$vftable
static MCAPI void ** $vftable()
Bedrock::DDUI::DataStoreSync
Definition
DataStoreSync.h:21
Bedrock::DDUI::DataStoreUpdate
Definition
DataStoreUpdate.h:7
src
mc
scripting
data_sync
DataStoreSyncServer.h
Generated on
for LeviLamina by
1.16.1