LeviLamina
Loading...
Searching...
No Matches
ProjectileFactory.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
Mob
;
9
class
OnHitSubcomponent
;
10
class
Vec3
;
11
struct
ActorDefinitionIdentifier
;
12
namespace
Json {
class
Value; }
13
// clang-format on
14
15
class
ProjectileFactory
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::UntypedStorage<8, 8>
mUnk87b5c0;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
ProjectileFactory
& operator=(
ProjectileFactory
const
&);
25
ProjectileFactory
(
ProjectileFactory
const
&);
26
ProjectileFactory
();
27
28
public
:
29
// member functions
30
// NOLINTBEGIN
31
MCAPI ::Actor* shootProjectileFromDefinition(
32
::ActorDefinitionIdentifier
const
& identifier,
33
::Mob
* owner,
34
::Vec3
targetDir,
35
int
auxValue,
36
float
throwPower,
37
bool
useUnmodifiedDirection,
38
bool
overrideSpawnPosition,
39
::Vec3
spawnPosition
40
);
41
// NOLINTEND
42
43
public
:
44
// static functions
45
// NOLINTBEGIN
46
MCAPI static ::std::unique_ptr<::OnHitSubcomponent>
47
createSubcomponent(
::Json::Value
& trigger, ::std::string
const
& name);
48
49
MCAPI
static
void
initFactory();
50
// NOLINTEND
51
52
public
:
53
// static variables
54
// NOLINTBEGIN
55
MCAPI static ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OnHitSubcomponent>()>>&
56
mSubcomponentMap();
57
// NOLINTEND
58
};
Actor
Definition
Actor.h:104
Json::Value
Definition
Value.h:16
Mob
Definition
Mob.h:47
OnHitSubcomponent
Definition
OnHitSubcomponent.h:12
ProjectileFactory
Definition
ProjectileFactory.h:15
Vec3
Definition
Vec3.h:10
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:13
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
actor
projectile
ProjectileFactory.h
Generated on Sat Apr 26 2025 05:56:07 for LeviLamina by
1.12.0