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
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, int> mPotionEffect;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 0
31 virtual ~SplashPotionEffectSubcomponent() /*override*/ = default;
32
33 // vIndex: 1
34 virtual void readfromJSON(::Json::Value& component) /*override*/;
35
36 // vIndex: 2
37 virtual void writetoJSON(::Json::Value&) const /*override*/;
38
39 // vIndex: 3
40 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
41
42 // vIndex: 4
43 virtual char const* getName() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI void applyMobEffects(
50 ::MobEffectInstance const& effectInst,
51 ::std::vector<::Actor*> const& actors,
52 ::Actor& projectile,
53 ::std::shared_ptr<::Potion const> const&,
54 float splashRange,
55 float collisionMargin,
56 ::MobEffect* effect,
57 ::HitResult& res,
58 int aux,
59 ::BaseGameVersion const& currVer
60 );
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI void $readfromJSON(::Json::Value& component);
67
68 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
69 // NOLINTEND
70};
Definition Actor.h:103
Definition BaseGameVersion.h:8
Definition HitResult.h:19
Definition Value.h:16
Definition MobEffectInstance.h:15
Definition MobEffect.h:27
Definition OnHitSubcomponent.h:12
Definition Potion.h:14
Definition ProjectileComponent.h:30
Definition SplashPotionEffectSubcomponent.h:20