SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
SetRoomVariablesRequest.h
1 //
2 // SetRoomVariablesRequest.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 
12 #import "BaseRequest.h"
13 #import "User.h"
14 
15 EXTERN NSString * const SetRoomVariablesRequest_KEY_VAR_ROOM;
16 EXTERN NSString * const SetRoomVariablesRequest_KEY_VAR_LIST;
17 
18 /** Set custom Room Variables in a Room
19 
20  @see SFSRoomVariable
21  */
22 @interface SetRoomVariablesRequest : BaseRequest {
23 @private
24 
25  NSArray *_roomVariables;
26  id <Room> _room;
27 }
28 
29 @property (strong) NSArray *roomVariables;
30 @property (strong) id <Room> room;
31 
32 -(id)initWithRoomVariables:(NSArray *)roomVariables room:(id <Room>)room;
33 /**
34 
35  @param roomVariables an Array of RoomVariables
36  @param room the target Room
37 
38  */
39 +(id)requestWithRoomVariables:(NSArray *)roomVariables room:(id <Room>)room;
40 +(id)requestWithRoomVariables:(NSArray *)roomVariables;
41 
42 @end
SetRoomVariablesRequest
Definition: SetRoomVariablesRequest.h:22