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
IContentKeyProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ContentIdentity
;
11
// clang-format on
12
13
class
IContentKeyProvider
:
public
::Bedrock::EnableNonOwnerReferences
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
virtual
~IContentKeyProvider
()
/*override*/
=
default
;
18
19
virtual ::std::string getContentKey(
::ContentIdentity
const
& contentIdentity)
const
= 0;
20
21
#ifdef LL_PLAT_S
22
virtual ::std::string getAlternateContentKey(
::ContentIdentity
const
&)
const
;
23
#else
// LL_PLAT_C
24
virtual ::std::string getAlternateContentKey(
::ContentIdentity
const
& contentIdentity)
const
;
25
#endif
26
27
virtual
bool
requireEncryptedReads()
const
;
28
29
virtual
void
setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string>
const
& keys) = 0;
30
31
virtual
void
clearTempContentKeys() = 0;
32
// NOLINTEND
33
34
public
:
35
// virtual function thunks
36
// NOLINTBEGIN
37
#ifdef LL_PLAT_S
38
MCNAPI ::std::string
$getAlternateContentKey
(
::ContentIdentity
const
&)
const
;
39
#else
// LL_PLAT_C
40
MCNAPI ::std::string
$getAlternateContentKey
(
::ContentIdentity
const
& contentIdentity)
const
;
41
#endif
42
43
MCNAPI
bool
$requireEncryptedReads
()
const
;
44
45
46
// NOLINTEND
47
};
Bedrock::EnableNonOwnerReferences
Definition
EnableNonOwnerReferences.h:7
ContentIdentity
Definition
ContentIdentity.h:8
IContentKeyProvider
Definition
IContentKeyProvider.h:13
IContentKeyProvider::$getAlternateContentKey
MCAPI::std::string $getAlternateContentKey(::ContentIdentity const &contentIdentity) const
IContentKeyProvider::$requireEncryptedReads
MCAPI bool $requireEncryptedReads() const
src
mc
resources
IContentKeyProvider.h
Generated on
for LeviLamina by
1.16.1