LeviLamina
Loading...
Searching...
No Matches
VillagerV2.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorInitializationMethod.h"
8#include "mc/world/actor/npc/VillagerBase.h"
9
10// auto generated forward declare list
11// clang-format off
16class Player;
17class Vec3;
19// clang-format on
20
21class VillagerV2 : public ::VillagerBase {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
26
27 virtual void newServerAiStep() /*override*/;
28
29 virtual void die(::ActorDamageSource const& source) /*override*/;
30
31 virtual void remove() /*override*/;
32
33 virtual void buildDebugInfo(::std::string& out) const /*override*/;
34
35 virtual ::InteractionResult
36 getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location) /*override*/;
37
38 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
39
40 virtual ~VillagerV2() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void _fixupVillagerProfessionSkinIfNeeded(::DwellerComponent const& dweller);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
53
54 MCAPI void $newServerAiStep();
55
56 MCFOLD void $die(::ActorDamageSource const& source);
57
58 MCAPI void $remove();
59
60 MCAPI void $buildDebugInfo(::std::string& out) const;
61
62 MCAPI ::InteractionResult
63 $getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location);
64
65 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition ActorDamageSource.h:18
Definition ActorInteraction.h:8
Definition DwellerComponent.h:22
Definition InteractionResult.h:5
Definition Player.h:129
Definition Vec3.h:10
Definition VillagerV2.h:21
Definition VariantParameterList.h:13