lipengwei
2020-05-27 1ac0909c7fc8492c120953dbf510394cd0184cac
commit | author | age
dcdc07 1 //
W 2 //  GHWFriend.h
3 //  GHWSdkUI
4 //
5 //  Created by wuyx on 15/7/1.
6 //  Copyright (c) 2015年 GHW-T-01. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 /*!
12  @discussion WAFBApplication
13  - - -
14  */
15 @interface WAAppUser : NSObject<NSCoding,NSCopying>
16 /*!
17  @abstract ID
18  */
19 @property(nonatomic,copy)NSString* ID;
20 /*!
21  @abstract waUserId
22  @discussion 查询游戏内的好友时,waUserId的值是facebook ID对应的ghw UserId.先从facebook查询到好友列表,再用该列表去ghw后台查询对应的waUserId,查询成功则该属性有值,否则为nil.请在使用该属性时做判断
23  */
24 @property(nonatomic,copy)NSString* waUserId;
25 /*!
26  @abstract name
27  */
28 @property(nonatomic,copy)NSString* name;
29 /*!
30  @abstract pictureURL
31  */
32 @property(nonatomic,copy)NSString* pictureURL;
33 /*!
34  @abstract is_silhouette
35  */
36 @property(nonatomic,copy)NSString* is_silhouette;
37 /*!
38  @abstract inviteTime
39  */
40 @property(nonatomic,copy)NSDate* inviteTime;
41 +(WAAppUser*)parserWithResultDict:(NSDictionary*)resultDict platform:(NSString *const)platform;
42 +(NSArray*)parserWithMultiResultDict:(NSDictionary*)resultDict platform:(NSString *const)platform;
43 -(void)encodeWithCoder:(NSCoder *)aCoder;
44 @end