Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
MCNAPI
void
$clear
(::std::string
const
& dataStoreName,
bool
addToOutgoingChanges);
49
50
MCNAPI
void
$assertAppropriateThread
()
const
;
51
52
53
// NOLINTEND
54
};
55
56
}
// namespace Bedrock::DDUI
Bedrock::DDUI::DataStoreSyncServer
Definition
DataStoreSyncServer.h:15
Bedrock::DDUI::DataStoreSyncServer::$assertAppropriateThread
MCAPI void $assertAppropriateThread() const
Bedrock::DDUI::DataStoreSyncServer::$clear
MCAPI void $clear(::std::string const &dataStoreName, bool addToOutgoingChanges)
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