LeviLamina
Loading...
Searching...
No Matches
DisplayActorManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
8#include "mc/deps/game_refs/OwnerPtr.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
14class EntityContext;
16class WeakEntityRef;
19// clang-format on
20
21class DisplayActorManager {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::OwnerPtr<::EntityContext>>> mDisplayEntities;
26 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::IDisplayActorManagerProxy>>> mDisplayActorManagerProxy;
27 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> const> mActorGarbageCollector;
28 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChangeDimensionSubscription;
29 // NOLINTEND
30
31#ifdef LL_PLAT_S
32#else // LL_PLAT_C
33public:
34 // prevent constructor by default
35 DisplayActorManager();
36
37#endif
38public:
39 // member functions
40 // NOLINTBEGIN
41#ifdef LL_PLAT_C
42 MCNAPI DisplayActorManager(
43 ::std::unique_ptr<::IDisplayActorManagerProxy> displayActorManagerProxy,
44 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
45 );
46
47 MCNAPI void _removeDisplayActorEntity(::OwnerPtr<::EntityContext> entity);
48
49 MCNAPI ::Actor* addDisplayActorEntity(
50 ::IAddDisplayActorEntityProxy& addDisplayActorEntityProxy,
52 );
53
54 MCNAPI void
55 registerWithPlayerDimensionTransferConnector(::IPlayerDimensionTransferConnector& playerDimensionTransferConnector);
56
57 MCNAPI void removeAllDisplayActorEntities();
58
59 MCNAPI bool removeDisplayActorEntity(::WeakEntityRef weakEntityRef);
60
61 MCNAPI void shutdown();
62
63 MCNAPI ~DisplayActorManager();
64#endif
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI void* $ctor(
72 ::std::unique_ptr<::IDisplayActorManagerProxy> displayActorManagerProxy,
73 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
74 );
75#endif
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81#ifdef LL_PLAT_C
82 MCNAPI void $dtor();
83#endif
84 // NOLINTEND
85};
Definition ActorGarbageCollector.h:13
Definition Actor.h:123
Definition EntityContext.h:17
Definition IAddDisplayActorEntityProxy.h:5
Definition IDisplayActorManagerProxy.h:5
Definition IPlayerDimensionTransferConnector.h:8
Definition OwnerPtr.h:7
Definition WeakEntityRef.h:14