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;
18class 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 ~DisplayActorManager();
62#endif
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68#ifdef LL_PLAT_C
69 MCNAPI void* $ctor(
70 ::std::unique_ptr<::IDisplayActorManagerProxy> displayActorManagerProxy,
71 ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> actorGarbageCollector
72 );
73#endif
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79#ifdef LL_PLAT_C
80 MCNAPI void $dtor();
81#endif
82 // NOLINTEND
83};
Definition ActorGarbageCollector.h:13
Definition Actor.h:106
Definition EntityContext.h:16
Definition IAddDisplayActorEntityProxy.h:10
Definition IDisplayActorManagerProxy.h:10
Definition IPlayerDimensionTransferConnector.h:14
Definition OwnerPtr.h:7
Definition WeakEntityRef.h:14