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
AnnotationInstanceStore.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/game_refs/OwnerPtr.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ChunkKey
;
11
namespace
Editor::Annotations {
class
AnnotationInstance
; }
12
namespace
mce {
class
UUID
; }
13
// clang-format on
14
15
namespace
Editor::Services {
16
17
class
AnnotationInstanceStore {
18
public
:
19
// AnnotationInstanceStore inner types declare
20
// clang-format off
21
struct
InstanceIndexEntry
;
22
struct
InstanceList
;
23
// clang-format on
24
25
// AnnotationInstanceStore inner types define
26
struct
InstanceIndexEntry {
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::UntypedStorage<8, 12>
mUnkc53c10;
31
::ll::UntypedStorage<8, 16>
mUnka44ea3;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
InstanceIndexEntry& operator=(InstanceIndexEntry
const
&);
37
InstanceIndexEntry(InstanceIndexEntry
const
&);
38
InstanceIndexEntry();
39
};
40
41
struct
InstanceList {
42
public
:
43
// member variables
44
// NOLINTBEGIN
45
::ll::UntypedStorage<8, 24>
mUnk2981b1;
46
// NOLINTEND
47
48
public
:
49
// prevent constructor by default
50
InstanceList& operator=(InstanceList
const
&);
51
InstanceList(InstanceList
const
&);
52
InstanceList();
53
};
54
55
public
:
56
// member variables
57
// NOLINTBEGIN
58
::ll::UntypedStorage<8, 64>
mUnk54a60f;
59
::ll::UntypedStorage<8, 64>
mUnk4dffb7;
60
::ll::UntypedStorage<8, 64>
mUnk12a107;
61
// NOLINTEND
62
63
public
:
64
// prevent constructor by default
65
AnnotationInstanceStore& operator=(AnnotationInstanceStore
const
&);
66
AnnotationInstanceStore(AnnotationInstanceStore
const
&);
67
AnnotationInstanceStore();
68
69
public
:
70
// member functions
71
// NOLINTBEGIN
72
MCNAPI
void
addInstance
(
73
::ChunkKey
const
& chunkKey,
74
::OwnerPtr<::Editor::Annotations::AnnotationInstance>
instance,
75
bool
chunkLoaded
76
);
77
78
MCNAPI
bool
isChunkLoaded
(
::ChunkKey
const
& chunkKey)
const
;
79
80
MCNAPI
bool
moveInstance
(
::mce::UUID
const
&
id
,
::ChunkKey
const
& chunkKey,
bool
chunkLoaded);
81
82
MCNAPI
bool
removeInstance
(
::mce::UUID
const
&
id
);
83
// NOLINTEND
84
};
85
86
}
// namespace Editor::Services
ChunkKey
Definition
ChunkKey.h:9
Editor::Annotations::AnnotationInstance
Definition
AnnotationInstance.h:19
Editor::Services::AnnotationInstanceStore::addInstance
MCAPI void addInstance(::ChunkKey const &chunkKey, ::OwnerPtr<::Editor::Annotations::AnnotationInstance > instance, bool chunkLoaded)
Editor::Services::AnnotationInstanceStore::moveInstance
MCAPI bool moveInstance(::mce::UUID const &id, ::ChunkKey const &chunkKey, bool chunkLoaded)
Editor::Services::AnnotationInstanceStore::isChunkLoaded
MCAPI bool isChunkLoaded(::ChunkKey const &chunkKey) const
Editor::Services::AnnotationInstanceStore::removeInstance
MCAPI bool removeInstance(::mce::UUID const &id)
OwnerPtr
Definition
OwnerPtr.h:7
mce::UUID
Definition
UUID.h:8
Editor::Services::AnnotationInstanceStore::InstanceIndexEntry
Definition
AnnotationInstanceStore.h:26
Editor::Services::AnnotationInstanceStore::InstanceList
Definition
AnnotationInstanceStore.h:41
ll::UntypedStorage
Definition
Alias.h:14
src
mc
editor
AnnotationInstanceStore.h
Generated on
for LeviLamina by
1.16.1