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