LeviLamina
Loading...
Searching...
No Matches
LeashableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorDefinitionTrigger.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
13class Player;
14struct LeashablePreset;
15// clang-format on
16
17class LeashableComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::LeashablePreset>> mPresets;
22 ::ll::TypedStorage<1, 1, bool> mCanBeStolen;
23 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnLeash;
24 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnUnleash;
25 ::ll::TypedStorage<1, 1, bool> mOnUnleashInteractOnly;
26 ::ll::TypedStorage<4, 4, float> mAngularMomentum;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 LeashableComponent& operator=(LeashableComponent const&);
32 LeashableComponent(LeashableComponent const&);
33 LeashableComponent();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI LeashableComponent(::LeashableComponent&&);
39
40 MCAPI ::InteractionResult getInteraction(::Actor& owner, ::Player& player, ::ActorInteraction& interaction);
41
42 MCAPI ::LeashableComponent& operator=(::LeashableComponent&&);
43
44 MCAPI ~LeashableComponent();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::LeashableComponent&&);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58};
Definition ActorInteraction.h:8
Definition Actor.h:125
Definition InteractionResult.h:5
Definition Player.h:137
Definition LeashablePreset.h:9