SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
BaseEvent.h
1 //
2 // BaseEvent.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 "Common.h"
12 /**
13  This is the Base class of all Events in the API
14 
15  @see ISFSEvents
16  @see SFSBuddyEvent
17 
18  */
19 @interface BaseEvent : NSObject {
20 @protected
21  NSString *_type;
22  NSDictionary *_params;
23 }
24 
25 /** An Object containing the event's parameters
26  */
27 @property (nonatomic, strong) NSDictionary *params;
28 
29 /** A string defining the event type
30  */
31 @property (nonatomic, strong) NSString *type;
32 
33 -(id)initWithType:(NSString *)type params:(NSDictionary *)params;
34 
35 
36 @end
BaseEvent
Definition: BaseEvent.h:19