LeviLamina
Loading...
Searching...
No Matches
OnHitSubcomponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
9namespace Json { class Value; }
10// clang-format on
11
13public:
14 // virtual functions
15 // NOLINTBEGIN
16 virtual ~OnHitSubcomponent() = default;
17
18 virtual void readfromJSON(::Json::Value& component) = 0;
19
20 virtual void writetoJSON(::Json::Value& component) const = 0;
21
22 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) = 0;
23
24 virtual char const* getName() const;
25 // NOLINTEND
26
27public:
28 // static functions
29 // NOLINTBEGIN
30 MCAPI static bool _canAttack(::Actor* projectileOwnerActor, ::Actor* hitActor);
31 // NOLINTEND
32};
Definition Actor.h:114
Definition Value.h:16
Definition OnHitSubcomponent.h:12
Definition ProjectileComponent.h:31