mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-04 19:33:40 +00:00
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
#include "Json.hpp"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class ProjectileFactory {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROJECTILEFACTORY
|
|
public:
|
|
class ProjectileFactory& operator=(class ProjectileFactory const &) = delete;
|
|
ProjectileFactory(class ProjectileFactory const &) = delete;
|
|
ProjectileFactory() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROJECTILEFACTORY
|
|
#endif
|
|
MCAPI bool shootProjectileFromDefinition(struct ActorDefinitionIdentifier const &, class Mob *, class Vec3);
|
|
MCAPI static std::unique_ptr<class OnHitSubcomponent> createSubcomponent(class Json::Value &, std::string const &);
|
|
MCAPI static void initFactory();
|
|
|
|
//private:
|
|
|
|
private:
|
|
MCAPI static class std::unordered_map<std::string, class std::function<std::unique_ptr<class OnHitSubcomponent> (void)>, struct std::hash<std::string>, struct std::equal_to<std::string>, class std::allocator<struct std::pair<std::string const, class std::function<std::unique_ptr<class OnHitSubcomponent> (void)>>>> mSubcomponentMap;
|
|
|
|
}; |