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
| Field | Value |
|---|---|
| Kind | struct |
| Environment | B1 - Presentation |
| Category | structs |
Properties (10)
| Name | Type | Description |
|---|---|---|
EvaluatedObjectIds | table<FB1EntityId, boolean> | Set of object entity IDs already evaluated to prevent duplicate quality assessments. |
PreferredPurchaseInteraction | FB1PurchasableInteractionEntry | Purchasable interaction from the object that last increased purchase desire. Tried once before random selection. |
PurchaseDesire | number | Current purchase desire value for this customer. Range [-Max, Max]. |
PurchaseDriveStartTicks | integer | Game ticks when the purchase desire drive started (threshold reached and payment driving began). Used for drive expiry. |
SatisfactionScores | table<EB1BusinessReviewFactorType, integer> | Accumulated satisfaction scores per review factor type for this customer. |
ServiceUsageCount | table<string, integer> | Map of interaction bag tag to the number of times this customer used that service. |
VisitInfo | FB1CustomerVisitTicks[] | Array of visit tick records for each time this customer entered and left the site. |
bHasPaidEntranceFee | boolean | Whether this customer has paid the one-time entrance fee upon entering the site. |
bManualEntryCustomer | boolean | True when this customer was added by directly entering the biz site instead of the biz customer spawn/timeline flow. |
bRestaurantServiceCompleted | boolean | True 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. |