MultiplayerSessionGroup - stingray.MultiplayerSessionGroup namespace reference - Stingray Lua API Reference

stingray.MultiplayerSessionGroup namespace reference

Description

The interface to access session group functionality on Xbox One.

Functions

Parameters

session_group_id :

integer

Id of the session group to check session status for.

session_status :

number

Status to match sessions against. Must be one of the SessionStatus constants.

Returns

boolean

True if all sessions in the session group match the supplied status, otherwise false.

Parameters

session_group_id :

integer

Id of the session group to get session master for.

Returns

integer?

Session Id of the session master. If there is no master nil wil be returned.

The ? notation indicates that this type is optional: there may be zero or one instances of it.