LeviLamina
Loading...
Searching...
No Matches
TickWorldComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class ITickingArea;
9// clang-format on
10
11class TickWorldComponent {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, uint> mChunkRadius;
16 ::ll::TypedStorage<4, 4, float> mMaxDistToPlayers;
17 ::ll::TypedStorage<1, 1, bool> mAlwaysActive;
18 ::ll::TypedStorage<1, 1, bool> mChanged;
19 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ITickingArea>> mTickingArea;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 TickWorldComponent& operator=(TickWorldComponent const&);
25 TickWorldComponent(TickWorldComponent const&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI TickWorldComponent();
31
32 MCAPI TickWorldComponent(::TickWorldComponent&& other);
33
34 MCFOLD uint getChunkRadius() const;
35
36 MCFOLD float getMaxDistToPlayers() const;
37
38 MCAPI ::std::shared_ptr<::ITickingArea> getTickingArea();
39
40 MCAPI bool hasTickingArea() const;
41
42 MCAPI void initFromDefinition(::Actor& owner);
43
44 MCFOLD bool isAlwaysActive() const;
45
46 MCAPI ::TickWorldComponent& operator=(::TickWorldComponent&& other);
47
48 MCAPI void removeArea();
49
50 MCAPI void setTickingArea(::Actor& owner, ::std::shared_ptr<::ITickingArea> tickingArea);
51
52 MCAPI void updateArea(::Actor& owner);
53
54 MCAPI ~TickWorldComponent();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor();
61
62 MCAPI void* $ctor(::TickWorldComponent&& other);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition Actor.h:125
Definition ITickingArea.h:25