LeviLamina
Loading...
Searching...
No Matches
ScriptItemCooldownComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/scripting/modules/minecraft/items/components/ScriptItemComponent.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
12namespace ScriptModuleMinecraft { class ScriptPlayer; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~ScriptItemCooldownComponent() /*override*/ = default;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCNAPI ::Scripting::Result_deprecated<::std::string> getCooldownCategory();
30
31 MCNAPI ::Scripting::Result_deprecated<int> getCooldownTicks();
32
33 MCNAPI ::Scripting::Result_deprecated<int>
35
36 MCNAPI ::Scripting::Result_deprecated<bool> isCooldownCategory(::std::string const& category);
37
38 MCNAPI ::Scripting::Result_deprecated<void> startCooldown(::ScriptModuleMinecraft::ScriptPlayer& scriptPlayer);
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCNAPI static ::Scripting::ClassBinding
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
54
55} // namespace ScriptModuleMinecraft
Definition ScriptComponentTypeEnumBuilder.h:16
Definition ScriptItemComponent.h:18
Definition ScriptItemCooldownComponent.h:18
MCAPI ::Scripting::Result_deprecated< bool > isCooldownCategory(::std::string const &category)
MCAPI ::Scripting::Result_deprecated< int > getCooldownTicksRemaining(::ScriptModuleMinecraft::ScriptPlayer &scriptPlayer)
static MCAPI ::Scripting::ClassBinding bind(::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder)
MCAPI ::Scripting::Result_deprecated< int > getCooldownTicks()
MCAPI ::Scripting::Result_deprecated< void > startCooldown(::ScriptModuleMinecraft::ScriptPlayer &scriptPlayer)
MCAPI ::Scripting::Result_deprecated<::std::string > getCooldownCategory()
Definition ScriptPlayer.h:47