LeviLamina
Loading...
Searching...
No Matches
ScriptItemEnchantmentInstance.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
EnchantmentInstance
;
11
class
ItemEnchants
;
12
namespace
ScriptModuleMinecraft {
struct
ScriptItemEnchantmentLevelOutOfBoundsError
; }
13
namespace
ScriptModuleMinecraft {
struct
ScriptItemEnchantmentType
; }
14
namespace
ScriptModuleMinecraft {
struct
ScriptItemEnchantmentTypeNotCompatibleError
; }
15
namespace
ScriptModuleMinecraft {
struct
ScriptItemEnchantmentUnknownIdError
; }
16
namespace
Scripting {
struct
InterfaceBinding
; }
17
// clang-format on
18
19
namespace
ScriptModuleMinecraft {
20
21
struct
ScriptItemEnchantmentInstance
{
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>>
26
mEnchantType;
27
::ll::TypedStorage<4, 4, int> mLevel;
28
// NOLINTEND
29
30
public
:
31
// member functions
32
// NOLINTBEGIN
33
MCAPI ::std::variant<
34
::EnchantmentInstance
,
35
::ScriptModuleMinecraft::ScriptItemEnchantmentLevelOutOfBoundsError
,
36
::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError
,
37
::ScriptModuleMinecraft::ScriptItemEnchantmentTypeNotCompatibleError
>
38
tryResolveInstance(
::ItemEnchants
& itemEnchants)
const
;
39
40
MCAPI
~ScriptItemEnchantmentInstance
();
41
// NOLINTEND
42
43
public
:
44
// static functions
45
// NOLINTBEGIN
46
MCAPI static ::Scripting::InterfaceBinding bind();
47
// NOLINTEND
48
49
public
:
50
// destructor thunk
51
// NOLINTBEGIN
52
MCFOLD
void
$dtor();
53
// NOLINTEND
54
};
55
56
}
// namespace ScriptModuleMinecraft
EnchantmentInstance
Definition
EnchantmentInstance.h:8
ItemEnchants
Definition
ItemEnchants.h:17
ScriptModuleMinecraft::ScriptItemEnchantmentInstance
Definition
ScriptItemEnchantmentInstance.h:21
ScriptModuleMinecraft::ScriptItemEnchantmentLevelOutOfBoundsError
Definition
ScriptItemEnchantmentLevelOutOfBoundsError.h:15
ScriptModuleMinecraft::ScriptItemEnchantmentTypeNotCompatibleError
Definition
ScriptItemEnchantmentTypeNotCompatibleError.h:15
ScriptModuleMinecraft::ScriptItemEnchantmentType
Definition
ScriptItemEnchantmentType.h:18
ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError
Definition
ScriptItemEnchantmentUnknownIdError.h:15
Scripting::InterfaceBinding
Definition
InterfaceBinding.h:16
src
mc
scripting
modules
minecraft
items
ScriptItemEnchantmentInstance.h
Generated on
for LeviLamina by
1.16.1