Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ItemMenuCategory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_19_40/item/ItemCategory.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace SharedTypes::v1_20_20 { struct ItemMenuCategory; }
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14namespace SharedTypes::v1_21_60 {
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_19_40::ItemCategory::CreativeItemCategory> mCreativeCategory;
21 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mCreativeGroupName;
22 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsHiddenInCommands;
23 // NOLINTEND
24
25public:
26 // static functions
27 // NOLINTBEGIN
28 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
29
30 MCNAPI static void upgrade(
31 ::std::optional<::SharedTypes::v1_20_20::ItemMenuCategory>& oldData,
33 );
34 // NOLINTEND
35};
36
37} // namespace SharedTypes::v1_21_60
Definition ItemMenuCategory.h:15
Definition ItemMenuCategory.h:16
static MCAPI void upgrade(::std::optional<::SharedTypes::v1_20_20::ItemMenuCategory > &oldData, ::SharedTypes::v1_21_60::ItemMenuCategory &newData)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5