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();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI ItemData(::ItemData&&);
34
35 MCAPI ItemData(::ItemData const& other);
36
37 MCAPI ::ItemData& operator=(::ItemData&&);
38
39 MCAPI ::ItemData& operator=(::ItemData const& other);
40
41 MCAPI bool operator==(::ItemData const&) const;
42
43 MCAPI ~ItemData();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static ::std::vector<::ItemData> fromItemRegistry(::ItemRegistryRef itemRegistry);
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::ItemData&&);
56
57 MCAPI void* $ctor(::ItemData const& other);
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCAPI void $dtor();
64 // NOLINTEND
65};
Definition ItemRegistryRef.h:36