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
10
class
AttributeInstance
;
11
class
Player
;
12
struct
AttributeModificationContext
;
13
// clang-format on
14
15
class
HungerAttributeDelegate
:
public
::AttributeInstanceDelegate
{
16
public
:
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
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
void
tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
)
/*override*/
;
29
30
virtual
void
notify(int64 type,
::AttributeModificationContext
&
context
)
/*override*/
;
31
// NOLINTEND
32
33
public
:
34
// virtual function thunks
35
// NOLINTBEGIN
36
MCAPI
void
$tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
);
37
38
MCAPI
void
$notify(int64 type,
::AttributeModificationContext
&
context
);
39
40
41
// NOLINTEND
42
43
public
:
44
// vftables
45
// NOLINTBEGIN
46
MCAPI
static
void
** $vftable();
47
// NOLINTEND
48
};
AttributeInstanceDelegate
Definition
AttributeInstanceDelegate.h:15
AttributeInstance
Definition
AttributeInstance.h:17
HungerAttributeDelegate
Definition
HungerAttributeDelegate.h:15
Player
Definition
Player.h:128
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
HungerAttributeDelegate.h
Generated on
for LeviLamina by
1.16.1