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
10
class
Actor
;
11
class
ActorFactory
;
12
class
EntityContext
;
13
class
IAddActorEntityProxy
;
14
class
ILevelChunkEventManagerConnector
;
15
class
ILevelStorageManagerConnector
;
16
class
LevelChunk
;
17
class
LevelStorage
;
18
class
ListTag
;
19
class
WeakEntityRef
;
20
// clang-format on
21
22
class
AutonomousActorManager
{
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::UntypedStorage<8, 24>
mUnkf06aa6;
27
::ll::UntypedStorage<8, 24>
mUnk45dc81;
28
::ll::UntypedStorage<8, 24>
mUnkcc0197;
29
::ll::UntypedStorage<8, 16>
mUnkb23f8a;
30
::ll::UntypedStorage<8, 16>
mUnk76fda5;
31
::ll::UntypedStorage<8, 16>
mUnk2b39de;
32
::ll::UntypedStorage<8, 16>
mUnka42bc5;
33
::ll::UntypedStorage<8, 16>
mUnkaa510c;
34
::ll::UntypedStorage<8, 16>
mUnkd0dfa5;
35
// NOLINTEND
36
37
public
:
38
// prevent constructor by default
39
AutonomousActorManager
& operator=(
AutonomousActorManager
const
&);
40
AutonomousActorManager
(
AutonomousActorManager
const
&);
41
AutonomousActorManager
();
42
43
public
:
44
// member functions
45
// NOLINTBEGIN
46
MCNAPI
void
_moveActiveAutonomousActorEntityToInactive
(
::Actor
& actor,
::LevelChunk
& levelChunk);
47
48
MCNAPI
void
_onChunkDiscarded
(
::LevelChunk
& levelChunk);
49
50
MCNAPI
void
_onChunkLoaded
(
::LevelChunk
& levelChunk);
51
52
MCNAPI
void
_onRemoveActorEntityReferences
(
::Actor
& actor);
53
54
MCNAPI
void
_saveAllAutonomousActors
(
::LevelStorage
& levelStorage);
55
56
MCNAPI ::Actor*
57
addAutonomousActorEntity
(
::IAddActorEntityProxy
& addActorEntityProxy,
::OwnerPtr<::EntityContext>
entity);
58
59
MCNAPI
void
loadAutonomousActorsFromDisk
(
::LevelStorage
& levelStorage,
::ActorFactory
& actorFactory);
60
61
MCNAPI
void
registerForLevelChunkEvents
(
::ILevelChunkEventManagerConnector
& levelChunkEventManagerConnector);
62
63
MCNAPI
void
registerLevelStorageManagerListener
(
::ILevelStorageManagerConnector
& levelStorageManagerConnector);
64
65
MCNAPI
bool
removeActiveAutonomousActorEntity
(
::WeakEntityRef
weakEntityRef);
66
67
MCNAPI
~AutonomousActorManager
();
68
// NOLINTEND
69
70
public
:
71
// static functions
72
// NOLINTBEGIN
73
MCNAPI
static
void
_deduplicateDuplicateActorsFromList
(
::ListTag
& listTag);
74
// NOLINTEND
75
76
public
:
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
84
public
:
85
// destructor thunk
86
// NOLINTBEGIN
87
MCNAPI
void
$dtor
();
88
// NOLINTEND
89
};
ActorFactory
Definition
ActorFactory.h:34
Actor
Definition
Actor.h:103
AutonomousActorManager
Definition
AutonomousActorManager.h:22
AutonomousActorManager::_onChunkDiscarded
MCAPI void _onChunkDiscarded(::LevelChunk &levelChunk)
AutonomousActorManager::addAutonomousActorEntity
MCAPI::Actor * addAutonomousActorEntity(::IAddActorEntityProxy &addActorEntityProxy, ::OwnerPtr<::EntityContext > entity)
AutonomousActorManager::registerLevelStorageManagerListener
MCAPI void registerLevelStorageManagerListener(::ILevelStorageManagerConnector &levelStorageManagerConnector)
AutonomousActorManager::_onChunkLoaded
MCAPI void _onChunkLoaded(::LevelChunk &levelChunk)
AutonomousActorManager::_moveActiveAutonomousActorEntityToInactive
MCAPI void _moveActiveAutonomousActorEntityToInactive(::Actor &actor, ::LevelChunk &levelChunk)
AutonomousActorManager::registerForLevelChunkEvents
MCAPI void registerForLevelChunkEvents(::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)
AutonomousActorManager::loadAutonomousActorsFromDisk
MCAPI void loadAutonomousActorsFromDisk(::LevelStorage &levelStorage, ::ActorFactory &actorFactory)
AutonomousActorManager::_deduplicateDuplicateActorsFromList
static MCAPI void _deduplicateDuplicateActorsFromList(::ListTag &listTag)
AutonomousActorManager::AUTONOMOUS_ACTOR_KEY
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_KEY()
AutonomousActorManager::_onRemoveActorEntityReferences
MCAPI void _onRemoveActorEntityReferences(::Actor &actor)
AutonomousActorManager::AUTONOMOUS_ACTOR_LIST_KEY
static MCAPI ::std::string_view const & AUTONOMOUS_ACTOR_LIST_KEY()
AutonomousActorManager::$dtor
MCAPI void $dtor()
AutonomousActorManager::~AutonomousActorManager
MCAPI ~AutonomousActorManager()
AutonomousActorManager::removeActiveAutonomousActorEntity
MCAPI bool removeActiveAutonomousActorEntity(::WeakEntityRef weakEntityRef)
AutonomousActorManager::_saveAllAutonomousActors
MCAPI void _saveAllAutonomousActors(::LevelStorage &levelStorage)
EntityContext
Definition
EntityContext.h:16
IAddActorEntityProxy
Definition
IAddActorEntityProxy.h:10
ILevelChunkEventManagerConnector
Definition
ILevelChunkEventManagerConnector.h:14
ILevelStorageManagerConnector
Definition
ILevelStorageManagerConnector.h:13
LevelChunk
Definition
LevelChunk.h:74
LevelStorage
Definition
LevelStorage.h:25
ListTag
Definition
ListTag.h:12
OwnerPtr
Definition
OwnerPtr.h:7
WeakEntityRef
Definition
WeakEntityRef.h:14
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
AutonomousActorManager.h
Generated on Wed Aug 27 2025 11:40:32 for LeviLamina by
1.12.0