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 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
29
30 MCAPI void detach(::Actor& owner);
31
32 MCAPI void integrate(::Actor& owner);
33
34 MCAPI void onRemoved(::Actor& owner, bool shouldPop);
35
36 MCAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
37
38 MCAPI void setAttachedActor(::Actor& owner, ::Actor& toAttach);
39
40 MCAPI bool shouldPop(::Actor& owner, bool& removeAttached);
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::Actor* getBalloonForActor(::Actor const& actor);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static ::std::string const& ATTACHED_TAG();
53
54 MCAPI static ::std::string const& MAX_HEIGHT_TAG();
55
56 MCAPI static ::std::string const& SHOULD_DROP_TAG();
57 // NOLINTEND
58};
Definition Actor.h:114
Definition BalloonComponent.h:16
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ActorUniqueID.h:5