LeviLamina
Loading...
Searching...
No Matches
TrustingComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/Item.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
ActorInteraction
;
12
class
Player
;
13
// clang-format on
14
15
struct
TrustingComponent
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<4, 4, float> mChance;
20
::ll::TypedStorage<8, 16, ::std::set<::Item const*>> mTrustItems;
21
// NOLINTEND
22
23
public
:
24
// member functions
25
// NOLINTBEGIN
26
MCAPI
void
_becomeTrusting(
::Actor
& owner);
27
28
MCAPI
bool
getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction);
29
// NOLINTEND
30
};
ActorInteraction
Definition
ActorInteraction.h:5
Actor
Definition
Actor.h:105
Player
Definition
Player.h:125
TrustingComponent
Definition
TrustingComponent.h:15
src
mc
entity
components
TrustingComponent.h
Generated on
for LeviLamina by
1.16.1