Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ParticleOnHitSubcomponent.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/entity/components_json_legacy/OnHitSubcomponent.h"
8#include "mc/platform/brstd/flat_map.h"
9
10// auto generated forward declare list
11// clang-format off
12class 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<
24 8,
25 48,
27 ::std::string,
29 ::std::less<::std::string>,
30 ::std::vector<::std::string>,
31 ::std::vector<::ActorFilterGroup>>>
32 mParticleItemName;
33 ::ll::TypedStorage<4, 4, ::ParticleType> mParticleType;
34 ::ll::TypedStorage<4, 4, int> mNumParticles;
35 ::ll::TypedStorage<1, 1, bool> mOnEntityHit;
36 ::ll::TypedStorage<1, 1, bool> mOnOtherHit;
37 // NOLINTEND
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual void initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component) /*override*/;
43
44 virtual void writetoJSON(::Json::Value& component) const /*override*/;
45
46 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
47
48 virtual char const* getName() const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
55
56 MCNAPI void $writetoJSON(::Json::Value& component) const;
57
58 MCNAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
59
60 MCNAPI char const* $getName() const;
61
62
63 // NOLINTEND
64};
Definition ActorFilterGroup.h:19
Definition Actor.h:116
Definition Value.h:16
Definition OnHitSubcomponent.h:13
Definition ParticleOnHitSubcomponent.h:19
MCAPI void $initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const &component)
MCAPI char const * $getName() const
MCAPI void $writetoJSON(::Json::Value &component) const
MCAPI void $doOnHitEffect(::Actor &owner, ::ProjectileComponent &component)
Definition ProjectileComponent.h:30
Definition flat_map.h:15
Definition ProjectileOnHitSubcomponent.h:7