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