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 // ScriptItemEnchantmentTypes inner types define
21 using EnchantmentTypesMap = ::std::unordered_map<
22 ::Enchant::Type,
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<
29 8,
30 64,
31 ::std::unordered_map<
32 ::Enchant::Type,
34 mEnchantments;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void _generateAllEnchantmentTypeHandles(::Scripting::WeakLifetimeScope& scope);
41
42 MCAPI void _generateRemainingEnchantmentTypeHandles(::Scripting::WeakLifetimeScope& scope);
43
44 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType>>
45 get(::Scripting::WeakLifetimeScope& scope, ::std::string const& enchantmentId);
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::Scripting::ClassBinding bind();
52 // NOLINTEND
53};
54
55} // namespace ScriptModuleMinecraft
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptItemEnchantmentType.h:18
Definition ScriptItemEnchantmentTypes.h:18
Definition ClassBinding.h:19