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

stingray.PS4 namespace reference

Description

These functions are specific to PlayStation 4.

Functions

Parameters

user_id :

integer?

Specifies the SceUserServiceUserId of the player. Optional. If omitted, the initial player is used.

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

string

Returns the SceNpAccountId of the specified player.

Parameters
This function does not accept any parameters.
Returns

integer

The user ID of the user who launched the application.

Parameters
This function does not accept any parameters.
Returns

boolean

True if the application is running in NEO mode, or false otherwise.

Parameters

user_id :

integer?

Specifies the SceUserServiceUserId of the player. Optional. If omitted, the initial player is used.

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

boolean

Returns true if the player is signed in.

Parameters
This function does not accept any parameters.
Returns

boolean

True if the application is running in the background, or false otherwise.

boolean

True if the system software UI is being overlaid, or false otherwise.