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
11class ItemEnchants;
12namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentLevelOutOfBoundsError; }
13namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentType; }
14namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentTypeNotCompatibleError; }
15namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentUnknownIdError; }
16namespace Scripting { class WeakLifetimeScope; }
17namespace Scripting { struct InterfaceBinding; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
22struct ScriptItemEnchantmentInstance {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>>
27 mEnchantType;
28 ::ll::TypedStorage<4, 4, int> mLevel;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ScriptItemEnchantmentInstance();
35
36 MCAPI ScriptItemEnchantmentInstance(::ScriptModuleMinecraft::ScriptItemEnchantmentInstance const&);
37
38 MCAPI ScriptItemEnchantmentInstance(::ScriptModuleMinecraft::ScriptItemEnchantmentInstance&& rhs);
39
40 MCAPI ScriptItemEnchantmentInstance(::Scripting::WeakLifetimeScope& scope, ::EnchantmentInstance const& inst);
41
42 MCAPI ::ScriptModuleMinecraft::ScriptItemEnchantmentInstance&
44
45 MCAPI ::ScriptModuleMinecraft::ScriptItemEnchantmentInstance&
47
48 MCAPI ::std::variant<
53 tryResolveInstance(::ItemEnchants& itemEnchants) const;
54
55 MCAPI ~ScriptItemEnchantmentInstance();
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::Scripting::InterfaceBinding bind();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor();
68
70
72
73 MCAPI void* $ctor(::Scripting::WeakLifetimeScope& scope, ::EnchantmentInstance const& inst);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81};
82
83} // namespace ScriptModuleMinecraft
Definition EnchantmentInstance.h:8
Definition ItemEnchants.h:15
Definition WeakLifetimeScope.h:14
Definition ScriptItemEnchantmentInstance.h:22
Definition ScriptItemEnchantmentLevelOutOfBoundsError.h:15
Definition ScriptItemEnchantmentTypeNotCompatibleError.h:15
Definition ScriptItemEnchantmentType.h:18
Definition ScriptItemEnchantmentUnknownIdError.h:15
Definition InterfaceBinding.h:16