TogetherGameInstanceUser - TogetherGames/Public-Corona-Lua GitHub Wiki

TogetherGameInstanceUser

Together::TogetherGameInstanceUser

Overview

The GameInstanceUser class represents a User playing a together GameInstance or match.


Members

number GameInstanceUserID

The ID of the GameInstanceUser.

number GameInstanceID

The ID of the GameInstance the GameInstanceUser belongs to.

number UserID

The ID of the User playing a GameInstance.

string Username

The Username assigned to the User.

string Name

The Name assigned to the User. This will be the same as Username unless the User had registered.

number TurnCount

The number of moves the User has made.

boolean Active

A boolean indicating whether the GameInstance is active.

string SocialType

The type of social network the User is registered with. Facebook="FB".

string SocialID

The ID of the social user the User had registered as. Facebook=[User's facebook ID].

number LastActivityInSeconds

The number of seconds since the User has been active in the GameInstance.

number ClientID

The ID of the Client the User has last played a Game with.

number GameID

The ID of the Game the User has last played.

number PlatformID

The ID of the Platform of the last played Game for the User.

PropertyCollection Properties

A property collection containing all custom properties for the GameInstanceUser.


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