SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
AddBuddyRequest.h
1 //
2 // AddBuddyRequest.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 AddBuddyRequest_KEY_BUDDY_NAME;
14 
15 /** Add a new Buddy to the current Buddy List
16  */
17 @interface AddBuddyRequest : BaseRequest {
18 @private
19  NSString *_name;
20 }
21 
22 @property (strong) NSString *name;
23 
24 -(id)initWithBuddyName:(NSString *)buddyName;
25 
26 /** Sends a request to the server to add a new Buddy to the Buddy List
27 
28  @param buddyName the name of the buddy to add
29 
30  @see [ISFSEvents onBuddyAdd:]
31  @see [ISFSEvents onBuddyError:]
32  @see RemoveBuddyRequest
33 
34  */
35 +(id)requestWithBuddyName:(NSString *)buddyName;
36 
37 @end
AddBuddyRequest
Definition: AddBuddyRequest.h:17