LeviLamina
Loading...
Searching...
No Matches
HungerAttributeDelegate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/attribute/AttributeInstanceDelegate.h"
7
8// auto generated forward declare list
9// clang-format off
11class Player;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mActionTickTimer;
20 ::ll::TypedStorage<4, 4, int> mTickCounter;
21 ::ll::TypedStorage<4, 4, float> mLastFoodLevel;
22 ::ll::TypedStorage<8, 8, ::Player*> mPlayer;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 1
29 virtual void tick(::AttributeInstance& mutableInstance, ::AttributeModificationContext& context) /*override*/;
30
31 // vIndex: 2
32 virtual void notify(int64 type, ::AttributeModificationContext& context) /*override*/;
33
34 // vIndex: 0
35 virtual ~HungerAttributeDelegate() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI bool _canPlayerBeAffectedByHunger() const;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
48
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition AttributeInstanceDelegate.h:15
Definition AttributeInstance.h:16
Definition HungerAttributeDelegate.h:15
MCAPI void $tick(::AttributeInstance &mutableInstance, ::AttributeModificationContext &context)
MCAPI bool _canPlayerBeAffectedByHunger() const
static MCAPI void ** $vftable()
MCAPI void $notify(int64 type, ::AttributeModificationContext &context)
Definition Player.h:119
Definition AttributeModificationContext.h:10
Definition context.h:5