PsnClient - stingray.PsnClient object reference - Stingray Lua API Reference

stingray.PsnClient object reference

Description

Represents a network node in a PlayStation Network (PSN) game.

A PsnClient object is returned by the call to Network.init_psn_client(), which initializes the PSN networking system. Client nodes can both create and join PSN rooms.

Functions

Parameters

self :

stingray.PsnClient

Specifies the object instance that this function will act on.

You may use the colon : calling syntax to call this function on an instance of this object. If you do so, you must omit this parameter. For more information, see this Stingray help topic, or this page in the Lua documentation.
Returns

boolean

Returns true if the network context was lost, or false otherwise.

Parameters

self :

stingray.PsnClient

Specifies the object instance that this function will act on.

You may use the colon : calling syntax to call this function on an instance of this object. If you do so, you must omit this parameter. For more information, see this Stingray help topic, or this page in the Lua documentation.
Returns

boolean

Returns true if the client is ready, or false otherwise.

Parameters

self :

stingray.PsnClient

Specifies the object instance that this function will act on.

You may use the colon : calling syntax to call this function on an instance of this object. If you do so, you must omit this parameter. For more information, see this Stingray help topic, or this page in the Lua documentation.
Returns

stingray.PsnRoomBrowser

The PSN room browser object.