LeviLamina
Loading...
Searching...
No Matches
DwellerComponent Class Reference

Public Types

enum class  DwellingType : int { VillageDwelling = 0 , Count = 1 }
 

Public Member Functions

DwellerComponentoperator= (DwellerComponent const &)
 
 DwellerComponent (DwellerComponent const &)
 
MCAPI bool _isLockedInToProfession (::Actor const &owner) const
 
MCAPI void addAdditionalSaveData (::CompoundTag &tag, ::Actor const &owner) const
 
MCAPI void fixupProfession (::Actor const &owner, ::Village *village)
 
MCAPI ::std::weak_ptr<::Village > const getVillage (::Actor const &owner) const
 
MCAPI::BlockPos getVillageCenter (::Actor const &owner) const
 
MCAPI bool hasPreferredProfession (::Actor const &owner) const
 
MCAPI void initFromDefinition (::Actor &owner)
 
MCAPI bool isWithinRestriction (::Actor const &owner) const
 
MCAPI bool needsToFixupJobSite (::Actor const &owner) const
 
MCAPI bool needsToFixupProfession (::Actor const &owner) const
 
MCAPI void onDeath (::Actor &owner, ::ActorDamageSource const &source)
 
MCAPI void onRemove (::Actor &owner)
 
MCAPI::DwellerComponent & operator= (::DwellerComponent &&)
 
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
 
MCAPI void setDwellingUniqueID (::Actor &owner, ::mce::UUID id)
 
MCAPI void setLastHurtByMob (::Actor &owner, ::Mob *mob)
 

Static Public Member Functions

static MCAPI ::std::unordered_map<::std::string, ::DwellerRole > const & DWELLING_ROLES ()
 
static MCAPI ::std::unordered_map<::std::string, ::DwellerComponent::DwellingType > const & DWELLING_TYPES ()
 

Public Attributes

::ll::TypedStorage< 1, 1, bool > mCanFindPOI
 
::ll::TypedStorage< 1, 1, bool > mCanMigrate
 
::ll::TypedStorage< 1, 1, bool > mHasJoinedDwelling
 
::ll::TypedStorage< 1, 1, bool > mFixUpRole
 
::ll::TypedStorage< 1, 1, bool > mRewardPlayersOnFirstFounding
 
::ll::TypedStorage< 8, 48, ::HashedStringmPreferredProfession
 
::ll::TypedStorage< 4, 4, int > mFirstFoundingReward
 
::ll::TypedStorage< 4, 4, int > mUpdateIntervalVariant
 
::ll::TypedStorage< 8, 8, uint64 > mDwellingUpdateInterval
 
::ll::TypedStorage< 8, 8, uint64 > mUpdateIntervalBase
 
::ll::TypedStorage< 4, 4, float > mDwellingBoundsTolerance
 
::ll::TypedStorage< 4, 4, ::DwellerComponent::DwellingType > mType
 
::ll::TypedStorage< 4, 4, ::DwellerRole > mRole
 
::ll::TypedStorage< 8, 16, ::mce::UUIDmDwellingUniqueID
 

Member Function Documentation

◆ _isLockedInToProfession()

MCAPI bool DwellerComponent::_isLockedInToProfession ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addAdditionalSaveData()

MCAPI void DwellerComponent::addAdditionalSaveData ( ::CompoundTag & tag,
::Actor const & owner ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fixupProfession()

MCAPI void DwellerComponent::fixupProfession ( ::Actor const & owner,
::Village * village )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getVillage()

MCAPI ::std::weak_ptr<::Village > const DwellerComponent::getVillage ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getVillageCenter()

MCAPI::BlockPos DwellerComponent::getVillageCenter ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ hasPreferredProfession()

MCAPI bool DwellerComponent::hasPreferredProfession ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initFromDefinition()

MCAPI void DwellerComponent::initFromDefinition ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isWithinRestriction()

MCAPI bool DwellerComponent::isWithinRestriction ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ needsToFixupJobSite()

MCAPI bool DwellerComponent::needsToFixupJobSite ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ needsToFixupProfession()

MCAPI bool DwellerComponent::needsToFixupProfession ( ::Actor const & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onDeath()

MCAPI void DwellerComponent::onDeath ( ::Actor & owner,
::ActorDamageSource const & source )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onRemove()

MCAPI void DwellerComponent::onRemove ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=()

MCAPI::DwellerComponent & DwellerComponent::operator= ( ::DwellerComponent && )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ readAdditionalSaveData()

MCAPI void DwellerComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & tag,
::DataLoadHelper & dataLoadHelper )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setDwellingUniqueID()

MCAPI void DwellerComponent::setDwellingUniqueID ( ::Actor & owner,
::mce::UUID id )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setLastHurtByMob()

MCAPI void DwellerComponent::setLastHurtByMob ( ::Actor & owner,
::Mob * mob )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DWELLING_ROLES()

static MCAPI ::std::unordered_map<::std::string, ::DwellerRole > const & DwellerComponent::DWELLING_ROLES ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DWELLING_TYPES()

static MCAPI ::std::unordered_map<::std::string, ::DwellerComponent::DwellingType > const & DwellerComponent::DWELLING_TYPES ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: