LeviLamina
Loading...
Searching...
No Matches
DurabilityItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/versionless/IntRange.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 SharedTypes { struct IntRange; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class DurabilityItemComponent : public ::NetworkedItemComponent<::DurabilityItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mMaxDamage;
23 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange> mDamageChance;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~DurabilityItemComponent() /*override*/ = default;
31 // NOLINTEND
32
33public:
34 // static functions
35 // NOLINTBEGIN
36 MCAPI static void bindType(
38 ::std::vector<::AllExperiments> const& requiredToggles,
39 ::std::optional<::SemVersion> releasedMinFormatVersion
40 );
41
42 MCAPI static ::HashedString const& getIdentifier();
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
Definition DurabilityItemComponent.h:18
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition IntRange.h:11
Definition ReflectionCtx.h:11
Definition ctx.h:5