SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
SetBuddyVariablesRequest.h
1 //
2 // SetBuddyVariablesRequest.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 
13 EXTERN NSString * const SetBuddyVariablesRequest_KEY_BUDDY_NAME;
14 EXTERN NSString * const SetBuddyVariablesRequest_KEY_BUDDY_VARS;
15 
16 /** Sets one or more BuddyVariables for the current User.
17 
18  This will update all Users in the Zone who have this User as Buddy in their Buddy Lists.
19  */
20 @interface SetBuddyVariablesRequest : BaseRequest {
21 @private
22 
23  NSArray *_buddyVariables;
24 }
25 
26 @property (strong) NSArray *buddyVariables;
27 
28 -(id)initWithBuddyVariables:(NSArray *)buddyVariables;
29 /**
30  @param buddyVariables an Array of BuddyVariables
31 
32  @see [ISFSEvents onBuddyVariablesUpdate:]
33  @see SFSBuddyVariable
34 
35  */
36 +(id)requestWithBuddyVariables:(NSArray *)buddyVariables;
37 
38 @end
SetBuddyVariablesRequest
Definition: SetBuddyVariablesRequest.h:20