LeviLamina
Loading...
Searching...
No Matches
SplashPotionEffectSubcomponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/components_json_legacy/OnHitSubcomponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BaseGameVersion;
12class HitResult;
13class MobEffect;
15class Potion;
17namespace Json { class Value; }
18// clang-format on
19
20class SplashPotionEffectSubcomponent : public ::OnHitSubcomponent {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, int> mPotionEffect;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~SplashPotionEffectSubcomponent() /*override*/;
31
32 virtual void readfromJSON(::Json::Value& component) /*override*/;
33
34 virtual void writetoJSON(::Json::Value& component) const /*override*/;
35
36 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
37
38 virtual char const* getName() const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI SplashPotionEffectSubcomponent();
45
46 MCAPI void applyMobEffects(
47 ::MobEffectInstance const& effectInst,
48 ::std::vector<::Actor*> const& actors,
49 ::Actor& projectile,
50 ::std::shared_ptr<::Potion const> const& splashRange,
51 float collisionMargin,
52 float effect,
53 ::MobEffect* res,
54 ::HitResult& aux,
55 int currVer,
57 );
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCFOLD void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $readfromJSON(::Json::Value& component);
76
77 MCAPI void $writetoJSON(::Json::Value& component) const;
78
79 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
80
81 MCFOLD char const* $getName() const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition Actor.h:125
Definition BaseGameVersion.h:13
Definition HitResult.h:19
Definition Value.h:16
Definition MobEffectInstance.h:20
Definition MobEffect.h:26
Definition Potion.h:16
Definition ProjectileComponent.h:31
static MCAPI void ** $vftable()