LeviLamina
Loading...
Searching...
No Matches
SpawnChanceSubcomponent.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/world/actor/ActorDefinitionIdentifier.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
14namespace Json { class Value; }
15namespace SharedTypes::v1_26_50 { struct ProjectileOnHitSubcomponent; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mSpawnDefinition;
23 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionTrigger>> mSpawnTriggers;
24 ::ll::TypedStorage<4, 4, float> mFirstSpawnChance;
25 ::ll::TypedStorage<4, 4, float> mSecondSpawnChance;
26 ::ll::TypedStorage<4, 4, int> mFirstSpawnCount;
27 ::ll::TypedStorage<4, 4, int> mSecondSpawnCount;
28 ::ll::TypedStorage<1, 1, bool> mSpawnBaby;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component) /*override*/;
35
36 virtual void writetoJSON(::Json::Value& component) const /*override*/;
37
38 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent&) /*override*/;
39
40 virtual char const* getName() const /*override*/;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI void $initFromDefinition(::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const& component);
47
48 MCAPI void $writetoJSON(::Json::Value& component) const;
49
50 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent&);
51
52 MCAPI char const* $getName() const;
53
54
55 // NOLINTEND
56};
Definition ActorDefinitionTrigger.h:14
Definition Actor.h:113
Definition Value.h:16
Definition OnHitSubcomponent.h:13
Definition ProjectileComponent.h:30
Definition SpawnChanceSubcomponent.h:18
Definition ProjectileOnHitSubcomponent.h:7