LeviLamina
Loading...
Searching...
No Matches
ComponentItemMenuCategoryData_v1_20_20.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
13struct ComponentItemMenuCategoryData_v1_20_20 {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_19_40::ItemCategory::CreativeItemCategory>>
18 mCreativeCategory;
19 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mCreativeGroupName;
20 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsHiddenInCommands;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 ComponentItemMenuCategoryData_v1_20_20& operator=(ComponentItemMenuCategoryData_v1_20_20 const&);
26 ComponentItemMenuCategoryData_v1_20_20(ComponentItemMenuCategoryData_v1_20_20 const&);
27 ComponentItemMenuCategoryData_v1_20_20();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ::ComponentItemMenuCategoryData_v1_20_20& operator=(::ComponentItemMenuCategoryData_v1_20_20&&);
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
39
40 MCAPI static void upgrade(
41 ::std::optional<::SharedTypes::v1_19_40::ItemCategory::CreativeItemCategory>& oldData,
42 ::std::optional<::ComponentItemMenuCategoryData_v1_20_20>& newData
43 );
44 // NOLINTEND
45};
Definition ReflectionCtx.h:11
Definition ctx.h:5