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
15class EntityContext;
16class Interaction;
17class Player;
18class Vec3;
21// clang-format on
22
23class VillagerV2 : public ::VillagerBase {
24public:
25 // prevent constructor by default
26 VillagerV2();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
32
33 virtual void newServerAiStep() /*override*/;
34
35 virtual void die(::ActorDamageSource const& source) /*override*/;
36
37 virtual void remove() /*override*/;
38
39 virtual void buildDebugInfo(::std::string& out) const /*override*/;
40
41 virtual ::Interaction getInteraction(::Player& player, ::Vec3 const& location) /*override*/;
42
43 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI VillagerV2(
50 ::ActorDefinitionGroup* definitions,
51 ::ActorDefinitionIdentifier const& definitionName,
52 ::EntityContext& entityContext
53 );
54
55 MCAPI void _fixupVillagerProfessionSkinIfNeeded(::DwellerComponent const& dweller);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
72
73 MCAPI void $newServerAiStep();
74
75 MCFOLD void $die(::ActorDamageSource const& source);
76
77 MCAPI void $remove();
78
79 MCAPI void $buildDebugInfo(::std::string& out) const;
80
81 MCAPI ::Interaction $getInteraction(::Player& player, ::Vec3 const& location);
82
83 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCAPI static void** $vftable();
92 // NOLINTEND
93};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition DwellerComponent.h:22
Definition EntityContext.h:15
Definition Interaction.h:9
Definition Player.h:129
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:14