Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Witch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorEvent.h"
7#include "mc/world/actor/monster/HumanoidMonster.h"
8
9// auto generated forward declare list
10// clang-format off
13class EntityContext;
14class Vec3;
16// clang-format on
17
18class Witch : public ::HumanoidMonster {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mUsingTime;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 Witch();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
33
34 virtual ::Vec3 getFiringPos() const /*override*/;
35
36 virtual float getDamageAfterEnchantReduction(::ActorDamageSource const& source, float damage) const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI Witch(
43 ::ActorDefinitionGroup* definitions,
44 ::ActorDefinitionIdentifier const& definitionName,
45 ::EntityContext& entityContext
46 );
47
48 MCNAPI void preAiStep();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCNAPI void* $ctor(
55 ::ActorDefinitionGroup* definitions,
56 ::ActorDefinitionIdentifier const& definitionName,
57 ::EntityContext& entityContext
58 );
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI void $handleEntityEvent(::ActorEvent id, int data);
65
66 MCNAPI ::Vec3 $getFiringPos() const;
67
68 MCNAPI float $getDamageAfterEnchantReduction(::ActorDamageSource const& source, float damage) const;
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition EntityContext.h:15
Definition HumanoidMonster.h:14
Definition Vec3.h:10
static MCAPI void ** $vftable()
MCAPI float $getDamageAfterEnchantReduction(::ActorDamageSource const &source, float damage) const
MCAPI Witch(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void $handleEntityEvent(::ActorEvent id, int data)
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI::Vec3 $getFiringPos() const
MCAPI void preAiStep()
Definition ActorDefinitionIdentifier.h:15