LeviLamina
Loading...
Searching...
No Matches
PropertyGroupManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class CompoundTag;
12class PropertyGroup;
13// clang-format on
14
15class PropertyGroupManager {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::PropertyGroup const>>>
20 mPropertyGroups;
21 // NOLINTEND
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCAPI PropertyGroupManager();
27
28 MCAPI ::CompoundTag getActorPropertyDataTag(::HashedString const& actorCanonicalName) const;
29
30 MCFOLD ::std::unordered_map<::HashedString, ::std::shared_ptr<::PropertyGroup const>> const&
31 getAllPropertyGroups() const;
32
33#ifdef LL_PLAT_C
34 MCAPI void ingestActorPropertyDataTag(::CompoundTag const& propertyData);
35#endif
36
37 MCAPI void registerGroup(::HashedString const& id, ::std::shared_ptr<::PropertyGroup const> group);
38
39 MCAPI void tryInitPropertiesOnActor(::Actor& actor) const;
40
41 MCAPI ~PropertyGroupManager();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor();
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCFOLD void $dtor();
54 // NOLINTEND
55};
Definition Actor.h:125
Definition CompoundTag.h:23
Definition HashedString.h:5
Definition PropertyGroup.h:21