LeviLamina
Loading...
Searching...
No Matches
PropertyContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/state/PropertyValues.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class HashedString;
12class PropertyGroup;
14class RenderParams;
15class Tag;
16struct MolangScriptArg;
17struct PropertySyncData;
18struct PropertyValues;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::PropertyGroup const>>> mPropertyGroup;
26 ::ll::TypedStorage<8, 104, ::PropertyValues> mValues;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
32
33public:
34 // member functions
35 // NOLINTBEGIN
37 ::gsl::not_null<::std::shared_ptr<::PropertyGroup const>> propertyGroup,
38 ::RenderParams& renderParams
39 );
40
41 MCAPI bool _readValueFromTag(::PropertyMetadata const& propertyMetadata, ::Tag const& tag);
42
43 MCAPI void addAdditionalSaveDataToCompoundTag(::CompoundTag& compoundTag) const;
44
45 MCAPI void addEntryToSyncData(::PropertyMetadata const& propMetadata, ::PropertySyncData& syncData) const;
46
47 MCAPI bool getMolangValue(uint64 propertyNameHash, ::MolangScriptArg& out) const;
48
49 MCAPI void setAliasProperties(
50 ::std::unordered_map<::HashedString, ::std::shared_ptr<::Tag>> const& aliasProperties,
51 ::std::string const& aliasName,
52 ::std::string const& canonicalName
53 );
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void*
60 $ctor(::gsl::not_null<::std::shared_ptr<::PropertyGroup const>> propertyGroup, ::RenderParams& renderParams);
61 // NOLINTEND
62};
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition PropertyContainer.h:21
Definition PropertyGroup.h:21
Definition PropertyMetadata.h:8
Definition RenderParams.h:30
Definition Tag.h:39
Definition MolangScriptArg.h:33
Definition PropertySyncData.h:5
Definition PropertyValues.h:5