commit | author | age
|
7321fb
|
1 |
// |
W |
2 |
// WALuaCoreProxy.h |
|
3 |
// WACocos2dxLua |
|
4 |
// |
|
5 |
// Created by wuyx on 16/9/8. |
|
6 |
// |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import <WASdkIntf/WASdkIntf.h> |
|
11 |
@interface WALuaCoreProxy : NSObject |
|
12 |
/*! |
|
13 |
@abstract 初始化 |
|
14 |
*/ |
|
15 |
+(void)init; |
|
16 |
/*! |
|
17 |
@abstract 开启数据收集 |
|
18 |
*/ |
|
19 |
+(void)initAppEventTracker; |
|
20 |
/*! |
|
21 |
@abstract 是否调试模式 |
|
22 |
*/ |
|
23 |
+(NSNumber*)isDebugMode; |
|
24 |
/*! |
|
25 |
@abstract 设置调试模式 |
|
26 |
*/ |
|
27 |
+(void)setDebugMode:(NSDictionary*)dict; |
|
28 |
/*! |
|
29 |
@abstract 获取userId |
|
30 |
*/ |
|
31 |
+(NSString*)getUserId; |
|
32 |
/*! |
|
33 |
@abstract 设置serverId |
|
34 |
@param serverId |
|
35 |
*/ |
|
36 |
+(void)setServerId:(NSDictionary*)dict; |
|
37 |
/*! |
|
38 |
@abstract 获取serverId |
|
39 |
*/ |
|
40 |
|
|
41 |
+(NSString*)getServerId; |
|
42 |
/*! |
|
43 |
@abstract 设置level |
|
44 |
@param level |
|
45 |
*/ |
|
46 |
+(void)setLevel:(NSDictionary*)dict; |
|
47 |
/*! |
|
48 |
@abstract 获取level |
|
49 |
*/ |
|
50 |
+(NSNumber*)getLevel; |
|
51 |
/*! |
|
52 |
@abstract 设置gameUserId |
|
53 |
@param gameUserId |
|
54 |
*/ |
|
55 |
+(void)setGameUserId:(NSDictionary*)dict; |
|
56 |
/*! |
|
57 |
@abstract 获取gameUserId |
|
58 |
*/ |
|
59 |
+(NSString*)getGameUserId; |
|
60 |
@end |