LeviLamina
Loading...
Searching...
No Matches
ScriptItemEnchantmentType.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 Scripting { class WeakLifetimeScope; }
13// clang-format on
14
15namespace ScriptModuleMinecraft {
16
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ::std::string getName() const;
36
37 MCAPI ::ScriptModuleMinecraft::ScriptItemEnchantmentType&
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptItemEnchantmentType> bind();
45
46 MCAPI static ::Enchant::Type
47 getEnchantType(::std::variant<
49 ::std::string> const& enchantmentTypeOrId);
50
51 MCAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>
52 getOrCreateHandle(::Scripting::WeakLifetimeScope const& scope, ::Enchant::Type enchantmentType);
53 // NOLINTEND
54};
55
56} // namespace ScriptModuleMinecraft
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ScriptItemEnchantmentType.h:17
Definition Alias.h:14