//
//  CoinCenterTableViewCell.h
//  Open
//
//  Created by 雷俊博 on 2019/8/6.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KKTaskModel.h"
#import "DHCWNativeAdView.h"
#import "HomeCollectionItem2Cell.h"

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, ListCoinsMissonType) {
    ListCoinsMissonTypePublic,
    ListCoinsMissonTypePush,
    ListCoinsMissonTypeNews,
    ListCoinsMissonTypeVideo
};

typedef NS_ENUM(NSUInteger, ListCoinsMissonState) {
    ListCoinsMissonStateUNFinished,
    ListCoinsMissonStateFinished,
    ListCoinsMissonStateError
};
@interface CoinCenterTableViewCell : UITableViewCell

@property (nonatomic, strong)UIButton *btn_right;

@property (nonatomic, assign)ListCoinsMissonState state;

@property (nonatomic, strong) NativeAdCustomView *adView;

/**
    本地视频播放配置对象
 */
@property(nonatomic,strong)DHCWNativeLocalVideoAd *localVideoAd;

- (void)setupCellWithModel:(DHCWNativeAdDataObject *)model
                  delegate:(id<DHCWNativeAdViewDelegate>)delegate local:(id <DHCWNativeLocaVideoAdDelegate>) localDelegate rootViewController:(UIViewController *)rootViewController;

+ (CGFloat)cellHeightForModel:(DHCWNativeAdDataObject *)model;

- (void)refreshUIWithString:(NSString *)str;

- (void)refreshUIWithModel:(KKTaskModel *)model;

@end

NS_ASSUME_NONNULL_END
