LeviLamina
Loading...
Searching...
No Matches
ContainerBlockActorComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/actor/BlockActorVersion.h"
7
#include "mc/world/level/block/actor/component/IBlockActorComponent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockType
;
12
class
CompoundTag
;
13
class
DataDrivenBlockContainer
;
14
class
ILevel
;
15
class
SaveContext
;
16
// clang-format on
17
18
class
ContainerBlockActorComponent
:
public
::IBlockActorComponent
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 8, ::std::unique_ptr<::DataDrivenBlockContainer>> mContainer;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
~ContainerBlockActorComponent
()
/*override*/
=
default
;
29
30
virtual
void
save(
::CompoundTag
& parentTag,
::SaveContext
const
& saveContext)
const
/*override*/
;
31
32
virtual
void
load(
::CompoundTag
const
& parentTag,
::ILevel
& level, ::BlockActorVersion version)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// static functions
37
// NOLINTBEGIN
38
MCAPI static ::std::unique_ptr<::ContainerBlockActorComponent> tryCreateFor(
::BlockType
const
& blockType);
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
void
$save(
::CompoundTag
& parentTag,
::SaveContext
const
& saveContext)
const
;
45
46
MCAPI
void
$load(
::CompoundTag
const
& parentTag,
::ILevel
& level, ::BlockActorVersion version);
47
48
49
// NOLINTEND
50
51
public
:
52
// vftables
53
// NOLINTBEGIN
54
MCNAPI
static
void
**
$vftable
();
55
// NOLINTEND
56
};
BlockType
Definition
BlockType.h:79
CompoundTag
Definition
CompoundTag.h:18
ContainerBlockActorComponent
Definition
ContainerBlockActorComponent.h:18
ContainerBlockActorComponent::$vftable
static MCAPI void ** $vftable()
DataDrivenBlockContainer
Definition
DataDrivenBlockContainer.h:17
ILevel
Definition
ILevel.h:221
SaveContext
Definition
SaveContext.h:5
IBlockActorComponent
Definition
IBlockActorComponent.h:15
src
mc
world
level
block
actor
component
ContainerBlockActorComponent.h
Generated on
for LeviLamina by
1.16.1