Blame view

ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h 762 Bytes
23a302b86   alexYang   GameSDK 的iOS分支提交,...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  #import <Foundation/Foundation.h>
  
  typedef NS_ENUM(NSInteger, LSGAccountType) {
      LSGAccountTypeRegist = 1,
      LSGAccountTypeFBRegist = 5,
      LSGAccountTypeQuickRegist = 4,
      LSGAccountTypeVKRegist = 6,
  };
  
  @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;
  
  @end