ProjectInfo_Server.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // ProjectInfo_Server.h
  3. // UUTUtils
  4. //
  5. // Created by zhuge on 2017/12/26.
  6. // Copyright © 2017年 zhuge. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "ProjectInfo_Server_AdConditionGlobal.h"
  10. #import "ProjectInfo_Server_AdConfigPageArray.h"
  11. #import "ProjectInfo_Server_GameUpdate.h"
  12. #import "ProjectInfo_Server_GameConfig.h"
  13. #import "ProjectInfo_Server_SDKKeys.h"
  14. #import "ProjectInfo_Server_AdPlatform.h"
  15. @class ProjectInfo_Server_AdId;
  16. @interface ProjectInfo_Server : NSObject
  17. // 广告
  18. @property (strong) NSString *package;
  19. @property (strong) NSMutableArray *maPageArr; //广告配置界面
  20. @property (strong) NSMutableArray *xibAdPlatformArray; //广告平台数组
  21. @property (strong) NSMutableArray<ProjectInfo_Server_AdId*> *xibAdIdArray;//广告id数组
  22. @property (strong) ProjectInfo_Server_AdConditionGlobal *global;
  23. // 游戏配置
  24. @property (strong) ProjectInfo_Server_GameConfig *gameConfig;
  25. @property (strong) ProjectInfo_Server_GameUpdate *update; // 更新信息
  26. @property (strong) ProjectInfo_Server_SDKKeys *sdkKeys; // sdk的keys
  27. // 数据加载状态
  28. @property (strong) NSString *loadingInfo;
  29. @property (strong) NSString *sdkInfo;
  30. @property (strong) NSString *sdkBannerInfo;
  31. @property BOOL isLoadingData;
  32. @property BOOL isDataLoadFinished;
  33. + (ProjectInfo_Server *) create:(NSString *)package;
  34. - (void) init:(NSString*)package;
  35. - (void) initWithDic:(NSDictionary *)dicServer;
  36. - (id) initForNewProject;
  37. - (NSDictionary*) jsonDic;
  38. //
  39. + (void) SaveAddAdId:(int)_id;
  40. @end