Usage Overview
This document explains how the POS Device system behaves during real usage scenarios.
Roles
Operator
The operator is the player who initiates the payment.
Responsibilities:
- Opens the POS Device
- Enters payment amount
- Confirms or cancels the transaction
Restrictions:
- Cannot open multiple sessions
- Cannot target players already in a session
Customer
The customer is the player receiving the payment request.
Responsibilities:
- Reviews the payment
- Accepts or rejects the request
Restrictions:
- Cannot be targeted by multiple operators
- Cannot initiate another POS session simultaneously
Typical Payment Flow
- Operator opens the POS Device
- Operator targets a nearby player
- System validates availability
- Customer receives payment request
- Customer accepts or declines
- Transaction result is returned
- Session is closed
If validation fails, the process is aborted silently.
Session Safety Rules
The system enforces strict rules:
- A player cannot be operator and customer at the same time
- Duplicate sessions are blocked
- Sessions close automatically on disconnect
- Invalid UI states are prevented server-side