Skip to main content

B1RestaurantSeatAssignment

  • Restaurant seat assignment record - tracks which group is registered to which table (BL-58467, seat ownership).
    * Stored and serialized as a TArray on FB2HouseholdBiz. Kept independent of FB1RestaurantOrderTicket because
    * seat registration happens before any order exists (guide-to-seat precedes ordering).

    Two-phase gate: assignment alone does NOT open the seats (Restricted stays on for everyone, including the
    * assigned group, so a manually-possessed or wandering-in customer can never sit at a table that isn't theirs).
    * Only once bActivated is set (by the employee's guide-to-seat interaction) is Restricted lifted for these seats.
PropertyTypeDescriptionMetadata
TableEntityIdFB1EntityIdEntity ID of the table (desk) unit registered to this group.
EaterIdsTArrayEntity ID of each registered group member (Eater). Parallel array with SeatEntityIds.
SeatEntityIdsTArrayEntity ID of the seat (chair) registered to each member, parallel to EaterIds.
bActivatedboolWhether an employee has guided the group to their seats yet. False = seats remain Restricted for everyone (including this group).
bReceivingOrderboolTrue while an employee Coop is receiving this party's order. Runtime-only; restored assignments derive PendingOrder or PendingSeat from current seating.
GuideQueuedTicksint64Game tick of the most recently queued guide-to-seat attempt; -1 if none in flight. Covers the WalkTo-approach
window before Coop connects, where a Coop-connection check cannot yet see the in-flight guide (BL-61977).
Paired with GuideQueuedEmployeeId to detect the attempt ending early; also expires after a short window as a
backstop so a silently failed/canceled attempt does not permanently block reassignment, since PendingGuide has
no stall-timeout dismissal to recover a stuck flag. Cleared once bActivated is set. Runtime-only.
GuideQueuedEmployeeIdFB1EntityIdEmployee entity queued for the in-flight guide-to-seat attempt tracked by GuideQueuedTicks; Invalid if none.
Used to check whether that employee is still actually playing the guide interaction. Runtime-only.
OrderQueuedTicksint64Game tick of the most recently queued order-taking attempt; -1 if none in flight. Same WalkTo-approach gap
as GuideQueuedTicks, before bReceivingOrder is set by the Coop step script (BL-61977). Cleared once
bReceivingOrder is set. Runtime-only.
OrderQueuedEmployeeIdFB1EntityIdEmployee entity queued for the in-flight order-taking attempt tracked by OrderQueuedTicks; Invalid if none. Runtime-only.
CreatedTicksint64Game tick when this assignment was created. Distinguishes a member's departure that happened during
this assignment's lifetime from stale leave-state left over from an earlier, unrelated visit today.