Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ArmorTrimIconGenerationInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceLocation.h"
7
8class ArmorTrimIconGenerationInfo {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 32, ::std::string> mTrimmedArmorName;
13 ::ll::TypedStorage<8, 56, ::ResourceLocation> mArmorTextureLocation;
14 ::ll::TypedStorage<8, 56, ::ResourceLocation> mTrimTextureLocation;
15 ::ll::TypedStorage<8, 56, ::ResourceLocation> mTrimmedArmorLocation;
16 ::ll::TypedStorage<8, 56, ::ResourceLocation> mTrimKeyPaletteLocation;
17 ::ll::TypedStorage<8, 56, ::ResourceLocation> mTrimValuePaletteLocation;
18 ::ll::TypedStorage<1, 1, bool> mIsLeatherArmor;
19 ::ll::TypedStorage<1, 1, bool> mIsValid;
20 // NOLINTEND
21
22#ifdef LL_PLAT_S
23#else // LL_PLAT_C
24public:
25 // prevent constructor by default
26 ArmorTrimIconGenerationInfo();
27
28#endif
29public:
30 // member functions
31 // NOLINTBEGIN
32#ifdef LL_PLAT_C
33 MCNAPI ArmorTrimIconGenerationInfo(
34 ::std::string const& armorName,
35 ::std::string const& armorType,
36 ::ResourceLocation const& armorTextureLocation,
37 ::ResourceLocation const& trimTextureLocation,
38 ::std::string const& armorMaterial,
39 ::std::string const& trimMaterial,
40 ::std::string const& trimPalette
41 );
42#endif
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static ::std::string
49 buildTrimmedArmorName(::std::string const& trimMaterial, ::std::string const& armorName);
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55#ifdef LL_PLAT_C
56 MCNAPI void* $ctor(
57 ::std::string const& armorName,
58 ::std::string const& armorType,
59 ::ResourceLocation const& armorTextureLocation,
60 ::ResourceLocation const& trimTextureLocation,
61 ::std::string const& armorMaterial,
62 ::std::string const& trimMaterial,
63 ::std::string const& trimPalette
64 );
65#endif
66 // NOLINTEND
67};
static MCAPI ::std::string buildTrimmedArmorName(::std::string const &trimMaterial, ::std::string const &armorName)
Definition ResourceLocation.h:15