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 HitResult;
12class MobEffect;
14class Potion;
16namespace Json { class Value; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~SplashPotionEffectSubcomponent() /*override*/ = default;
37
38 // vIndex: 1
39 virtual void readfromJSON(::Json::Value& component) /*override*/;
40
41 // vIndex: 2
42 virtual void writetoJSON(::Json::Value&) const /*override*/;
43
44 // vIndex: 3
45 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
46
47 // vIndex: 4
48 virtual char const* getName() /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI void applyMobEffects(
55 ::MobEffectInstance const& effectInst,
56 ::std::vector<::Actor*> const& actors,
57 ::Actor& projectile,
58 ::std::shared_ptr<::Potion const> const& splashRange,
59 float effect,
60 ::MobEffect* res,
61 ::HitResult& aux,
62 int
63 );
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $readfromJSON(::Json::Value& component);
76
77 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
78 // NOLINTEND
79};
Definition Actor.h:104
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:19
Definition Alias.h:14