//
//  KGCustomUI.h
//  KakaoGame
//
//  Created by eric.jung on 13/03/2020.
//

#import <KakaoGame/KGObject.h>

/**
 * @brief customUI alertType을 위한 Enum.
 */
typedef NS_ENUM(NSInteger, KGCustomAlertType)
{
	KGCustomAlertTypeMaintenance,			/**< 점검 타입. */
	KGCustomAlertTypeNotice					/**< 공지 타입(긴급 공지, 업데이트 팝업, 제재 팝업) */
};

@interface KGCustomUI : NSObject

+ (void)registerShowCustomAlertHandlerWithCustomAlertType:(KGCustomAlertType)customAlertType;

+ (void)registerShowCustomAlertHandlerWithCustomAlertType:(KGCustomAlertType)customAlertType handler:(void(^)(KGCustomAlert *alert))handler;
+ (void)closeCustomAlertUIWithAction:(NSString *)action;

@end
