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
16class BalloonComponent {
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 MCAPI BalloonComponent();
29
30 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
31
32 MCAPI void computeMaxHeight(::Actor& owner);
33
34 MCAPI void detach(::Actor& owner);
35
36 MCAPI ::Actor* getAttachedActor(::Actor& owner);
37
38 MCFOLD float getMaxHeight() const;
39
40 MCAPI void integrate(::Actor& owner);
41
42 MCAPI void onRemoved(::Actor& owner, bool shouldPop);
43
44 MCAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
45
46 MCAPI void setAttachedActor(::Actor& owner, ::Actor& toAttach);
47
48 MCAPI bool shouldPop(::Actor& owner, bool& removeAttached);
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static ::Actor* getBalloonForActor(::Actor const& actor);
55 // NOLINTEND
56
57public:
58 // static variables
59 // NOLINTBEGIN
60 MCAPI static ::std::string const& ATTACHED_TAG();
61
62 MCAPI static float const& FENCE_BALLOON_RANGE();
63
64 MCAPI static ::std::string const& MAX_HEIGHT_TAG();
65
66 MCAPI static ::std::string const& SHOULD_DROP_TAG();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor();
73 // NOLINTEND
74};
Definition Actor.h:125
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition ActorUniqueID.h:10