LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/BlockActorFactory.hpp
2022-09-21 19:47:03 +08:00

32 lines
906 B
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class BlockActorFactory {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKACTORFACTORY
public:
class BlockActorFactory& operator=(class BlockActorFactory const &) = delete;
BlockActorFactory(class BlockActorFactory const &) = delete;
BlockActorFactory() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKACTORFACTORY
#endif
MCAPI static class std::shared_ptr<class BlockActor> createBlockEntity(enum BlockActorType, class BlockPos const &, class BlockLegacy const &);
//private:
private:
MCAPI static std::vector<struct std::pair<enum BlockActorType, class std::function<class std::shared_ptr<class BlockActor> (class BlockPos const &)>>> mCustomBlockEntityCreation;
};