Skip to main content

FB2Household

Overview

  • No description available.

Metadata

FieldValue
Kindstruct
EnvironmentB2 - Simulation
Categorystructs
ExtendsFB2Entity

Properties (21)

NameTypeDescription
ActiveNeighborhoodStoriestable<string, boolean>Neighborhood stories: list of active story IDs.
AutonomyOptionFB1AutonomyOption
HouseholdBizEntityIdsFB1EntityId[]
HouseholdBizSiteEntityIdsFB1EntityId[]
HouseholdDescriptionTextIdstring
HouseholdDtIdstring
HouseholdNameDataFB1DisplayNameData
HouseholdTextureIdstring
LastCustomizeTimeintegerThe time the user last customized.
MembersFB1EntityId[]
NewUnlockedRewardObjectstable<string, boolean>
ResidanceSiteIdFB1EntityId
SaleObjectListFB1EntityId[]Objects for sale are managed by the family.
UnlockedObjectDataContainerFB1UnlockedRewardObjectDataContainer
bCanMoveInbooleanDistinguishes whether the family can move in (e.g. a code-made single-person family for a job-role NPC); not about whether it currently has a residence.
bCanvasImportedboolean
bEverPossessedbooleanWhether the family was ever possessed.
bFamilyPortraitDirtyboolean
bIsPossessedTodaybooleanWhether the family was played today.
bPlayerCreatedboolean
bUseDirectTaxPaymentbooleanWhether utility bills are paid manually.

Functions (58)

FunctionParametersReturnsDescription
ActivateNeighborhoodStoryInStoryId: string-
AddHouseholdBizEntityIdInHouseholdBizId: FB1EntityId-Adds Household Biz Entity Id.
AddHouseholdBizSiteEntityIdInSiteEntityId: FB1EntityId-Adds Household Biz Site Entity Id.
AddHouseholdMemberInCharacterId: FB1EntityId, InForce: booleanbooleanAdds Household Member.
AddHouseholdMembersInCharacterIds: FB1EntityId[], InForce: boolean-Adds Household Members.
AddSaleObjectInEntityId: FB1EntityId-Adds Sale Object.
AddUnlockRewardObjectInObjectId: string, InUnlockRewardReason: EB1UnlockRewardReason, bSendPacket: boolean-Adds Unlock Reward Object.
CanAddHouseholdMemberInCharacterId: FB1EntityIdbooleanReturns whether it can Add Household Member.
CanMergeHouseholdMemberInCharacterId: FB1EntityId, MaxFamilyMemberCount: integerbooleanReturns whether it can Merge Household Member.
ChangeResidanceSiteInResidenceSiteId: FB1EntityId-
DeactivateNeighborhoodStoryInStoryId: string-
EvictSitebIsResetPrevSite: boolean-
GetAutonomyOption-FB1AutonomyOptionReturns Autonomy Option.
GetCanMoveIn-booleanReturns Can Move In.
GetCityMovePolicyMapInCityMoveDataPolicyType: EB1CityMoveDataPolicyTypetable<string, EB1CityMoveDataPolicy>Returns City Move Policy Map.
GetDefaultCityMoveDataPolicy-EB1CityMoveDataPolicyReturns Default City Move Data Policy.
GetExportData-stringReturns Export Data.
GetHouseholdBizEntityIdList-FB1EntityId[]Returns Household Biz Entity Id List.
GetHouseholdBizSiteEntityIdList-FB1EntityId[]Returns Household Biz Site Entity Id List.
GetHouseholdDtId-stringReturns Household Dt Id.
GetHouseholdGrowthStepMemberCountInGrowthStep: EB1GrowthStepintegerReturns Household Growth Step Member Count.
GetHouseholdInfo-FB1HouseholdInfoReturns Household Info.
GetHouseholdMemberCount-integerReturns Household Member Count.
GetHouseholdMemberCountWithPregnancy-integerReturns Household Member Count With Pregnancy.
GetHouseholdMembers-FB1EntityId[]Returns Household Members.
GetHouseholdName-stringReturns Household Name.
GetHouseholdNameData-FB1DisplayNameDataReturns Household Name Data.
GetResidanceSiteId-FB1EntityIdReturns Residance Site Id.
HasUnlockedRewardObjectInObjectId: stringbooleanReturns whether it has Unlocked Reward Object.
InitDataInHouseholdInfo: FB1HouseholdInfo-Initializes Data.
IsEverPossessed-booleanReturns whether Ever Possessed.
IsHouseholdMemberInEntityId: FB1EntityIdbooleanReturns whether Household Member.
IsNeighborhoodStoryActiveInStoryId: stringbooleanReturns whether Neighborhood Story Active.
IsPlayerCreated-booleanReturns whether Player Created.
IsPossessedToday-booleanReturns whether Possessed Today.
IsSleepingAllMember-booleanReturns whether Sleeping All Member.
IsUseDirectTaxPayment-booleanReturns whether Use Direct Tax Payment.
OnDayChanged--Callback invoked on Day Changed.
OnOwnerHouseholdPossessed--Callback invoked on Owner Household Possessed.
RefreshHouseholdMemberInfo--
RemoveHouseholdBizEntityIdInHouseholdBizId: FB1EntityId-Removes Household Biz Entity Id.
RemoveHouseholdBizSiteEntityIdInSiteEntityId: FB1EntityId-Removes Household Biz Site Entity Id.
RemoveHouseholdMemberInCharacterId: FB1EntityId, OutDestoryFamily: boolean, bSendUpdate: boolean-Removes Household Member.
RemoveSaleObjectInEntityId: FB1EntityId-Removes Sale Object.
SendRemoveHouseholdBizInfoByEntityIdInRemoveEntityId: FB1EntityId-Sends Remove Household Biz Info By Entity Id.
SendRemoveHouseholdBizInfoByEntityIdsInEntityIds: FB1EntityId[]-Sends Remove Household Biz Info By Entity Ids.
SendUnlockRewardObjectInUnlockRewardReason: EB1UnlockRewardReason-Sends Unlock Reward Object.
SendUpdateHouseholdBizInfo--Sends Update Household Biz Info.
SendUpdateHouseholdInfobForceSendPacket: boolean-Sends Update Household Info.
SetCanMoveInInCanMoveIn: boolean-Sets Can Move In.
SetCustomHouseholdNameInCustomHouseholdName: string-Sets Custom Household Name.
SetHouseholdNameInDisplayNameData: FB1DisplayNameData-Sets Household Name.
SetPlayerCreatedFlag--Sets Player Created Flag.
SetResidanceSiteIdInResidanceSiteId: FB1EntityId, bIsResetPrevSite: boolean, bIsGhost: boolean-Sets Residance Site Id.
SetUseDirectTaxPaymentInUseDirectTaxPayment: boolean-Sets Use Direct Tax Payment.
SyncUnlockRewardObject--
UpdateDataInHouseholdInfo: FB1HouseholdInfo-Updates Data.
UpdateLastCustomizeTime--Updates Last Customize Time.