Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MountTamingComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorDefinitionTrigger.h"
7#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Interaction;
13class ItemDescriptor;
14class Player;
15struct FeedItem;
16namespace SharedTypes::v1_26_50 { struct MountTamingComponentDefinition; }
17// clang-format on
18
19class MountTamingComponent {
20public:
21 // MountTamingComponent inner types define
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, int> mTemper;
28 ::ll::TypedStorage<4, 4, int> mCounter;
29 ::ll::TypedStorage<4, 4, int> mTemperMod;
30 ::ll::TypedStorage<4, 4, int> mWaitCount;
31 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnTame;
32 ::ll::TypedStorage<8, 24, ::std::vector<::FeedItem>> mFeedItems;
33 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mAutoRejectItems;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 MountTamingComponent(MountTamingComponent const&);
39 MountTamingComponent();
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI void becomeTame(::Actor& owner, bool tamingParticles);
45
46 MCNAPI ::Interaction getInteraction(::Actor& owner, ::Player& player, ::HandSlot handSlot);
47
48 MCNAPI ::MountTamingComponent& operator=(::MountTamingComponent const&);
49
50 MCAPI void tameToPlayer(::Actor& owner, ::Player& player, bool tamingParticles);
51
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60};
Definition Actor.h:116
Definition Interaction.h:9
Definition ItemDescriptor.h:24
MCAPI void becomeTame(::Actor &owner, bool tamingParticles)
MCAPI::MountTamingComponent & operator=(::MountTamingComponent const &)
MCAPI ~MountTamingComponent()
MCAPI::Interaction getInteraction(::Actor &owner, ::Player &player, ::HandSlot handSlot)
MCAPI void $dtor()
Definition Player.h:131
Definition FeedItem.h:9
Definition MountTamingComponentDefinition.h:16