LeviLamina
Loading...
Searching...
No Matches
ItemData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/nbt/CompoundTag.h"
8#include "mc/world/item/registry/ItemVersion.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemRegistryRef;
13// clang-format on
14
15struct ItemData {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 48, ::HashedString> mName;
20 ::ll::TypedStorage<2, 2, short> mId;
21 ::ll::TypedStorage<1, 1, bool> mIsComponentBased;
22 ::ll::TypedStorage<4, 4, ::ItemVersion> mItemVersion;
23 ::ll::TypedStorage<8, 24, ::CompoundTag> mComponentData;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ItemData& operator=(ItemData const&);
29 ItemData();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ItemData(::ItemData&&);
35
36 MCAPI ItemData(::ItemData const& other);
37
38 MCAPI ::ItemData& operator=(::ItemData&&);
39
40 MCAPI bool operator==(::ItemData const&) const;
41
42 MCAPI ~ItemData();
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::std::vector<::ItemData> fromItemRegistry(::ItemRegistryRef itemRegistry);
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::ItemData&&);
55
56 MCAPI void* $ctor(::ItemData const& other);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64};
Definition ItemRegistryRef.h:34
Definition ItemData.h:15