togetherusersession - TogetherGames/Public-Corona-Lua GitHub Wiki

TogetherUserSession

Together::TogetherUserSession

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

number UserSessionID

The ID of the UserSession.

number UserID

The ID of the User associated with the UserSession.

number GameID

The ID of the Game associated with the UserSession.

number 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** ⚠️