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
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 MCNAPI static ::std::unique_ptr<::OnHitSubcomponent>
47 createSubcomponent(::Json::Value& trigger, ::std::string const& name);
48
49 MCNAPI static void initFactory();
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OnHitSubcomponent>()>>&
57 // NOLINTEND
58};
Definition Actor.h:103
Definition Value.h:16
Definition Mob.h:47
Definition OnHitSubcomponent.h:12
Definition ProjectileFactory.h:15
static MCAPI ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OnHitSubcomponent >()> > & mSubcomponentMap()
static MCAPI ::std::unique_ptr<::OnHitSubcomponent > createSubcomponent(::Json::Value &trigger, ::std::string const &name)
MCAPI::Actor * shootProjectileFromDefinition(::ActorDefinitionIdentifier const &identifier, ::Mob *owner, ::Vec3 targetDir, int auxValue, float throwPower, bool useUnmodifiedDirection, bool overrideSpawnPosition, ::Vec3 spawnPosition)
static MCAPI void initFactory()
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15
Definition Alias.h:14