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
7class Actor;
8class Mob;
10class Vec3;
12namespace Json { class Value; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ProjectileFactory& operator=(ProjectileFactory const&);
27
28public:
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
43public:
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
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OnHitSubcomponent>()>>&
56 mSubcomponentMap();
57 // NOLINTEND
58};
Definition Actor.h:104
Definition Value.h:16
Definition Mob.h:47
Definition OnHitSubcomponent.h:12
Definition ProjectileFactory.h:15
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition Alias.h:14