LeviLamina
Loading...
Searching...
No Matches
AutonomousActorManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/OwnerPtr.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ActorFactory;
12class EntityContext;
16class LevelChunk;
17class LevelStorage;
18class ListTag;
19class WeakEntityRef;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
42
43public:
44 // member functions
45 // NOLINTBEGIN
47
48 MCNAPI void _onChunkDiscarded(::LevelChunk& levelChunk);
49
50 MCNAPI void _onChunkLoaded(::LevelChunk& levelChunk);
51
53
54 MCNAPI void _saveAllAutonomousActors(::LevelStorage& levelStorage);
55
56 MCNAPI ::Actor*
58
59 MCNAPI void loadAutonomousActorsFromDisk(::LevelStorage& levelStorage, ::ActorFactory& actorFactory);
60
61 MCNAPI void registerForLevelChunkEvents(::ILevelChunkEventManagerConnector& levelChunkEventManagerConnector);
62
63 MCNAPI void registerLevelStorageManagerListener(::ILevelStorageManagerConnector& levelStorageManagerConnector);
64
66
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCNAPI static void _deduplicateDuplicateActorsFromList(::ListTag& listTag);
74 // NOLINTEND
75
76public:
77 // static variables
78 // NOLINTBEGIN
79 MCNAPI static ::std::string_view const& AUTONOMOUS_ACTOR_KEY();
80
81 MCNAPI static ::std::string_view const& AUTONOMOUS_ACTOR_LIST_KEY();
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89};
Definition ActorFactory.h:34
Definition Actor.h:103
Definition AutonomousActorManager.h:22
MCAPI void _onChunkDiscarded(::LevelChunk &levelChunk)
MCAPI::Actor * addAutonomousActorEntity(::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
MCAPI void registerLevelStorageManagerListener(::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI void _onChunkLoaded(::LevelChunk &levelChunk)
MCAPI void _moveActiveAutonomousActorEntityToInactive(::Actor &actor, ::LevelChunk &levelChunk)
MCAPI void registerForLevelChunkEvents(::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)
MCAPI void loadAutonomousActorsFromDisk(::LevelStorage &levelStorage, ::ActorFactory &actorFactory)
static MCAPI void _deduplicateDuplicateActorsFromList(::ListTag &listTag)
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_KEY()
MCAPI void _onRemoveActorEntityReferences(::Actor &actor)
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_LIST_KEY()
MCAPI bool removeActiveAutonomousActorEntity(::WeakEntityRef weakEntityRef)
MCAPI void _saveAllAutonomousActors(::LevelStorage &levelStorage)
Definition EntityContext.h:16
Definition IAddActorEntityProxy.h:10
Definition ILevelChunkEventManagerConnector.h:14
Definition ILevelStorageManagerConnector.h:13
Definition LevelChunk.h:74
Definition LevelStorage.h:25
Definition ListTag.h:12
Definition OwnerPtr.h:7
Definition WeakEntityRef.h:14
Definition Alias.h:14