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
12class Player;
14// clang-format on
15
16class HungerAttributeDelegate : public ::AttributeInstanceDelegate {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mActionTickTimer;
21 ::ll::TypedStorage<4, 4, int> mTickCounter;
22 ::ll::TypedStorage<4, 4, float> mLastFoodLevel;
23 ::ll::TypedStorage<8, 8, ::Player*> mPlayer;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 HungerAttributeDelegate();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void tick(::AttributeInstance& mutableInstance, ::AttributeModificationContext& context) /*override*/;
34
35 virtual void notify(int64 type, ::AttributeModificationContext& context) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI HungerAttributeDelegate(::AttributeInstanceConstRef attribute, ::Player* player);
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::AttributeInstanceConstRef attribute, ::Player* player);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $tick(::AttributeInstance& mutableInstance, ::AttributeModificationContext& context);
54
55 MCAPI void $notify(int64 type, ::AttributeModificationContext& context);
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
Definition AttributeInstanceConstRef.h:13
Definition AttributeInstanceDelegate.h:15
Definition AttributeInstance.h:17
Definition Player.h:137
Definition AttributeModificationContext.h:10
Definition context.h:5