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
// virtual function thunks
45
// NOLINTBEGIN
46
MCAPI
void
$tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
);
47
48
MCAPI
bool
$willChange(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
49
50
MCAPI
float
$change(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
51
52
MCAPI
float
$getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
;
53
// NOLINTEND
54
55
public
:
56
// vftables
57
// NOLINTBEGIN
58
MCNAPI
static
void
**
$vftable
();
59
// NOLINTEND
60
};
AttributeBuff
Definition
AttributeBuff.h:14
AttributeInstanceDelegate
Definition
AttributeInstanceDelegate.h:15
AttributeInstance
Definition
AttributeInstance.h:16
HealthAttributeDelegate
Definition
HealthAttributeDelegate.h:16
HealthAttributeDelegate::$vftable
static MCAPI void ** $vftable()
Mob
Definition
Mob.h:47
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
HealthAttributeDelegate.h
Generated on Fri Jun 13 2025 05:05:04 for LeviLamina by
1.12.0