Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TrailComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/actor/ActorFilterGroup.h"
8#include "mc/world/level/block/BlockDescriptor.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BlockType;
14// clang-format on
15
16struct TrailComponent {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::BlockType const*> mReplacementBlock;
21 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mSpawnCondition;
22 ::ll::TypedStorage<4, 12, ::Vec3> mSpawnOffset;
23 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mReplaceableBlocks;
24 ::ll::TypedStorage<4, 4, int> mRadius;
25 ::ll::TypedStorage<1, 1, bool> mForceReplaceMatchedBlocks;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 TrailComponent& operator=(TrailComponent const&);
31 TrailComponent(TrailComponent const&);
32 TrailComponent();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI void initFromDefinition(::Actor const& actor);
38
39 MCNAPI ::TrailComponent& operator=(::TrailComponent&&);
40
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49};
Definition Actor.h:116
Definition BlockType.h:79
MCAPI void initFromDefinition(::Actor const &actor)
MCAPI ~TrailComponent()
MCAPI void $dtor()
MCAPI::TrailComponent & operator=(::TrailComponent &&)