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/world/item/components/NetworkedItemComponent.h"
7#include "mc/world/level/storage/AllExperiments.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12class SemVersion;
13namespace SharedTypes { struct IntRange; }
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17class DurabilityItemComponent : public ::NetworkedItemComponent<::DurabilityItemComponent> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mMaxDamage;
22 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange> mDamageChance;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
29 virtual ~DurabilityItemComponent() /*override*/ = default;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCAPI static void bindType(
37 ::std::vector<::AllExperiments> const& releasedMinFormatVersion,
38 ::std::optional<::SemVersion> requiredToggles
39 );
40
41 MCAPI static ::HashedString const& getIdentifier();
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCAPI static void** $vftable();
54 // NOLINTEND
55};
Definition DurabilityItemComponent.h:17
Definition HashedString.h:5
Definition NetworkedItemComponent.h:6
Definition SemVersion.h:15
Definition IntRange.h:11
Definition ReflectionCtx.h:11
Definition ctx.h:5