SessionManager

Thread-safe registry for active player sessions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Creates and registers a new PlayerSession.

Link copied to clipboard
fun remove(session: PlayerSession)

Removes a session from the registry.

Link copied to clipboard
fun size(): Int

Returns number of currently tracked sessions.