SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
RoomExtension.h
1 //
2 // RoomExtension.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 <Foundation/Foundation.h>
12 
13 /** This object is part of the RoomSettings parameters used for creating a new Room.
14 
15  It describes the properties of an Extension attached to the Room
16 
17  @see RoomSettings
18  @see CreateRoomRequest
19 
20  */
21 @interface RoomExtension : NSObject {
22  NSString *_id;
23  NSString *_className;
24  NSString *_propertiesFile;
25 }
26 
27 /**
28  The name of the extension
29  */
30 @property (strong) NSString *id_;
31 /**
32  The fully qualified name of the main class in the extension
33  */
34 @property (strong) NSString *className;
35 /**
36  An optional properties file that will be loaded on the server side when the extension is initialized
37  */
38 @property (strong) NSString *propertiesFile;
39 
40 
41 -(id)initWithId:(NSString *)id_ className:(NSString *)className;
42 
43 /**
44  @param id_ the name of the extension
45  @param className the fully qualified name of the main class in the extension
46 
47  @see RoomSettings
48  @see CreateRoomRequest
49 
50  */
51 +(id)extensionWithId:(NSString *)id_ className:(NSString *)className;
52 
53 @end
RoomExtension
Definition: RoomExtension.h:21