Skip to content
LeviMC
English
AutoLightDark
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
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 MCNAPI ::CompoundTag getActorPropertyDataTag(::HashedString const& actorCanonicalName) const;
27
28#ifdef LL_PLAT_C
29 MCNAPI void ingestActorPropertyDataTag(::CompoundTag const& propertyData);
30#endif
31
32 MCNAPI void registerGroup(::HashedString const& id, ::std::shared_ptr<::PropertyGroup const> group);
33
34 MCNAPI void tryInitPropertiesOnActor(::Actor& actor) const;
35
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42 MCNAPI void $dtor();
43 // NOLINTEND
44};
Definition Actor.h:116
Definition CompoundTag.h:18
Definition HashedString.h:5
Definition PropertyGroupManager.h:15
MCAPI ~PropertyGroupManager()
MCAPI void $dtor()
MCAPI void tryInitPropertiesOnActor(::Actor &actor) const
MCAPI::CompoundTag getActorPropertyDataTag(::HashedString const &actorCanonicalName) const
MCAPI void registerGroup(::HashedString const &id, ::std::shared_ptr<::PropertyGroup const > group)
Definition PropertyGroup.h:20