LeviLamina
Loading...
Searching...
No Matches
SpawnActorParameters.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorDefinitionTrigger.h"
8#include "mc/world/actor/ActorFilterGroup.h"
9#include "mc/world/item/ItemDescriptor.h"
10
11struct SpawnActorParameters {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, int> mSpawnTimeMin;
16 ::ll::TypedStorage<4, 4, int> mSpawnTimeMax;
17 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSpawnSound;
18 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mItemDescriptor;
19 ::ll::TypedStorage<8, 32, ::std::string> mEntityDefinition;
20 ::ll::TypedStorage<8, 32, ::std::string> mSpawnMethod;
21 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnItemSpawnEvent;
22 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
23 ::ll::TypedStorage<1, 1, bool> mSingleUse;
24 ::ll::TypedStorage<1, 1, bool> mShouldLeash;
25 ::ll::TypedStorage<4, 4, int> mNumToSpawn;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 SpawnActorParameters& operator=(SpawnActorParameters const&);
31 SpawnActorParameters();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI SpawnActorParameters(::SpawnActorParameters&&);
37
38 MCAPI SpawnActorParameters(::SpawnActorParameters const&);
39
40 MCAPI void setItem(::ItemDescriptor const& itemDescriptor);
41
42 MCAPI void setSpawnEntity(::std::string const& name);
43
44 MCAPI void setSpawnEvent(::std::string const& name);
45
46 MCAPI void setSpawnSound(::std::string const& name);
47
48 MCAPI void setSpawnTimeMax(int const& value);
49
50 MCAPI void setSpawnTimeMin(int const& value);
51
52 MCAPI bool spawnsItemStack() const;
53
54 MCAPI ~SpawnActorParameters();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::SpawnActorParameters&&);
61
62 MCAPI void* $ctor(::SpawnActorParameters const&);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition ItemDescriptor.h:25