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
virtual
void
tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
)
/*override*/
;
28
29
virtual
bool
willChange(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff)
/*override*/
;
30
31
virtual
float
change(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff)
/*override*/
;
32
33
virtual
float
getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
/*override*/
;
34
35
virtual
~HealthAttributeDelegate
()
/*override*/
=
default
;
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
MCAPI
void
$tick(
::AttributeInstance
& mutableInstance,
::AttributeModificationContext
&
context
);
42
43
MCAPI
bool
$willChange(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
44
45
MCAPI
float
$change(
float
oldValue,
float
newValue,
::AttributeBuff
const
& buff);
46
47
MCAPI
float
$getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
;
48
49
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftable
();
56
// NOLINTEND
57
};
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:50
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
HealthAttributeDelegate.h
Generated on
for LeviLamina by
1.16.1