mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
45 lines
1.9 KiB
C++
45 lines
1.9 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class DwellerComponent {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DWELLERCOMPONENT
|
|
public:
|
|
class DwellerComponent& operator=(class DwellerComponent const &) = delete;
|
|
DwellerComponent(class DwellerComponent const &) = delete;
|
|
DwellerComponent() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DWELLERCOMPONENT
|
|
#endif
|
|
MCAPI DwellerComponent(class DwellerComponent &&);
|
|
MCAPI class BlockPos getVillageCenter(class Actor const &) const;
|
|
MCAPI bool hasPreferredProfession(class Actor const &) const;
|
|
MCAPI void initFromDefinition(class Actor &);
|
|
MCAPI void onDeath(class Actor &, class ActorDamageSource const &);
|
|
MCAPI void onRemove(class Actor &);
|
|
MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &);
|
|
MCAPI void setDwellingUniqueID(class Actor &, class mce::UUID);
|
|
MCAPI void setLastHurtByMob(class Actor &, class Mob *);
|
|
MCAPI bool tryToFixupRole(class Actor const &, class Village *);
|
|
|
|
//private:
|
|
MCAPI enum DwellerRole _getRole(std::string const &) const;
|
|
MCAPI enum DwellerComponent::DwellingType _getType(std::string const &) const;
|
|
MCAPI bool _isLockedInToProfession(class Actor const &) const;
|
|
|
|
private:
|
|
MCAPI static class std::unordered_map<std::string, enum DwellerRole, struct std::hash<std::string>, struct std::equal_to<std::string>, class std::allocator<struct std::pair<std::string const, enum DwellerRole>>> const DWELLING_ROLES;
|
|
MCAPI static class std::unordered_map<std::string, enum DwellerComponent::DwellingType, struct std::hash<std::string>, struct std::equal_to<std::string>, class std::allocator<struct std::pair<std::string const, enum DwellerComponent::DwellingType>>> const DWELLING_TYPES;
|
|
|
|
}; |