LeviLamina
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
MCNAPI ::std::string
$getAlternateContentKey
(
::ContentIdentity
const
&)
const
;
38
39
MCNAPI
bool
$requireEncryptedReads
()
const
;
40
41
42
// NOLINTEND
43
};
Bedrock::EnableNonOwnerReferences
Definition
EnableNonOwnerReferences.h:7
ContentIdentity
Definition
ContentIdentity.h:8
IContentKeyProvider
Definition
IContentKeyProvider.h:13
IContentKeyProvider::$getAlternateContentKey
MCAPI::std::string $getAlternateContentKey(::ContentIdentity const &) const
IContentKeyProvider::$requireEncryptedReads
MCAPI bool $requireEncryptedReads() const
src
mc
resources
IContentKeyProvider.h
Generated on
for LeviLamina by
1.16.1