16class BalloonComponent {
20 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mAttachedID;
21 ::ll::TypedStorage<4, 4, float> mMaxHeight;
22 ::ll::TypedStorage<1, 1, bool> mShouldDropAttached;
28 MCAPI BalloonComponent();
32 MCAPI
void computeMaxHeight(
::Actor& owner);
34 MCAPI
void detach(
::Actor& owner);
36 MCAPI ::Actor* getAttachedActor(
::Actor& owner);
38 MCFOLD
float getMaxHeight()
const;
40 MCAPI
void integrate(
::Actor& owner);
42 MCAPI
void onRemoved(
::Actor& owner,
bool shouldPop);
48 MCAPI
bool shouldPop(
::Actor& owner,
bool& removeAttached);
54 MCAPI static ::Actor* getBalloonForActor(
::Actor const& actor);
60 MCAPI static ::std::string
const& ATTACHED_TAG();
62 MCAPI
static float const& FENCE_BALLOON_RANGE();
64 MCAPI static ::std::string
const& MAX_HEIGHT_TAG();
66 MCAPI static ::std::string
const& SHOULD_DROP_TAG();