HIVE SDK for Unreal Engine

HivePromotion.h
이 파일의 문서화 페이지로 가기
1
14#pragma once
15
16#include "CoreMinimal.h"
17#include "Impl/HivePromotionImpl.h"
18
19HIVESDK_API IHivePromotionImpl* GetPromotionInstance();
20
31class HIVESDK_API FHivePromotion
32{
33public:
58 static void ShowPromotion(const EHivePromotionType& PromotionType, bool IsForced, const FHivePromotionViewDelegate& Delegate);
59
74 static void ShowCustomContents(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionViewDelegate& Delegate);
75
90 static void ShowCustomContentsOnGameWindow(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionViewDelegate& Delegate);
91
105
120 static void ShowOfferwall(const FHivePromotionViewDelegate& Delegate);
121
133 static void ShowNews(const FString& Menu, const TArray<int32>& GiftPidList, const FHivePromotionViewDelegate& Delegate);
134
149 static void ShowNativeReview();
150
165 static void ShowReview(const FHivePromotionViewDelegate& Delegate);
166
179 static void ShowExit(const FHivePromotionViewDelegate& Delegate);
180
192 static void GetViewInfo(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionOnViewInfoDelegate& Delegate);
193
206 static void GetBadgeInfo(const FHivePromotionOnBadgeInfoDelegate& Delegate);
207
223 static void GetBannerInfo(const EHivePromotionCampaignType& CampaignType, const EHivePromotionBannerType& BannerType, const FHivePromotionOnBannerInfoDelegate& Delegate);
224
240 static void GetBannerInfoString(const FString& CampaignString, const FString& BannerString, const FHivePromotionOnBannerInfoDelegate& Delegate);
241
261 static void GetAppInvitationData(const FHivePromotionOnAppInvitationDataDelegate& Delegate);
262
279 static void SetAdditionalInfo(const FString& AdditionalInfo);
280
297 static TOptional<FHiveResultAPI> SetEngagementReady(bool IsReady);
298
311 static bool ProcessURI(const FString& URI);
312
319 static void SetEngagementDelegate(const FHivePromotionOnEngagementDelegate& Delegate);
320
334 static void ShowUAShare(const FString& InviteMessage, const FString& InviteLink, const FHivePromotionOnUAShareDelegate& Delegate);
335
346 static void UpdatePromotionData();
347
359 static void GetAppInvitationSenderInfo(const FHivePromotionOnAppInvitationSenderInfoDelegate& Delegate);
360};
HIVE 프로모션은 게임을 이용하는 유저에게 게임의 새로운 소식이나 이벤트를 효과적으로 노출하는 기능을 제공한다 프로모션 뷰 (공지, 이벤트), 보상 (쿠폰,...
Definition: HivePromotion.h:32
static void ShowReview(const FHivePromotionViewDelegate &Delegate)
리뷰 유도 팝업 노출 게임 유저들의 긍정적인 평점 및 사용 후기는 다른 유저들이 게임을 이용하는데 영향을 미치게 된다.
static void GetBannerInfoString(const FString &CampaignString, const FString &BannerString, const FHivePromotionOnBannerInfoDelegate &Delegate)
배너 정보 조회 특정 프로모션에 대한 배너 정보를 요청한다.
static void ShowNews(const FString &Menu, const TArray< int32 > &GiftPidList, const FHivePromotionViewDelegate &Delegate)
게임의 새로운 이벤트나 새로운 게임 소개등의 새소식 화면을 노출
static EHiveOfferwallState GetOfferwallState()
게임내에서 무료 충전소를 노출하기 위한 버튼 UI 는 보여지거나 숨길 수 있도록 구성해야 한다.
static bool ProcessURI(const FString &URI)
URI를 파싱하여 Event 타입으로 만든다.
static void GetAppInvitationSenderInfo(const FHivePromotionOnAppInvitationSenderInfoDelegate &Delegate)
UA를 통해 자신을 앱으로 최초 초대한 유저의 정보 반환 한다.
static TOptional< FHiveResultAPI > SetEngagementReady(bool IsReady)
Engagement 이벤트 처리가 가능한지(게임 서버에 DB가 생성된 경우 등) 여부를 설정한다.
static void GetViewInfo(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionOnViewInfoDelegate &Delegate)
HIVE 프로모션 웹 뷰의 UI 를 게임 UI 의 컨셉에 맞추기 위해서 프로모션 웹 뷰를 게임에서 직접 구현 할 수 있다 이 메서드는 게임에서 HIVE 프로모션 웹 뷰를 커스터 마...
static void UpdatePromotionData()
/~korean Promotion 정보 갱신 Promotion 새소식 페이지 등의 노출에 필요한 정보를 갱신한다.
EHiveOfferwallState
게임내 오퍼월(무료 충전소) 을 호출 할 수 있는 버튼 노출 가능 상태 정보
Definition: HivePromotionTypes.h:68
static void ShowNativeReview()
리뷰 유도 팝업 노출 게임 유저들의 긍정적인 평점 및 사용 후기는 다른 유저들이 게임을 이용하는데 영향을 미치게 된다.
static void GetBadgeInfo(const FHivePromotionOnBadgeInfoDelegate &Delegate)
뱃지 정보 조회 프로모션 뱃지는 유저에게 새로운 프로모션 내용이 등록 되었음을 알려주기 위해서 게임의 버튼 UI 를 부각하는 정보이다
static void ShowExit(const FHivePromotionViewDelegate &Delegate)
종료 확인 팝업 노출 (Android only.) 이용 중인 게임을 종료 하려는 유저에게 새로운 HIVE 게임의 다운로드를 유도하기 위해 '더 많은 게임'이란 버튼을 노출한다
static void ShowPromotion(const EHivePromotionType &PromotionType, bool IsForced, const FHivePromotionViewDelegate &Delegate)
게임의 새로운 이벤트나 새로운 게임 소개등의 배너 화면을 노출
static void ShowOfferwall(const FHivePromotionViewDelegate &Delegate)
무료 충전소 화면 노출 (Android only.) 무료 충전소는 HIVE 게임 간의 광고 네트워크로 기존 HIVE 유저들이 새로운 HIVE 게임을 이용할 수 있도록 유도하는 기능...
EHivePromotionType
프로모션 뷰 창의 형태
Definition: HivePromotionTypes.h:21
static void ShowUAShare(const FString &InviteMessage, const FString &InviteLink, const FHivePromotionOnUAShareDelegate &Delegate)
외부 SNS를 통해 UA url을 공유하기 위한 다이얼로그 노출
static void SetAdditionalInfo(const FString &AdditionalInfo)
프로모션 뷰의 특정 이벤트 페이지를 노출하거나 프로모션 서버에 부가 정보를 전달하고 싶을 때 JSON 포맷의 문자열을 설정할 수 있다
EHivePromotionBannerType
롤링 배너 데이터 요청시 선택한 배너 타입
Definition: HivePromotionTypes.h:153
EHivePromotionCustomType
커스텀 컨텐츠의 형태
Definition: HivePromotionTypes.h:53
static void SetEngagementDelegate(const FHivePromotionOnEngagementDelegate &Delegate)
Engagement 리스너를 등록한다.
static void ShowCustomContents(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionViewDelegate &Delegate)
외부 컨텐츠를 사용하기 위해서 커스텀 웹 뷰 노출
static void ShowCustomContentsOnGameWindow(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionViewDelegate &Delegate)
외부 컨텐츠를 사용하기 위해서 커스텀 웹 뷰 노출 (GameWindow)
EHivePromotionCampaignType
롤링 배너 데이터 요청시 선택한 캠페인 타입
Definition: HivePromotionTypes.h:138
static void GetBannerInfo(const EHivePromotionCampaignType &CampaignType, const EHivePromotionBannerType &BannerType, const FHivePromotionOnBannerInfoDelegate &Delegate)
배너 정보 조회 특정 프로모션에 대한 배너 정보를 요청한다.
static void GetAppInvitationData(const FHivePromotionOnAppInvitationDataDelegate &Delegate)
앱 초대를 위한 데이터 조회 게임에서 더 많은 사용자를 유치하기 위해서 앱 설치 유도 기능을 제공한다.
Copyright © Com2uS Platform Corporation. All Right Reserved. 이용약관 개인정보 처리방침