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
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI SpawnActorParameters();
36
37 MCAPI SpawnActorParameters(::SpawnActorParameters&&);
38
39 MCAPI SpawnActorParameters(::SpawnActorParameters const&);
40
41 MCAPI void setItem(::ItemDescriptor const& itemDescriptor);
42
43 MCAPI void setSpawnEntity(::std::string const& name);
44
45 MCAPI void setSpawnEvent(::std::string const& name);
46
47 MCAPI void setSpawnSound(::std::string const& name);
48
49 MCAPI void setSpawnTimeMax(int const& value);
50
51 MCAPI void setSpawnTimeMin(int const& value);
52
53 MCAPI ~SpawnActorParameters();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor();
60
61 MCAPI void* $ctor(::SpawnActorParameters&&);
62
63 MCAPI void* $ctor(::SpawnActorParameters const&);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71};
Definition ItemDescriptor.h:24