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 EntityContext;
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 // vIndex: 2
32 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
33
34 // vIndex: 175
35 virtual void newServerAiStep() /*override*/;
36
37 // vIndex: 123
38 virtual void die(::ActorDamageSource const& source) /*override*/;
39
40 // vIndex: 11
41 virtual void remove() /*override*/;
42
43 // vIndex: 102
44 virtual void buildDebugInfo(::std::string& out) const /*override*/;
45
46 // vIndex: 118
47 virtual bool getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location) /*override*/;
48
49 // vIndex: 63
50 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
51
52 // vIndex: 8
53 virtual ~VillagerV2() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI VillagerV2(
60 ::ActorDefinitionGroup* definitions,
61 ::ActorDefinitionIdentifier const& definitionName,
62 ::EntityContext& entityContext
63 );
64
65 MCAPI void _fixupVillagerProfessionSkinIfNeeded(::DwellerComponent const& dweller);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 ::ActorDefinitionGroup* definitions,
73 ::ActorDefinitionIdentifier const& definitionName,
74 ::EntityContext& entityContext
75 );
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
82
83 MCAPI void $newServerAiStep();
84
85 MCFOLD void $die(::ActorDamageSource const& source);
86
87 MCAPI void $remove();
88
89 MCAPI void $buildDebugInfo(::std::string& out) const;
90
91 MCAPI bool $getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location);
92
93 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:29
Definition ActorInteraction.h:5
Definition DwellerComponent.h:22
Definition EntityContext.h:16
Definition Player.h:119
Definition Vec3.h:10
Definition VillagerBase.h:19
Definition VillagerV2.h:23
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:5