LeviLamina
Loading...
Searching...
No Matches
ScriptItemEnchantmentTypes.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#include "mc/world/item/enchanting/Enchant.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentType; }
12namespace Scripting { class WeakLifetimeScope; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // member functions
33 // NOLINTBEGIN
35
37
38 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>>
39 get(::Scripting::WeakLifetimeScope& scope, ::std::string const& enchantmentId);
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static ::Scripting::ClassBinding bind();
46 // NOLINTEND
47};
48
49} // namespace ScriptModuleMinecraft
Definition WeakLifetimeScope.h:12
Definition ScriptItemEnchantmentTypes.h:18
static MCAPI ::Scripting::ClassBinding bind()
MCAPI void _generateAllEnchantmentTypeHandles(::Scripting::WeakLifetimeScope &scope)
MCAPI void _generateRemainingEnchantmentTypeHandles(::Scripting::WeakLifetimeScope &scope)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType > > get(::Scripting::WeakLifetimeScope &scope, ::std::string const &enchantmentId)
Definition Alias.h:14