LeviLamina
Loading...
Searching...
No Matches
ImpactDamageSubcomponent.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/util/FloatRange.h"
8#include "mc/world/actor/ActorType.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 8, ::FloatRange> mProjectileDamage;
22 ::ll::TypedStorage<4, 4, ::ActorType> mFilter;
23 ::ll::TypedStorage<1, 1, bool> mCatchFire;
24 ::ll::TypedStorage<1, 1, bool> mChanneling;
25 ::ll::TypedStorage<1, 1, bool> mKnockback;
26 ::ll::TypedStorage<1, 1, bool> mSemiRandomDiffDamage;
27 ::ll::TypedStorage<1, 1, bool> mDestroyOnHit;
28 ::ll::TypedStorage<1, 1, bool> mRegisterLastHurtRequiresDamage;
29 ::ll::TypedStorage<1, 1, bool> mDestroyOnHitRequiresDamage;
30 ::ll::TypedStorage<1, 1, bool> mApplyKnockbackToBlockingTargets;
31 ::ll::TypedStorage<4, 4, int> mMaxCriticalDamage;
32 ::ll::TypedStorage<4, 4, int> mMinCriticalDamage;
33 ::ll::TypedStorage<4, 4, float> mPowMultiplier;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~ImpactDamageSubcomponent() /*override*/ = default;
40
41 virtual void readfromJSON(::Json::Value& component) /*override*/;
42
43 virtual void writetoJSON(::Json::Value& component) const /*override*/;
44
45 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
46
47 virtual char const* getName() const /*override*/;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $readfromJSON(::Json::Value& component);
54
55 MCAPI void $writetoJSON(::Json::Value& component) const;
56
57 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
58
59 MCAPI char const* $getName() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition Actor.h:106
Definition ImpactDamageSubcomponent.h:17
static MCAPI void ** $vftable()
Definition Value.h:16
Definition OnHitSubcomponent.h:12
Definition ProjectileComponent.h:30