SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
GoOnlineRequest.h
1 //
2 // GoOnlineRequest.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 GoOnlineRequest_KEY_ONLINE;
14 EXTERN NSString * const GoOnlineRequest_KEY_BUDDY_NAME;
15 EXTERN NSString * const GoOnlineRequest_KEY_BUDDY_ID;
16 
17 
18 /** Toggles the Buddy ONLINE status of the User.
19 
20  All clients who have the current User as their Buddy in the BuddyList, will see his status change accordingly.
21  Going online/offline as Buddy doesn't affect the User connection,the currently joined Zone/Rooms etc...
22 
23  The ONLINE status is maintained by a reserved and persistent BuddyVariable.
24 
25  @see SFSBuddyVariable
26  @see ReservedBuddyVariables
27 
28  */
29 @interface GoOnlineRequest : BaseRequest {
30 @private
31  BOOL _online;
32 }
33 
34 -(id)initWithOnline:(BOOL)online;
35 /**
36 
37  @param online : the Buddy Online status
38 
39  @see [ISFSEvents onBuddyOnlineStateUpdate:]
40  @see [ISFSEvents onBuddyError:]
41 
42  */
43 +(id)requestWithOnline:(BOOL)online;
44 
45 @end
GoOnlineRequest
Definition: GoOnlineRequest.h:29