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
InteractionResult
;
13
class
Player
;
14
// clang-format on
15
16
struct
TrustingComponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, float> mChance;
21
::ll::TypedStorage<8, 16, ::std::set<::Item const*>> mTrustItems;
22
// NOLINTEND
23
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
MCAPI
void
_becomeTrusting(
::Actor
& owner);
28
29
MCAPI ::InteractionResult getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction);
30
// NOLINTEND
31
};
ActorInteraction
Definition
ActorInteraction.h:8
Actor
Definition
Actor.h:125
InteractionResult
Definition
InteractionResult.h:5
Player
Definition
Player.h:137
TrustingComponent
Definition
TrustingComponent.h:16
src
mc
entity
components
TrustingComponent.h
Generated on
for LeviLamina by
1.16.1