LeviLamina
Loading...
Searching...
No Matches
AbstractArrow.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorInitializationMethod.h"
7#include "mc/world/actor/projectile/PredictableProjectile.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class CompoundTag;
13class DataLoadHelper;
14class ItemStack;
15class Player;
16class Vec3;
18struct ActorUniqueID;
20// clang-format on
21
23public:
24 // AbstractArrow inner types define
25 enum class Data : int {
26 OwnerID = 17,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 AbstractArrow& operator=(AbstractArrow const&);
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 2
47 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
48
49 // vIndex: 4
50 virtual void
51 initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
52
53 // vIndex: 22
54 virtual void lerpMotion(::Vec3 const& delta) /*override*/;
55
56 // vIndex: 138
57 virtual void shoot(::Vec3 const& dir, float pow, float uncertainty, ::Vec3 const& baseSpeed);
58
59 // vIndex: 39
60 virtual void playerTouch(::Player& player) /*override*/;
61
62 // vIndex: 35
63 virtual float getShadowRadius() const /*override*/;
64
65 // vIndex: 139
66 virtual ::ItemStack _getPickupItem() const = 0;
67
68 // vIndex: 137
69 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
70
71 // vIndex: 136
72 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
73
74 // vIndex: 84
75 virtual ::ActorUniqueID getSourceUniqueID() const /*override*/;
76
77 // vIndex: 8
78 virtual ~AbstractArrow() /*override*/;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI void _playPickupSound();
85 // NOLINTEND
86
87public:
88 // static functions
89 // NOLINTBEGIN
90 MCAPI static ::Actor* spawnPlayerProjectile(::ActorDefinitionIdentifier const& id, ::Player& player, ::Vec3 aimDir);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCFOLD void $dtor();
97 // NOLINTEND
98
99public:
100 // virtual function thunks
101 // NOLINTBEGIN
102 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
103
104 MCFOLD void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
105
106 MCAPI void $lerpMotion(::Vec3 const& delta);
107
108 MCFOLD void $shoot(::Vec3 const& dir, float pow, float uncertainty, ::Vec3 const& baseSpeed);
109
110 MCAPI void $playerTouch(::Player& player);
111
112 MCAPI float $getShadowRadius() const;
113
114 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
115
116 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
117
118 MCFOLD ::ActorUniqueID $getSourceUniqueID() const;
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCAPI static void** $vftable();
125 // NOLINTEND
126};
Definition AbstractArrow.h:22
Definition Actor.h:104
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition ItemStack.h:25
Definition Player.h:119
Definition PredictableProjectile.h:8
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition ActorUniqueID.h:5
Definition VariantParameterList.h:5
Definition Alias.h:14