Type Function Return value none Revision 2017.3060 Keywords Google Play Games Services, game network, gpgs, multiplayer, real-time, create See also gpgs.multiplayer.realtime gpgs.multiplayer gpgs.*
Creates a real-time room for the current game. The lifetime of the current game's connection to the room is bound to this client's lifecycle. When the client disconnects, the player will leave the room and any room
listener defined via gpgs.multiplayer.realtime.setListeners().
gpgs.multiplayer.realtime.create( params )
Table. Contains parameters for the call — see the next section for details.
The params
table contains parameters for the call.
String. If specified, invites only this player.
Array. Populate with string elements to invite all specified players. If provided, this has higher priority than playerId
.
Table. Specifies auto-match options — see the next section for details.
Number. Minimum number of auto-matched players.
Number. Maximum number of auto-matched players.
Number. Exclusive bit masks for the and
of each pairing of 0
for an
Number. This is an optional,