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
DryingOutTimerComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/util/json_util/JsonSchemaObjectNode.h"
7
#include "mc/world/actor/ActorDefinitionTrigger.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
CompoundTag
;
13
class
DataLoadHelper
;
14
class
EntityContext
;
15
namespace
JsonUtil {
class
EmptyClass
; }
16
// clang-format on
17
18
class
DryingOutTimerComponent
{
19
public
:
20
// DryingOutTimerComponent inner types declare
21
// clang-format off
22
class
DryingOutTimerDefinition
;
23
// clang-format on
24
25
// DryingOutTimerComponent inner types define
26
enum class
DryingOutState :
int
{
27
DryingOut = 0,
28
ExceededDryingOutTime = 1,
29
StoppedDryingOut = 2,
30
};
31
32
class
DryingOutTimerDefinition {
33
public
:
34
// member variables
35
// NOLINTBEGIN
36
::ll::TypedStorage<4, 4, float> mTotalTime;
37
::ll::TypedStorage<4, 4, float> mWaterBottleAdditionalTime;
38
::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnFullyDriedOut;
39
::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnStoppedDryingOut;
40
::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnRecoverAfterDriedOut;
41
// NOLINTEND
42
43
public
:
44
// prevent constructor by default
45
DryingOutTimerDefinition(DryingOutTimerDefinition
const
&);
46
DryingOutTimerDefinition();
47
48
public
:
49
// member functions
50
// NOLINTBEGIN
51
MCNAPI
DryingOutTimerDefinition
(
::DryingOutTimerComponent::DryingOutTimerDefinition
&&);
52
53
MCNAPI
void
initialize
(
::EntityContext
& entity,
::DryingOutTimerComponent
& dryingOutComponent)
const
;
54
55
MCNAPI ::DryingOutTimerComponent::DryingOutTimerDefinition&
56
operator=
(
::DryingOutTimerComponent::DryingOutTimerDefinition
const
&);
57
58
MCNAPI
~DryingOutTimerDefinition
();
59
// NOLINTEND
60
61
public
:
62
// static functions
63
// NOLINTBEGIN
64
MCNAPI
static
void
buildSchema
(
65
::std::shared_ptr<
::JsonUtil::JsonSchemaObjectNode
<
66
::JsonUtil::EmptyClass
,
67
::DryingOutTimerComponent::DryingOutTimerDefinition
>>& root
68
);
69
// NOLINTEND
70
71
public
:
72
// constructor thunks
73
// NOLINTBEGIN
74
MCNAPI
void
*
$ctor
(
::DryingOutTimerComponent::DryingOutTimerDefinition
&&);
75
// NOLINTEND
76
77
public
:
78
// destructor thunk
79
// NOLINTBEGIN
80
MCNAPI
void
$dtor
();
81
// NOLINTEND
82
};
83
84
public
:
85
// member variables
86
// NOLINTBEGIN
87
::ll::TypedStorage<8, 320, ::DryingOutTimerComponent::DryingOutTimerDefinition> mDefinition;
88
::ll::TypedStorage<4, 4, int> mTicksRemainingUntilDryOut;
89
::ll::TypedStorage<4, 4, ::DryingOutTimerComponent::DryingOutState> mState;
90
// NOLINTEND
91
92
public
:
93
// member functions
94
// NOLINTBEGIN
95
MCNAPI
void
addAdditionalSaveData
(
::CompoundTag
& tag)
const
;
96
97
MCNAPI
void
readAdditionalSaveData
(
::Actor
&,
::CompoundTag
const
& tag,
::DataLoadHelper
&);
98
// NOLINTEND
99
};
Actor
Definition
Actor.h:116
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
DryingOutTimerComponent::DryingOutTimerDefinition
Definition
DryingOutTimerComponent.h:32
DryingOutTimerComponent::DryingOutTimerDefinition::operator=
MCAPI::DryingOutTimerComponent::DryingOutTimerDefinition & operator=(::DryingOutTimerComponent::DryingOutTimerDefinition const &)
DryingOutTimerComponent::DryingOutTimerDefinition::initialize
MCAPI void initialize(::EntityContext &entity, ::DryingOutTimerComponent &dryingOutComponent) const
DryingOutTimerComponent::DryingOutTimerDefinition::$dtor
MCAPI void $dtor()
DryingOutTimerComponent::DryingOutTimerDefinition::~DryingOutTimerDefinition
MCAPI ~DryingOutTimerDefinition()
DryingOutTimerComponent::DryingOutTimerDefinition::buildSchema
static MCAPI void buildSchema(::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::EmptyClass, ::DryingOutTimerComponent::DryingOutTimerDefinition > > &root)
DryingOutTimerComponent::DryingOutTimerDefinition::DryingOutTimerDefinition
MCAPI DryingOutTimerDefinition(::DryingOutTimerComponent::DryingOutTimerDefinition &&)
DryingOutTimerComponent::DryingOutTimerDefinition::$ctor
MCAPI void * $ctor(::DryingOutTimerComponent::DryingOutTimerDefinition &&)
DryingOutTimerComponent
Definition
DryingOutTimerComponent.h:18
DryingOutTimerComponent::readAdditionalSaveData
MCAPI void readAdditionalSaveData(::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
DryingOutTimerComponent::addAdditionalSaveData
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const
EntityContext
Definition
EntityContext.h:15
JsonUtil::EmptyClass
Definition
EmptyClass.h:7
JsonUtil::JsonSchemaObjectNode
Definition
JsonSchemaObjectNode.h:8
src
mc
entity
components_json_legacy
DryingOutTimerComponent.h
Generated on
for LeviLamina by
1.16.1