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
PackWriteStrategy.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
Path
; }
8
// clang-format on
9
10
class
PackWriteStrategy
{
11
public
:
12
// PackWriteStrategy inner types define
13
enum class
FileName : uchar {
14
Manifest = 0,
15
ContentsJSON = 1,
16
TexturesList = 2,
17
};
18
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
virtual
~PackWriteStrategy
() =
default
;
23
24
virtual
void
writeAsset(::PackWriteStrategy::FileName path, ::std::string
const
& fileContent) = 0;
25
// NOLINTEND
26
27
public
:
28
// static functions
29
// NOLINTBEGIN
30
MCNAPI static ::Core::Path
getPath
(::PackWriteStrategy::FileName path);
31
// NOLINTEND
32
};
Core::Path
Definition
Path.h:10
PackWriteStrategy
Definition
PackWriteStrategy.h:10
PackWriteStrategy::getPath
static MCAPI ::Core::Path getPath(::PackWriteStrategy::FileName path)
src
mc
resources
PackWriteStrategy.h
Generated on
for LeviLamina by
1.16.1