B1RestaurantOrderTicket
- Restaurant order ticket - the tracking unit for a single order (BL-58465).
* All restaurant features (ordering, cooking, serving, eating, payment) are driven by this struct's state.
* It is stored and serialized as a TArray on FB2HouseholdBiz.
| Property | Type | Description | Metadata |
|---|---|---|---|
| EaterId | FB1EntityId | Entity ID of the character who receives and eats the ordered dish. | |
| EaterHouseholdEntityId | FB1EntityId | Household entity ID snapshotted when the order is placed. | |
| PayerId | FB1EntityId | Canonical party representative captured at order time; any ticket EaterId in the settlement group may pay. | |
| SettlementGroupId | FB1RestaurantSettlementGroupId | Stable identifier shared by every order ticket committed in one restaurant party order. | |
| OriginalPriceSnapshot | int64 | Menu item's original price captured at order commit, before quality, business level and price-policy multipliers. | |
| PaymentPriceSnapshot | int64 | Final customer payment price calculated with the High quality rate at order commit and charged unchanged after the meal. | |
| SettlementState | EB1RestaurantSettlementState | Persistent settlement lifecycle shared by every ticket in SettlementGroupId. | |
| SeatEntityId | FB1EntityId | Entity ID of the seat (slot owner chair) registered to the eater. | |
| TableEntityId | FB1EntityId | Entity ID of the table (desk) unit the seat belongs to. | |
| ServedFoodEntityId | FB1EntityId | * Entity ID of the exact ServedFood spawned for this ticket. * It is committed atomically with Ready -> Served and remains authoritative after the food leaves its table slot. | |
| RecipeId | FName | Ordered recipe ID; only Served-type recipes are orderable. | |
| QualityGrade | EB1Quality | Quality grade rolled once when a chef claims the cooking batch; None while the ticket is still Ordered. | |
| State | EB1OrderState | Current order state in the ticket state machine. | |
| StateEnterTicks | int64 | Game tick when the ticket entered the current state; used for ordering and restored-state bookkeeping. | |
| bMealFinished | bool | Set when the eater's RestaurantEat action finished. The restaurant reconciler is the only writer of State, so it converts this flag into Eaten instead of the action doing the transition itself. | |
| bBilledOnDeparture | bool | Set when the ticket is cancelled because its eater left the site mid-service. The order is still charged to the party, so IsBillable() keeps it in the settlement total even though the meal was never completed. |
Back to Type FinderSearch and filter all 2203 StructGuide documents