SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
LeaveRoomRequest.h
1
//
2
// LeaveRoomRequest.h
3
// SFS2X
4
//
5
// Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
6
//
7
// Maintained and developed by A51 Integrated.
8
// Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
9
//
10
11
#import "BaseRequest.h"
12
#import "Room.h"
13
14
EXTERN NSString *
const
LeaveRoomRequest_KEY_ROOM_ID;
15
16
/**
17
Leaves a currently joined Room
18
*/
19
@interface
LeaveRoomRequest
: BaseRequest {
20
21
@private
22
23
id <Room> _room;
24
}
25
26
27
/**
28
@param room any joined Room that you want to leave, if nil, the last joined Room will be left
29
30
@see [ISFSEvents onUserExitRoom:]
31
@see JoinRoomRequest
32
33
*/
34
+(id)requestWithRoom:(
id
<Room>)room;
35
+(id)request;
36
37
@end
LeaveRoomRequest
Definition:
LeaveRoomRequest.h:19
SFS2X-ObjC-API
Classes
SFS2X
LeaveRoomRequest.h
Generated by
1.8.17