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/binding_type/ClassBindingBuilder.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/world/item/enchanting/Enchant.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace ScriptModuleMinecraft { struct ScriptItemEnchantmentType; }
13namespace Scripting { class WeakLifetimeScope; }
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
34 MCAPI void _generateAllEnchantmentTypeHandles(::Scripting::WeakLifetimeScope& scope);
35
36 MCAPI void _generateRemainingEnchantmentTypeHandles(::Scripting::WeakLifetimeScope& scope);
37
38 MCAPI ::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 MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptItemEnchantmentTypes> bind();
46 // NOLINTEND
47};
48
49} // namespace ScriptModuleMinecraft
Definition WeakLifetimeScope.h:12
Definition ScriptItemEnchantmentTypes.h:18
Definition Alias.h:14