Skip to main content

FB1CustomerBizInfo

Overview

  • Tracks all runtime business data for a single customer during a business day, including visit ticks, service usage counts, per-factor satisfaction scores, and payment state.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (10)

NameTypeDescription
EvaluatedObjectIdstable<FB1EntityId, boolean>Set of object entity IDs already evaluated to prevent duplicate quality assessments.
PreferredPurchaseInteractionFB1PurchasableInteractionEntryPurchasable interaction from the object that last increased purchase desire. Tried once before random selection.
PurchaseDesirenumberCurrent purchase desire value for this customer. Range [-Max, Max].
PurchaseDriveStartTicksintegerGame ticks when the purchase desire drive started (threshold reached and payment driving began). Used for drive expiry.
SatisfactionScorestable<EB1BusinessReviewFactorType, integer>Accumulated satisfaction scores per review factor type for this customer.
ServiceUsageCounttable<string, integer>Map of interaction bag tag to the number of times this customer used that service.
VisitInfoFB1CustomerVisitTicks[]Array of visit tick records for each time this customer entered and left the site.
bHasPaidEntranceFeebooleanWhether this customer has paid the one-time entrance fee upon entering the site.
bManualEntryCustomerbooleanTrue when this customer was added by directly entering the biz site instead of the biz customer spawn/timeline flow.
bRestaurantServiceCompletedbooleanTrue once a ResidenceFamily customer has completed a restaurant payment this visit; cleared in B2HouseholdBiz::OnEnterSite_Customer once the customer has stayed away at least RestaurantServiceCompletedCooldownMinutes. Blocks re-entering the guide/waiting queue until then.