LeviLamina
Loading...
Searching...
No Matches
MobEffectSubcomponent.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#include "mc/world/effect/MobEffectInstance.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
13namespace Json { class Value; }
14// clang-format on
15
16class MobEffectSubcomponent : public ::OnHitSubcomponent {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::MobEffectInstance>> mMobEffects;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~MobEffectSubcomponent() /*override*/;
27
28 virtual void readfromJSON(::Json::Value& component) /*override*/;
29
30 virtual void writetoJSON(::Json::Value& component) const /*override*/;
31
32 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
33
34 virtual char const* getName() const /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI MobEffectSubcomponent();
41
42 MCAPI void _addEffectFromJSON(::Json::Value& component);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor();
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI void $readfromJSON(::Json::Value& component);
61
62 MCAPI void $writetoJSON(::Json::Value& component) const;
63
64 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
65
66 MCAPI char const* $getName() const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition Actor.h:125
Definition Value.h:16
static MCAPI void ** $vftable()
Definition ProjectileComponent.h:31