LeviLamina
Loading...
Searching...
No Matches
AttributeInstanceDelegate.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
AttributeBuff
;
8
class
AttributeInstance
;
9
class
AttributeInstanceHandle
;
10
struct
AttributeModificationContext
;
11
// clang-format on
12
13
class
AttributeInstanceDelegate
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<4, 4, ::AttributeInstanceHandle> mAttributeHandle;
18
// NOLINTEND
19
20
public
:
21
// virtual functions
22
// NOLINTBEGIN
23
// vIndex: 0
24
virtual
~AttributeInstanceDelegate
() =
default
;
25
26
// vIndex: 1
27
virtual
void
tick(
::AttributeInstance
&,
::AttributeModificationContext
&);
28
29
// vIndex: 2
30
virtual
void
notify(int64,
::AttributeModificationContext
&);
31
32
// vIndex: 3
33
virtual
bool
willChange(
float
,
float
,
::AttributeBuff
const
&);
34
35
// vIndex: 4
36
virtual
float
change(
float
,
float
newValue,
::AttributeBuff
const
&);
37
38
// vIndex: 5
39
virtual
float
getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
;
40
// NOLINTEND
41
42
public
:
43
// member functions
44
// NOLINTBEGIN
45
MCAPI ::AttributeInstance* _getMutableInstance(
::AttributeModificationContext
&
context
)
const
;
46
// NOLINTEND
47
48
public
:
49
// destructor thunk
50
// NOLINTBEGIN
51
52
// NOLINTEND
53
54
public
:
55
// virtual function thunks
56
// NOLINTBEGIN
57
MCFOLD
void
$tick(
::AttributeInstance
&,
::AttributeModificationContext
&);
58
59
MCFOLD
void
$notify(int64,
::AttributeModificationContext
&);
60
61
MCFOLD
bool
$willChange(
float
,
float
,
::AttributeBuff
const
&);
62
63
MCAPI
float
$change(
float
,
float
newValue,
::AttributeBuff
const
&);
64
65
MCAPI
float
$getBuffValueWithModifiers(
::AttributeBuff
const
& buff)
const
;
66
// NOLINTEND
67
68
public
:
69
// vftables
70
// NOLINTBEGIN
71
MCAPI
static
void
** $vftable();
72
// NOLINTEND
73
};
AttributeBuff
Definition
AttributeBuff.h:14
AttributeInstanceDelegate
Definition
AttributeInstanceDelegate.h:13
AttributeInstanceHandle
Definition
AttributeInstanceHandle.h:5
AttributeInstance
Definition
AttributeInstance.h:16
AttributeModificationContext
Definition
AttributeModificationContext.h:10
context
Definition
context.h:5
src
mc
world
attribute
AttributeInstanceDelegate.h
Generated on Sat Apr 26 2025 05:56:07 for LeviLamina by
1.12.0