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
10
class
Item
;
11
namespace
Scripting {
struct
ClassBinding
; }
12
// clang-format on
13
14
namespace
ScriptModuleMinecraft {
15
16
class
ScriptItemType
{
17
public
:
18
// ScriptItemType inner types define
19
using
Key = ::std::string;
20
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 8, ::WeakPtr<::Item const>> mItem;
25
// NOLINTEND
26
27
#ifdef LL_PLAT_S
28
public
:
29
// prevent constructor by default
30
ScriptItemType
();
31
32
#else
// LL_PLAT_C
33
#endif
34
public
:
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
52
public
:
53
// static functions
54
// NOLINTBEGIN
55
MCAPI static ::Scripting::ClassBinding bind();
56
// NOLINTEND
57
58
public
:
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
Item
Definition
Item.h:71
ScriptModuleMinecraft::ScriptItemType
Definition
ScriptItemType.h:16
WeakPtr
Definition
WeakPtr.h:10
Scripting::ClassBinding
Definition
ClassBinding.h:19
src
mc
scripting
modules
minecraft
items
ScriptItemType.h
Generated on
for LeviLamina by
1.16.1