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
IStorageManagementModel.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
I18n
;
8
class
PackManifest
;
9
struct
ContentItem
;
10
// clang-format on
11
12
class
IStorageManagementModel
{
13
public
:
14
// IStorageManagementModel inner types declare
15
// clang-format off
16
struct
PremiumWorldInfo
;
17
// clang-format on
18
19
// IStorageManagementModel inner types define
20
struct
PremiumWorldInfo
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<1, 1, bool> mWorldExists;
25
::ll::TypedStorage<1, 1, bool> mWorldIsPremium;
26
::ll::TypedStorage<1, 1, bool> mIsPremiumOwned;
27
// NOLINTEND
28
};
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
virtual
~IStorageManagementModel() =
default
;
34
35
virtual
bool
isPremiumLocked(::PackManifest
const
& manifest)
const
= 0;
36
37
virtual ::IStorageManagementModel::PremiumWorldInfo getWorldInfo(::std::string
const
& worldId)
const
= 0;
38
39
virtual ::I18n& getI18n()
const
= 0;
40
41
virtual
void
clearCompletedDownloads() = 0;
42
43
virtual
void
navigateToDeleteProgressScreen(::std::vector<::std::shared_ptr<::ContentItem const>> toDelete) = 0;
44
// NOLINTEND
45
};
I18n
Definition
I18n.h:19
IStorageManagementModel
Definition
IStorageManagementModel.h:5
PackManifest
Definition
PackManifest.h:39
ContentItem
Definition
ContentItem.h:5
IStorageManagementModel::PremiumWorldInfo
Definition
IStorageManagementModel.h:13
src-client
mc
client
gui
screens
controllers
IStorageManagementModel.h
Generated on
for LeviLamina by
1.16.1