Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BalloonComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class CompoundTag;
12class DataLoadHelper;
13struct ActorUniqueID;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mAttachedID;
21 ::ll::TypedStorage<4, 4, float> mMaxHeight;
22 ::ll::TypedStorage<1, 1, bool> mShouldDropAttached;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCNAPI void addAdditionalSaveData(::CompoundTag& tag) const;
29
30 MCNAPI void detach(::Actor& owner);
31
32 MCNAPI void integrate(::Actor& owner);
33
34 MCNAPI void onRemoved(::Actor& owner, bool shouldPop);
35
36 MCNAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
37
38 MCNAPI void setAttachedActor(::Actor& owner, ::Actor& toAttach);
39
40 MCNAPI bool shouldPop(::Actor& owner, bool& removeAttached);
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static ::Actor* getBalloonForActor(::Actor const& actor);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCNAPI static ::std::string const& ATTACHED_TAG();
53
54 MCNAPI static ::std::string const& MAX_HEIGHT_TAG();
55
56 MCNAPI static ::std::string const& SHOULD_DROP_TAG();
57 // NOLINTEND
58};
Definition Actor.h:116
Definition BalloonComponent.h:16
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const
static MCAPI ::Actor * getBalloonForActor(::Actor const &actor)
MCAPI void onRemoved(::Actor &owner, bool shouldPop)
MCAPI void detach(::Actor &owner)
static MCAPI ::std::string const & MAX_HEIGHT_TAG()
MCAPI void readAdditionalSaveData(::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void setAttachedActor(::Actor &owner, ::Actor &toAttach)
static MCAPI ::std::string const & SHOULD_DROP_TAG()
MCAPI bool shouldPop(::Actor &owner, bool &removeAttached)
MCAPI void integrate(::Actor &owner)
static MCAPI ::std::string const & ATTACHED_TAG()
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ActorUniqueID.h:5