LeviLamina
Loading...
Searching...
No Matches
PlayerLimboActorManager.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
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ActorFactory;
12class ActorManager;
13class CompoundTag;
16class LevelStorage;
17class Vec3;
18struct ActorUniqueID;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ActorUniqueID, ::std::vector<::std::unique_ptr<::CompoundTag>>>>
26 mOwnedActorsDimensionTransferLimbo;
27 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelStorage> const> mLevelStorage;
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorManager>> mActorManager;
29 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> const> mActorFactory;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
35
36public:
37 // member functions
38 // NOLINTBEGIN
40 ::Bedrock::NotNullNonOwnerPtr<::LevelStorage> levelStorage,
41 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
42 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
43 );
44
45 MCAPI void clearOwnedEntityLimboForPlayer(::ActorUniqueID playerId);
46
47 MCAPI void loadAllOwnedLimboActors();
48
49 MCAPI ::Actor* processOwnedAgentForPlayer(
50 ::CompoundTag& agentCompoundTag,
51 ::IAddActorEntityProxy& addActorEntityProxy,
52 ::DimensionHeightRange const& heightRange,
53 ::Vec3 const& spawnPosition
54 );
55
56 MCAPI void processOwnedEntityLimboForPlayer(
57 ::ActorUniqueID playerId,
58 ::IAddActorEntityProxy& addActorEntityProxy,
59 ::DimensionHeightRange const& heightRange,
60 ::Vec3 const& spawnPosition
61 );
62
63 MCAPI void saveOwnedLimboActorsForPlayer(::ActorUniqueID playerId) const;
64
66 // NOLINTEND
67
68public:
69 // static functions
70 // NOLINTBEGIN
71 MCAPI static ::std::string getOwnedEntityLimboStorageKeyForPlayer(::ActorUniqueID playerId);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(
78 ::Bedrock::NotNullNonOwnerPtr<::LevelStorage> levelStorage,
79 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
80 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCAPI void $dtor();
88 // NOLINTEND
89};
Definition ActorFactory.h:33
Definition ActorManager.h:32
Definition Actor.h:102
Definition CompoundTag.h:13
Definition DimensionHeightRange.h:5
Definition IAddActorEntityProxy.h:10
Definition LevelStorage.h:25
Definition PlayerLimboActorManager.h:21
Definition Vec3.h:10
Definition ActorUniqueID.h:5