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
ZipFileRestrictions.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
Core {
class
PathView
; }
8
// clang-format on
9
10
namespace
Core::ZipUtils {
11
12
class
ZipFileRestrictions
{
13
public
:
14
// member variables
15
// NOLINTBEGIN
16
::ll::TypedStorage<8, 16, ::std::set<::std::string>> mForbiddenExtensions;
17
::ll::TypedStorage<8, 16, ::std::set<::std::string>> mRestrictedExtensions;
18
::ll::TypedStorage<8, 16, ::std::set<::std::string>> mForbiddenFilenames;
19
// NOLINTEND
20
21
public
:
22
// member functions
23
// NOLINTBEGIN
24
MCNAPI
ZipFileRestrictions
();
25
26
MCNAPI
void
addRestrictedExtensions
(::std::vector<::std::string>
const
& extensions);
27
28
MCNAPI
bool
allowFile
(
::Core::PathView
file)
const
;
29
30
#ifdef LL_PLAT_C
31
MCNAPI
~ZipFileRestrictions
();
32
#endif
33
// NOLINTEND
34
35
public
:
36
// constructor thunks
37
// NOLINTBEGIN
38
MCNAPI
void
*
$ctor
();
39
// NOLINTEND
40
41
public
:
42
// destructor thunk
43
// NOLINTBEGIN
44
#ifdef LL_PLAT_C
45
MCNAPI
void
$dtor();
46
#endif
47
// NOLINTEND
48
};
49
50
}
// namespace Core::ZipUtils
Core::PathView
Definition
PathView.h:19
Core::ZipUtils::ZipFileRestrictions::addRestrictedExtensions
MCAPI void addRestrictedExtensions(::std::vector<::std::string > const &extensions)
Core::ZipUtils::ZipFileRestrictions::allowFile
MCAPI bool allowFile(::Core::PathView file) const
Core::ZipUtils::ZipFileRestrictions::$ctor
MCAPI void * $ctor()
Core::ZipUtils::ZipFileRestrictions::ZipFileRestrictions
MCAPI ZipFileRestrictions()
src
mc
deps
core
file
ZipFileRestrictions.h
Generated on
for LeviLamina by
1.16.1