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
FrameDecryptorInterface.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/external/webrtc/ArrayView.h"
7
#include "mc/external/webrtc/MediaType.h"
8
#include "mc/external/webrtc/RefCountInterface.h"
9
10
namespace
webrtc {
11
12
class
FrameDecryptorInterface
:
public
::webrtc::RefCountInterface
{
13
public
:
14
// FrameDecryptorInterface inner types declare
15
// clang-format off
16
struct
Result
;
17
// clang-format on
18
19
// FrameDecryptorInterface inner types define
20
enum class
Status :
int
{
21
KOk = 0,
22
KRecoverable = 1,
23
KFailedToDecrypt = 2,
24
KUnknown = 3,
25
};
26
27
struct
Result {
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::UntypedStorage<4, 4>
mUnkfa122e;
32
::ll::UntypedStorage<8, 8>
mUnk257a1b;
33
// NOLINTEND
34
35
public
:
36
// prevent constructor by default
37
Result& operator=(Result
const
&);
38
Result(Result
const
&);
39
Result();
40
};
41
42
public
:
43
// virtual functions
44
// NOLINTBEGIN
45
virtual
~FrameDecryptorInterface
()
/*override*/
=
default
;
46
47
virtual ::webrtc::FrameDecryptorInterface::Result Decrypt(
48
::webrtc::MediaType,
49
::std::vector<uint>
const
&,
50
::webrtc::ArrayView<uchar const>
,
51
::webrtc::ArrayView<uchar const>
,
52
::webrtc::ArrayView<uchar>
53
) = 0;
54
55
virtual
uint64 GetMaxPlaintextByteSize(::webrtc::MediaType, uint64) = 0;
56
// NOLINTEND
57
};
58
59
}
// namespace webrtc
webrtc::ArrayView
Definition
ArrayView.h:8
webrtc::FrameDecryptorInterface
Definition
FrameDecryptorInterface.h:12
webrtc::RefCountInterface
Definition
RefCountInterface.h:10
ll::UntypedStorage
Definition
Alias.h:14
webrtc::FrameDecryptorInterface::Result
Definition
FrameDecryptorInterface.h:27
src
mc
external
webrtc
FrameDecryptorInterface.h
Generated on
for LeviLamina by
1.16.1