Skip to main content

ClientInfo

type ClientInfo = {
client_id: UUID;
client_type: "user" | "guest" | "unknown";
user_id: UUID;
username: string;
};

Defined in: livelink.js/sources/session/ClientInfo.ts:9

Information about a client in a session.

Type declaration

NameTypeDescription
client_idUUIDThe unique identifier of the client. This is unique for each client in a session. This is only valid for the duration of the session.
client_type"user" | "guest" | "unknown"The type of the client. - "user" for authenticated users - "guest" for unauthenticated users - "unknown" for unknown clients
user_idUUIDThe unique identifier of the user on the 3dverse platform. The same user can have multiple clients in a session. In this case, the user_id is the same for all clients spawned by the same user.
usernamestringThe username associated to the user on the 3dverse platform.