Skip to content

SessionRole

public enum SessionRole

Namespace SideHustle

Added in 3.0.0

Who the local player is in a session. Read it from LaunchContext.Role. Since 3.0.0.

Singleplayer

Added in 3.0.0

A singleplayer launch; no lobby.

Host

Added in 3.0.0

The local player opened the lobby and owns the session.

Client

Added in 3.0.0

The local player joined someone else’s lobby.