Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SpawnAoECloudSubcomponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/core/math/Color.h"
8#include "mc/entity/components_json_legacy/OnHitSubcomponent.h"
9#include "mc/world/effect/EffectDuration.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
15namespace Json { class Value; }
16namespace SharedTypes::v1_26_50 { struct ProjectileOnHitSubcomponent; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mPotionId;
24 ::ll::TypedStorage<4, 4, ::EffectDuration> mDuration;
25 ::ll::TypedStorage<4, 4, ::ParticleType> mParticle;
26 ::ll::TypedStorage<4, 4, int> mReapplicationDelay;
27 ::ll::TypedStorage<4, 4, float> mRadius;
28 ::ll::TypedStorage<4, 4, float> mRadiusOnUse;
29 ::ll::TypedStorage<4, 16, ::mce::Color> mParticleColor;
30 ::ll::TypedStorage<1, 1, bool> mAffectOwner;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component) /*override*/;
37
38 virtual void writetoJSON(::Json::Value& component) const /*override*/;
39
40 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent&) /*override*/;
41
42 virtual char const* getName() const /*override*/;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
49
50 MCNAPI void $writetoJSON(::Json::Value& component) const;
51
53
54 MCNAPI char const* $getName() const;
55
56
57 // NOLINTEND
58};
Definition Actor.h:116
Definition Value.h:16
Definition OnHitSubcomponent.h:13
Definition ProjectileComponent.h:30
Definition SpawnAoECloudSubcomponent.h:19
MCAPI char const * $getName() const
MCAPI void $writetoJSON(::Json::Value &component) const
MCAPI void $initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const &component)
MCAPI void $doOnHitEffect(::Actor &owner, ::ProjectileComponent &)
Definition ProjectileOnHitSubcomponent.h:7