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/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/world/item/enchanting/Enchant.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Scripting { class WeakLifetimeScope; }
12namespace Scripting { struct ClassBinding; }
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 MCNAPI ::std::string getName() const;
36
37 MCNAPI ::ScriptModuleMinecraft::ScriptItemEnchantmentType&
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCNAPI static ::Scripting::ClassBinding bind();
45
46 MCNAPI static ::Enchant::Type getEnchantType(
47 ::std::variant<
49 ::std::string> const& enchantmentTypeOrId
50 );
51
52 MCNAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>
53 getOrCreateHandle(::Scripting::WeakLifetimeScope const& scope, ::Enchant::Type enchantmentType);
54 // NOLINTEND
55};
56
57} // namespace ScriptModuleMinecraft
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ScriptItemEnchantmentType.h:17
static MCAPI ::Scripting::ClassBinding bind()
MCAPI::ScriptModuleMinecraft::ScriptItemEnchantmentType & operator=(::ScriptModuleMinecraft::ScriptItemEnchantmentType &&)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType > getOrCreateHandle(::Scripting::WeakLifetimeScope const &scope, ::Enchant::Type enchantmentType)
static MCAPI ::Enchant::Type getEnchantType(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > const &enchantmentTypeOrId)
Definition Alias.h:14