usersession - TogetherGames/Public-Unity-CSharp GitHub Wiki

UserSession

Together::UserSession

Overview

The UserSession class represents the together UserSession. A UserSession is generated and returned when the 'loginuser' message is sent to the server. The SessionToken member is passed along to the together server by all other subsequent messages.


Members

long UserSessionID

The ID of the UserSession.

long UserID

The ID of the User associated with the UserSession.

long GameID

The ID of the Game associated with the UserSession.

long PlatformID

The ID of the Platform associated with the UserSession.

string SessionToken

A tokenized string that represents this UserSession. This is used by most network messages to the together server.


⚠️ **GitHub.com Fallback** ⚠️