8 lines
250 B
TypeScript
8 lines
250 B
TypeScript
|
|
export interface AuthUser {
|
||
|
|
// Stable user id used everywhere in the game (player ids, rtmt client ids).
|
||
|
|
id: string;
|
||
|
|
// Display name shown to other players. Undefined for legacy userKey clients.
|
||
|
|
name?: string;
|
||
|
|
isGuest: boolean;
|
||
|
|
}
|