LeviLamina
Loading...
Searching...
No Matches
HurtOwnerSubcomponent.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;
12namespace Json { class Value; }
13namespace SharedTypes::v1_26_50 { struct ProjectileOnHitSubcomponent; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mOwnerDamage;
21 ::ll::TypedStorage<1, 1, bool> mKnockback;
22 ::ll::TypedStorage<1, 1, bool> mIgnite;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual void initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component) /*override*/;
29
30 virtual void writetoJSON(::Json::Value& component) const /*override*/;
31
32 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent&) /*override*/;
33
34 virtual char const* getName() const /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCAPI void $initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component);
41
42 MCAPI void $writetoJSON(::Json::Value& component) const;
43
44 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent&);
45
46 MCAPI char const* $getName() const;
47
48
49 // NOLINTEND
50};
Definition Actor.h:113
Definition HurtOwnerSubcomponent.h:16
Definition Value.h:16
Definition OnHitSubcomponent.h:13
Definition ProjectileComponent.h:30
Definition ProjectileOnHitSubcomponent.h:7