LeviLamina
Loading...
Searching...
No Matches
ScriptEffects.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
8// auto generated forward declare list
9// clang-format off
10namespace ScriptModuleMinecraft { class ScriptEffectType; }
11namespace Scripting { class ModuleBindingBuilder; }
12namespace Scripting { class WeakLifetimeScope; }
13// clang-format on
14
15namespace ScriptModuleMinecraft {
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<
22 8,
23 64,
24 ::std::unordered_map<
25 ::std::string,
27 mEffects;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void _generateAllEffectsHandles(::Scripting::WeakLifetimeScope& scope);
34
35 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEffectType>>
36 get(::Scripting::WeakLifetimeScope& scope, ::std::string const& effectName);
37
38 MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEffectType>>
39 getAllEffectTypes(::Scripting::WeakLifetimeScope& scope);
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
46
47 MCAPI static void bindV010(::Scripting::ModuleBindingBuilder& moduleBuilder);
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition ScriptEffectType.h:13
Definition ScriptEffects.h:17
Definition ModuleBindingBuilder.h:27
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7