Both clocks sit next to the players' names and count down in server time; the running one is highlighted and turns red under 30 seconds. They replace the offline countdown, so core drops TURN_TIMEOUT_MS, INACTIVE_TIMEOUT_MS, offlineSince and its text. Long info texts wrap on phones.
8 lines
206 B
TypeScript
8 lines
206 B
TypeScript
export interface UserConnectionInfo {
|
|
userId: string;
|
|
isOnline: boolean;
|
|
// Sent by servers with Keycloak auth; undefined for legacy userKey players.
|
|
name?: string;
|
|
isGuest?: boolean;
|
|
}
|