SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
QuickJoinGameRequest Class Reference

#import <QuickJoinGameRequest.h>

Inherits BaseRequest.

Instance Methods

(id) - initWithMatchExpression:whereToSearch:roomToLeave:
 

Class Methods

(id) + requestWithMatchExpression:whereToSearch:roomToLeave:
 
(id) + requestWithMatchExpression:whereToSearch:
 

Properties

NSArray * whereToSearch
 
MatchExpressionmatchExpression
 
id< Room > roomToLeave
 

Detailed Description

Quick join a User in a public game.

By providing a MatchExpression and a list of Rooms or Groups the system can search for matching Rooms and immediately teleport the player in the game action.

Method Documentation

◆ requestWithMatchExpression:whereToSearch:roomToLeave:

+ (id) requestWithMatchExpression: (MatchExpression *)  matchExpression
whereToSearch: (NSArray *)  whereToSearch
roomToLeave: (id <Room>)  roomToLeave 
Parameters
matchExpressiona MatchExpression to filter Rooms
whereToSearchthis parameter accepts an array of Room objects or an array of Strings representing valid Room Group names
roomToLeavean optional Room that the User will leave after joining the game
See also
[ISFSEvents onRoomJoin:]
MatchExpression