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 cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace SharedTypes::v1_20_20 {
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_19_40::ItemCategory::CreativeItemCategory>>
20 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_19_40::ItemCategory::CreativeItemCategory>& oldData,
32 ::std::optional<::SharedTypes::v1_20_20::ItemMenuCategory>& newData
33 );
34 // NOLINTEND
35};
36
37} // namespace SharedTypes::v1_20_20
Definition ItemMenuCategory.h:15
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI void upgrade(::std::optional<::SharedTypes::v1_19_40::ItemCategory::CreativeItemCategory > &oldData, ::std::optional<::SharedTypes::v1_20_20::ItemMenuCategory > &newData)
Definition ReflectionCtx.h:11
Definition ctx.h:5