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 &tag, ::CompoundTag const &owner, ::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
 

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