LeviLamina
Loading...
Searching...
No Matches
RecordItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/sound/SoundEventIdentifier.h"
7#include "mc/world/item/components/NetworkedItemComponent.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13class SemVersion;
14namespace Bedrock::Safety { class RedactableString; }
15namespace SharedTypes::Beta { struct RecordItemComponent; }
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19class RecordItemComponent : public ::NetworkedItemComponent<::RecordItemComponent> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 40, ::SoundEventIdentifier> mSoundEvent;
24 ::ll::TypedStorage<4, 4, float> mDuration;
25 ::ll::TypedStorage<4, 4, int> mComparatorSignal;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 RecordItemComponent();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI explicit RecordItemComponent(::SharedTypes::Beta::RecordItemComponent component);
36
37 MCAPI void appendFormattedHovertext(::Bedrock::Safety::RedactableString& hovertext) const;
38
39 MCAPI ::std::string getRecordDescription() const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void bindType(
47 ::std::vector<::AllExperiments> const& requiredToggles,
48 ::std::optional<::SemVersion> releasedMinFormatVersion
49 );
50
51 MCAPI static ::HashedString const& getIdentifier();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(::SharedTypes::Beta::RecordItemComponent component);
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition RedactableString.h:10
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
static MCAPI void ** $vftable()
Definition SemVersion.h:15
Definition RecordItemComponent.h:10
Definition ReflectionCtx.h:11
Definition ctx.h:5