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
// 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
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCNAPI
bool
_canPlayerBeAffectedByHunger
()
const
;
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCNAPI
void
$tick
(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
);
48
49
MCNAPI
void
$notify
(int64 type,
::AttributeModificationContext
&
context
);
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftable
();
56
// NOLINTEND
57
};
AttributeInstanceDelegate
Definition
AttributeInstanceDelegate.h:15
AttributeInstance
Definition
AttributeInstance.h:16
HungerAttributeDelegate
Definition
HungerAttributeDelegate.h:15
HungerAttributeDelegate::$tick
MCAPI void $tick(::AttributeInstance &mutableInstance, ::AttributeModificationContext &context)
HungerAttributeDelegate::_canPlayerBeAffectedByHunger
MCAPI bool _canPlayerBeAffectedByHunger() const
HungerAttributeDelegate::$vftable
static MCAPI void ** $vftable()
HungerAttributeDelegate::$notify
MCAPI void $notify(int64 type, ::AttributeModificationContext &context)
Player
Definition
Player.h:119
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
HungerAttributeDelegate.h
Generated on Fri Jun 13 2025 05:05:04 for LeviLamina by
1.12.0