LeviLamina
Loading...
Searching...
No Matches
OnUseItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/DefinitionTrigger.h"
7#include "mc/world/item/components/IItemComponentLegacyFactoryData.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
13class HashedString;
14class SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class OnUseItemComponent : public ::IItemComponentLegacyFactoryData {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 56, ::DefinitionTrigger> mOnUse;
23 // NOLINTEND
24
25#ifdef LL_PLAT_S
26public:
27 // prevent constructor by default
28 OnUseItemComponent& operator=(OnUseItemComponent const&);
29 OnUseItemComponent();
30
31#else // LL_PLAT_C
32public:
33 // prevent constructor by default
34 OnUseItemComponent();
35
36#endif
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~OnUseItemComponent() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI OnUseItemComponent(::OnUseItemComponent const&);
47
48 MCFOLD ::OnUseItemComponent& operator=(::OnUseItemComponent&&);
49
50#ifdef LL_PLAT_C
51 MCFOLD ::OnUseItemComponent& operator=(::OnUseItemComponent const&);
52#endif
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static void bindType(
60 ::std::vector<::AllExperiments> const& requiredToggles,
61 ::std::optional<::SemVersion> releasedMinFormatVersion
62 );
63
64 MCAPI static ::HashedString const& getIdentifier();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCFOLD void* $ctor(::OnUseItemComponent const&);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCFOLD void $dtor();
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition DefinitionTrigger.h:15
Definition HashedString.h:5
static MCAPI void ** $vftable()
Definition SemVersion.h:15
Definition IItemComponentLegacyFactoryData.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5