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