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
WorldTemplateSource.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/client/gui/screens/models/ContentSource.h"
7
#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
IWorldTemplateManager
;
12
struct
ContentItem
;
13
// clang-format on
14
15
struct
WorldTemplateSource
:
public
::ContentSource
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager>> mWorldTemplateManager;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~WorldTemplateSource()
/*override*/
=
default
;
26
27
virtual
void
load()
/*override*/
;
28
29
virtual
void
generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content)
/*override*/
;
30
31
virtual
void
deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>>
const
& items)
/*override*/
;
32
33
virtual
void
postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>>
const
& items)
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// virtual function thunks
38
// NOLINTBEGIN
39
MCNAPI
void
$load
();
40
41
MCNAPI
void
$generateItems
(::std::vector<::std::shared_ptr<::ContentItem>>& content);
42
43
MCNAPI
void
$deleteContentFiles
(::std::vector<::std::shared_ptr<::ContentItem const>>
const
& items);
44
45
MCNAPI
void
$postDeleteContent
(::std::vector<::std::shared_ptr<::ContentItem const>>
const
& items);
46
// NOLINTEND
47
};
IWorldTemplateManager
Definition
IWorldTemplateManager.h:17
ContentItem
Definition
ContentItem.h:5
ContentSource
Definition
ContentSource.h:5
WorldTemplateSource
Definition
WorldTemplateSource.h:5
WorldTemplateSource::$load
MCAPI void $load()
WorldTemplateSource::$postDeleteContent
MCAPI void $postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
WorldTemplateSource::$deleteContentFiles
MCAPI void $deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
WorldTemplateSource::$generateItems
MCAPI void $generateItems(::std::vector<::std::shared_ptr<::ContentItem > > &content)
src-client
mc
client
gui
screens
models
WorldTemplateSource.h
Generated on
for LeviLamina by
1.16.1