LeviLamina
Loading...
Searching...
No Matches
ScriptItemType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/WeakPtr.h"
7
8// auto generated forward declare list
9// clang-format off
10class Item;
11namespace Scripting { struct ClassBinding; }
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
17public:
18 // ScriptItemType inner types define
19 using Key = ::std::string;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::WeakPtr<::Item const>> mItem;
25 // NOLINTEND
26
27#ifdef LL_PLAT_S
28public:
29 // prevent constructor by default
31
32#else // LL_PLAT_C
33#endif
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_S
38 MCAPI explicit ScriptItemType(::WeakPtr<::Item const> item);
39#endif
40
41 MCFOLD ::Item const& getItem() const;
42
43 MCFOLD ::WeakPtr<::Item const> const& getItemWeakPtr() const;
44
45 MCAPI ::std::string getName() const;
46
47#ifdef LL_PLAT_S
48 MCAPI bool operator==(::ScriptModuleMinecraft::ScriptItemType const& other) const;
49#endif
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::Scripting::ClassBinding bind();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61#ifdef LL_PLAT_S
62 MCAPI void* $ctor(::WeakPtr<::Item const> item);
63#endif
64 // NOLINTEND
65};
66
67} // namespace ScriptModuleMinecraft
Definition Item.h:71
Definition ScriptItemType.h:16
Definition WeakPtr.h:10
Definition ClassBinding.h:19