CNGoldWhereaboutsView.h 936 Bytes
//
//  CNGoldWhereaboutsView.h
//  CNLiveNetAdd
//
//  Created by CNLive-zxw on 2019/2/28.
//  Copyright © 2019年 cnlive. All rights reserved.
//

#import "CAEmitterLayerView.h"

NS_ASSUME_NONNULL_BEGIN
@class CNScoreModel;
@protocol CNGoldWhereaboutsViewDelegate <NSObject>
@optional
- (void)login;
@end

typedef NS_ENUM(NSUInteger, CNGoldWhereaboutsViewType) {
    CNGoldWhereaboutsViewTypeDefault,//熊猫
    CNGoldWhereaboutsViewTypeSignIn,//签到
    CNGoldWhereaboutsViewTypeLogin,//熊猫

};

@interface CNGoldWhereaboutsView : CAEmitterLayerView
@property (nonatomic, weak) id<CNGoldWhereaboutsViewDelegate> delegate;

// 游客模式浏览加积分
+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc delegate:(id<CNGoldWhereaboutsViewDelegate>) delegate;

// 默认展示添加积分视图
+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score;

+ (void)hide;

@end

NS_ASSUME_NONNULL_END