Blame view
ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h
945 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, |
|
635b66127
|
7 |
LSGAccountTypeVKRegist = 8, |
|
b27a5c1eb
|
8 |
LSGAccountTypeGoogleRegist = 16, |
|
e8af75741
|
9 |
LSGAccountTypeWeChatRegist = 32, |
|
44e1460f1
|
10 |
LSGAccountTypeLineRegist = 64, |
|
23a302b86
|
11 |
}; |
|
635b66127
|
12 |
//判断是不是自动登录情况 |
|
44e1460f1
|
13 |
#define LSGAccountTypeBaseLogin 128 |
|
635b66127
|
14 |
|
|
23a302b86
|
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
@interface LSGAccount : NSObject @property(nonatomic, assign) LSGAccountType type; @property(nonatomic, strong) NSString *username; @property(nonatomic, strong) NSString *nickName; @property(nonatomic, strong) NSString *password; @property(nonatomic, strong) NSString *userId; @property(nonatomic, strong) NSString *sessionKey; @property(nonatomic, strong) NSString *deviceId; + (void)saveAccount:(NSString *)service account:(LSGAccount *)account; + (LSGAccount *)loadAccount:(NSString *)service; + (void)deleteAccount:(NSString *)service; |
|
635b66127
|
30 |
@end |