LeviLamina
Loading...
Searching...
No Matches
HealthAttributeDelegate.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
AttributeBuff
;
11
class
AttributeInstance
;
12
class
Mob
;
13
struct
AttributeModificationContext
;
14
// clang-format on
15
16
class
HealthAttributeDelegate
:
public
::AttributeInstanceDelegate
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, int> mTickCounter;
21
::ll::TypedStorage<8, 8, ::Mob*> mMob;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
// vIndex: 1
28
virtual
void
tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
)
/*override*/
;
29
30
// vIndex: 3
31
virtual
bool
willChange(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff)
/*override*/
;
32
33
// vIndex: 4
34
virtual
float
change(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff)
/*override*/
;
35
36
// vIndex: 5
37
virtual
float
getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
/*override*/
;
38
39
// vIndex: 0
40
virtual
~HealthAttributeDelegate
()
/*override*/
=
default
;
41
// NOLINTEND
42
43
public
:
44
// destructor thunk
45
// NOLINTBEGIN
46
47
// NOLINTEND
48
49
public
:
50
// virtual function thunks
51
// NOLINTBEGIN
52
MCAPI
void
$tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
);
53
54
MCAPI
bool
$willChange(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
55
56
MCAPI
float
$change(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
57
58
MCAPI
float
$getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
;
59
// NOLINTEND
60
61
public
:
62
// vftables
63
// NOLINTBEGIN
64
MCAPI
static
void
** $vftable();
65
// NOLINTEND
66
};
AttributeBuff
Definition
AttributeBuff.h:14
AttributeInstanceDelegate
Definition
AttributeInstanceDelegate.h:13
AttributeInstance
Definition
AttributeInstance.h:16
HealthAttributeDelegate
Definition
HealthAttributeDelegate.h:16
Mob
Definition
Mob.h:47
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
HealthAttributeDelegate.h
Generated on Sat Apr 26 2025 05:56:07 for LeviLamina by
1.12.0