Blame view
ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h
953 Bytes
|
23a302b86
|
1 2 3 4 |
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, LSGAccountType) {
LSGAccountTypeRegist = 1,
|
|
635b66127
|
5 |
LSGAccountTypeFBRegist = 2, |
|
23a302b86
|
6 |
LSGAccountTypeQuickRegist = 4, |
|
582a5a730
|
7 8 9 |
LSGAccountTypeGoogleRegist = 8,
LSGAccountTypeWeChatRegist = 16,
LSGAccountTypeLineRegist = 32,
|
|
23a302b86
|
10 |
}; |
|
635b66127
|
11 |
//判断是不是自动登录情况 |
|
582a5a730
|
12 |
#define LSGAccountTypeBaseLogin 64 |
|
635b66127
|
13 |
|
|
23a302b86
|
14 15 16 |
@interface LSGAccount : NSObject @property(nonatomic, assign) LSGAccountType type; |
|
947ebdf6b
|
17 18 19 20 21 22 23 |
@property(nonatomic, copy) NSString *username; @property(nonatomic, copy) NSString *nickName; @property(nonatomic, copy) NSString *password; @property(nonatomic, copy) NSString *userId; @property(nonatomic, copy) NSString *sessionKey; @property(nonatomic, copy) NSString *deviceId; @property(nonatomic, copy) NSString *sessionInvalidT; |
|
23a302b86
|
24 25 26 27 28 29 |
+ (void)saveAccount:(NSString *)service account:(LSGAccount *)account; + (LSGAccount *)loadAccount:(NSString *)service; + (void)deleteAccount:(NSString *)service; |
|
635b66127
|
30 |
@end |