LeviLamina
Loading...
Searching...
No Matches
Squid.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Color.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/world/actor/ActorEvent.h"
9#include "mc/world/actor/ActorInitializationMethod.h"
10#include "mc/world/actor/Mob.h"
11
12// auto generated forward declare list
13// clang-format off
16class EntityContext;
17class Vec3;
20// clang-format on
21
22class Squid : public ::Mob {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 16, ::mce::Color> mInkColor;
27 ::ll::TypedStorage<4, 4, float> mSpeed;
28 ::ll::TypedStorage<4, 4, float> mTentacleSpeed;
29 ::ll::TypedStorage<4, 4, float> mRotateSpeed;
30 ::ll::TypedStorage<4, 4, float> mXBodyRot;
31 ::ll::TypedStorage<4, 4, float> mXBodyRotO;
32 ::ll::TypedStorage<4, 4, float> mZBodyRot;
33 ::ll::TypedStorage<4, 4, float> mZBodyRotO;
34 ::ll::TypedStorage<4, 4, float> mTx;
35 ::ll::TypedStorage<4, 4, float> mTy;
36 ::ll::TypedStorage<4, 4, float> mTz;
37 ::ll::TypedStorage<4, 4, float> mTentacleMovement;
38 ::ll::TypedStorage<4, 4, float> mOldTentacleMovement;
39 ::ll::TypedStorage<4, 4, float> mTentacleAngle;
40 ::ll::TypedStorage<4, 4, float> mOldTentacleAngle;
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
45 Squid();
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 // vIndex: 69
51 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
52
53 // vIndex: 149
54 virtual bool checkSpawnObstruction() const /*override*/;
55
56 // vIndex: 148
57 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
58
59 // vIndex: 135
60 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
61
62 // vIndex: 178
63 virtual ::SharedTypes::Legacy::LevelSoundEvent _getInkSquirtSoundEvent() const;
64
65 // vIndex: 2
66 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
67
68 // vIndex: 8
69 virtual ~Squid() /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCAPI Squid(
76 ::ActorDefinitionGroup* definitions,
77 ::ActorDefinitionIdentifier const& definitionName,
78 ::EntityContext& entityContext,
79 ::mce::Color const& inkParticleColor
80 );
81
82 MCAPI ::Vec3 _randomInkDir();
83
84 MCAPI void postAiStep();
85
86 MCAPI void spawnInkParticles();
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCAPI void* $ctor(
93 ::ActorDefinitionGroup* definitions,
94 ::ActorDefinitionIdentifier const& definitionName,
95 ::EntityContext& entityContext,
96 ::mce::Color const& inkParticleColor
97 );
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCFOLD void $dtor();
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
110
111 MCFOLD bool $checkSpawnObstruction() const;
112
113 MCAPI bool $checkSpawnRules(bool fromSpawner);
114
115 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
116
117 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $_getInkSquirtSoundEvent() const;
118
119 MCFOLD void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftable();
126 // NOLINTEND
127};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:32
Definition EntityContext.h:16
Definition Mob.h:47
Definition Squid.h:22
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition Color.h:13
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:13