Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GlowSquid.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/ActorEvent.h"
8#include "mc/world/actor/animal/Squid.h"
9
10// auto generated forward declare list
11// clang-format off
14class ActorHurtResult;
15class BlockPos;
16class EntityContext;
18struct HurtParameters;
19// clang-format on
20
21class GlowSquid : public ::Squid {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartTime;
26 ::ll::TypedStorage<1, 1, bool> mGoingDark;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 GlowSquid();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void normalTick() /*override*/;
37
38 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
39
40 virtual float _getWalkTargetValue(::BlockPos const& pos) /*override*/;
41
42 virtual ::ActorHurtResult
43 _hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters) /*override*/;
44
45 virtual ::SharedTypes::Legacy::LevelSoundEvent _getInkSquirtSoundEvent() const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI GlowSquid(
52 ::ActorDefinitionGroup* definitions,
53 ::ActorDefinitionIdentifier const& definitionName,
54 ::EntityContext& entityContext
55 );
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCNAPI void* $ctor(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI void $normalTick();
72
73 MCNAPI void $handleEntityEvent(::ActorEvent id, int data);
74
75 MCNAPI float $_getWalkTargetValue(::BlockPos const& pos);
76
77 MCNAPI ::ActorHurtResult
78 $_hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters);
79
80 MCNAPI ::SharedTypes::Legacy::LevelSoundEvent $_getInkSquirtSoundEvent() const;
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition ActorHurtResult.h:5
Definition BlockPos.h:14
Definition EntityContext.h:15
MCAPI::ActorHurtResult $_hurt(::ActorDamageSource const &source, float damage, ::HurtParameters const &hurtParameters)
MCAPI::SharedTypes::Legacy::LevelSoundEvent $_getInkSquirtSoundEvent() const
MCAPI GlowSquid(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void $normalTick()
MCAPI float $_getWalkTargetValue(::BlockPos const &pos)
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void $handleEntityEvent(::ActorEvent id, int data)
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15
Definition HurtParameters.h:8