Classic/VPC環境で利用できます。
利用約款、個人情報保護ポリシー、払い戻しポリシーのお知らせ、ゲームの利用方法、決済および払い戻しに関するお問い合わせ、アカウント管理、バグ報告および提案事項など、さまざまなお問い合わせをサポートします。ユーザーは、ゲーム内のお問い合わせ、または PCからのお問い合わせを登録できます。お問い合わせの際には、画像、映像などのファイルも添付できます。モバイルゲームのサポートセンターは、ユーザーが楽しくゲームを体験をできるようにサポートする重要な役割を果たします。ユーザーからの声に耳を傾けて迅速に対応することで、より良いゲーム環境を提供するために取り組むことが求められます。
対応する言語は英語、韓国語、中国語(繁体字)、中国語(簡体字)、日本語、タイ語、インド語、イタリア語、ドイツ語、スペイン語、フランス語、マレー語の計12の言語です。ほかの言語対応に関するお問い合わせは、NAVERクラウドサポートセンターまでご連絡ください。
使用方法
サポートセンター UIと運用に関するすべての機能は GAMEPOTから提供されます。GAMEPOTダッシュボードのサポート > 設定で各機能の設定を行います。
サポート機能
GAMEPOT SDKで提供されるサポートのウェブビューおよびページ呼び出し機能をご案内します。
利用約款ウェブビュー
利用約款を呼び出すには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.openTerms();
- Kotlin:
NBase.openTerms(activity) { status, error ->
if (error != null) {
// openTerms Failed
Log.e("NBase", "openTerms Failed: ${error.message}")
} else {
// openTerms Success
Log.d("NBase", "openTerms Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openTerms(activity, (status, e) -> {
if (e != null) {
Log.e("NBase", "openTerms Fail: " + e.getMessage());
} else {
Log.d("NBase", "openTerms Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openTerms()
- Objective-C:
[NBaseBridge.shared openTerms];
次の表は、openTermsの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
次の表は、openTermsコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
個人情報保護ポリシーウェブビュー
個人情報保護ポリシーを呼び出すには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.openPrivacy();
- Kotlin:
NBase.openPrivacy(activity) { status, error ->
if (error != null) {
// openPrivacy Failed
Log.e("NBase", "openPrivacy Failed: ${error.message}")
} else {
// openPrivacy Success
Log.d("NBase", "openPrivacy Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openPrivacy(activity, (status, e) -> {
if (e != null) {
Log.e("NBase", "openPrivacy Fail: " + e.getMessage());
} else {
Log.d("NBase", "openPrivacy Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openPrivacy()
- Objective-C:
[NBaseBridge.shared openPrivacy];
次の表は、openPrivacyの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
次の表は、openPrivacyコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
ウェブビュー
GAMEPOTウェブビュー(Webview)は、ネイティブアプリ内で直接ウェブコンテンツを表示する機能を提供します。これにより、ユーザーはゲームから離れずにさまざまなウェブベースのコンテンツにアクセスするできます。
GAMEPOTウェブビューを呼び出すには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.openWebView("https://guide.ncloud-docs.com");
- Kotlin:
NBase.openWebView(activity, "https://guide.ncloud-docs.com") { status, error ->
if (error != null) {
// openWebView Failed
Log.e("NBase", "openWebView Failed: ${error.message}")
} else {
// openWebView Success
Log.d("NBase", "openWebView Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openWebView(activity, "https://guide.ncloud-docs.com", (status, e) -> {
if (e != null) {
Log.e("NBase", "openWebView Fail: " + e.getMessage());
} else {
Log.d("NBase", "openWebView Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openWebView(url: "https://guide.ncloud-docs.com")
- Objective-C:
[NBaseBridge.shared openWebView:@"https://guide.ncloud-docs.com"];
次の表は、openWebViewの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
| url | String | 表示するウェブページ URL | O |
次の表は、openWebViewコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
ページ
ページサービスは、ゲーム内の利用約款、個人情報保護ポリシーのほか、さまざまな目的でウェブページを制作・管理する機能を提供します。ダッシュボードのウェブエディタを通じてユーザーが直接ページをデザインして構成し、これをモバイルゲーム内でウェブビューの形で簡単に表示することができます。これにより、ゲーム開発会社はゲームユーザーに必要な情報を効果的に提供できます。
ページ機能を呼び出すには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.openPage(pageId);
- Kotlin:
NBase.openPage(activity, pageId) { status, error ->
if (error != null) {
// openPage Failed
Log.e("NBase", "openPage Failed: ${error.message}")
} else {
// openPage Success
Log.d("NBase", "openPage Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openPage(activity, pageId, (status, e) -> {
if (e != null) {
Log.e("NBase", "openPage Fail: " + e.getMessage());
} else {
Log.d("NBase", "openPage Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openPage(pageId: pageId)
- Objective-C:
[NBaseBridge.shared openPage: pageId];
次の表は、openPageの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
| pageId | String | ダッシュボード > サポート > ページ > ウェブアクセスアドレスの pages/{pageId}部分の{pageId}値 | O |
次の表は、openPageコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
ストアに移動
ゲームの最新バージョンをユーザーに提供するために、ゲーム内でアプリストアのアップデートページに直接移動する機能は非常に重要です。このため、openAppStoreメソッドを使用してユーザーが簡単にゲームの最新バージョンにアップデートできるようにサポートします。ゲームをアップデートするためにユーザーをアプリストアのアップデートページに案内するためには、ダッシュボードにストア別マーケットコードを設定する必要があります。設定が完了したら、以下のコードを使用してユーザーがアプリストアのアップデートページに移動できるようにします。
- C#:
NBaseSDK.NBase.openAppStore();
- Kotlin:
NBase.openAppStore(activity) { status, error ->
if (error != null) {
// openAppStore Failed
Log.e("NBase", "openAppStore Failed: ${error.message}")
} else {
// openAppStore Success
Log.d("NBase", "openAppStore Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openAppStore(activity, (status, e) -> {
if (e != null) {
Log.e("NBase", "openAppStore Fail: " + e.getMessage());
} else {
Log.d("NBase", "openAppStore Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openAppStore()
- Objective-C:
[NBaseBridge.shared openAppStore];
次の表は、openAppStoreの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
次の表は、openAppStoreコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
お知らせ
ダッシュボードに登録されたお知らせバナーを照会し、ゲーム画面に表示する方法をご案内します。
お知らせ情報の取得
ダッシュボードに設定されたお知らせバナー情報を取得する機能です。お知らせバナー情報を取得するには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.getBanners("url", (banners, error) =>
{
if (error != null)
{
// getBanners Failed
Debug.Log("getBanners Failed: " + error.Message.ToString());
}
else
{
// getBanners Success
Debug.Log("getBanners Success: " + banners.ToString());
}
});
- Kotlin:
NBase.getBanners("url") { banners, error ->
if (error != null) {
// getBanners Failed
Log.e("NBase", "getBanners Failed: ${error.message}")
} else {
// getBanners Success
Log.d("NBase", "getBanners Success: $banners")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.getBanners("url", (banners, e) -> {
if (e != null) {
Log.e("NBase", "getBanners Fail: " + e.getMessage());
} else {
Log.d("NBase", "getBanners Success: " + banners.toString());
}
return null;
});
- Swift:
NBase.getBanners(type: "url") { result in
switch result {
case .success(let banners):
// getBanners Success
print("getBanners Success: \(banners)")
case .failure(let error):
// getBanners Failed
print("getBanners Failed: \(error.localizedDescription)")
}
}
- Objective-C:
[NBaseBridge.shared getBanners:@"url" :^(NSDictionary * _Nullable result, NSError * _Nullable error) {
if (error) {
// getBanners Failed
NSLog(@"getBanners Failed: %@", error.localizedDescription);
} else {
// getBanners Success
NSLog(@"getBanners Success: %@", result);
}
}];
次の表は、getBannersの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| type | String | バナーのタイプ - "url": ウェブ URLにリンクされるバナー - "scheme": スキームにリンクされるバナー |
O |
次の表は、getBannersコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| banners | List |
バナーリスト |
お知らせポップアップの呼び出し
お知らせは、ゲーム内でダッシュボードに設定した画像を表示する機能を提供します。クリックイベントで特定のリンクを開くことができます。
Android SDK 3.0.96、iOS SDK 3.0.65、Unity SDK 3.0.18以降では、バナーページのインジケーターの形状(線型またはドット型)や色、自動スクロールの間隔を設定できます。以下はこれらオプションをすべて使用する例です。
- C#:
NBaseSDK.NBase.openBanner(
"url",
true,
true,
"#FFFFFF",
"#808080",
"5",
(bannerId, error) =>
{
if (error != null)
{
Debug.Log("openBanner Failed: " + error.Message);
return;
}
Debug.Log("openBanner Success: " + bannerId);
}
);
- Kotlin:
NBase.openBanner(
activity,
"url",
true,
true,
"#FFFFFF",
"#808080",
"5"
) { bannerId, error ->
if (error != null) {
// openBanner Failed
Log.e("NBase", "openBanner Failed: ${error.message}")
} else {
// openBanner Success
Log.d("NBase", "openBanner Success: $bannerId")
}
}
- Java:
NBase.INSTANCE.openBanner(
activity,
"url",
true,
true,
"#FFFFFF",
"#808080",
"5",
(bannerId, error) -> {
if (error != null) {
Log.e("NBase", "openBanner Failed: " + error.getMessage());
} else {
Log.d("NBase", "openBanner Success: " + bannerId);
}
return null;
}
);
- Swift:
NBase.openBanner(
type: "url",
showTodayButton: true,
useLineIndicator: true,
activeColorHex: "#FFFFFF",
inactiveColorHex: "#808080",
rollSecond: "5"
) { result in
switch result {
case .success(let bannerId):
// openBanner Success
print("openBanner Success: \(bannerId)")
case .failure(let error):
// openBanner Failed
print("openBanner Failed: \(error.localizedDescription)")
}
}
- Objective-C:
[NBaseBridge.shared openBanner:@"url"
showTodayButton:YES
useLineIndicator:YES
activeColorHex:@"#FFFFFF"
inactiveColorHex:@"#808080"
rollSecond:@"5"
:^(NSDictionary * _Nullable result, NSError * _Nullable error) {
if (error) {
// openBanner Failed
NSLog(@"openBanner Failed: %@", error.localizedDescription);
} else {
// openBanner Success
NSLog(@"openBanner Success: %@", result);
}
}];
次の表は、openBannerの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
| type | String | バナータイプ
|
O |
| showTodayButton | Boolean | [今日は表示しない] ボタンを表示するか | O |
| useLineIndicator | Boolean | バナーページインジケーター形状
|
X |
| activeColor / activeColorHex | String | 現在のページインジケーターの色 (16進数カラー文字列)
|
X |
| inactiveColor / inactiveColorHex | String | 無効なページのインジケーターの色 (16進数のカラー文字列)
|
X |
| rollSecond | String | バナーの自動スクロール間隔 (秒)
|
X |
次の表は、openBannerコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| bannerId | String | クリックされたバナーの URLまたは Scheme |
| error | Error | バナー表示失敗時のエラー情報 |
お問い合わせ
ユーザーがゲーム内でサポートメニューにアクセスできるよう、サポートのウェブビューを呼び出す方法をご案内します。
サポートウェブビュー
サポートウェブビューは、ゲーム内でユーザーがお問い合わせの受付、お知らせ、FAQなどのメニューにアクセスできるウェブビューを表示する機能です。サポートウェブビューを呼び出すには、以下のコードを呼び出します。
- C#:
NBaseSDK.NBase.openCustomerSupport();
- Kotlin:
NBase.openCustomerSupport(activity) { status, error ->
if (error != null) {
// openCustomerSupport Failed
Log.e("NBase", "openCustomerSupport Failed: ${error.message}")
} else {
// openCustomerSupport Success
Log.d("NBase", "openCustomerSupport Success: $status")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openCustomerSupport(activity, (status, e) -> {
if (e != null) {
Log.e("NBase", "openCustomerSupport Fail: " + e.getMessage());
} else {
Log.d("NBase", "openCustomerSupport Success: " + status.toString());
}
return null;
});
- Swift:
NBase.openCustomerSupport()
- Objective-C:
[NBaseBridge.shared openCustomerSupport];
次の表は、openCustomerSupportの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
次の表は、openCustomerSupportコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| status | Boolean | 成功したかどうか |
約款に同意
利用約款と個人情報保護ポリシーを併せて表示し、ユーザーの同意を得る方法についてご案内します。
利用約款と個人情報保護ポリシーへの同意
利用約款と個人情報保護ポリシーを一緒に表示し、ユーザーのプッシュ同意の有無と約款への同意を受ける機能です。
- C#:
NBaseSDK.NBase.openTermsAndPrivacy((agreement, error) =>
{
if (error != null)
{
// openTermsAndPrivacy Failed
Debug.Log("openTermsAndPrivacy Failed: " + error.Message.ToString());
}
else
{
// openTermsAndPrivacy Success
Debug.Log("openTermsAndPrivacy Success: " + agreement.ToString());
}
});
- Kotlin:
NBase.openTermsAndPrivacy(activity) { agreement, error ->
if (error != null) {
// openTermsAndPrivacy Failed
Log.e("NBase", "openTermsAndPrivacy Failed: ${error.message}")
} else {
// openTermsAndPrivacy Success
Log.d("NBase", "openTermsAndPrivacy Success: $agreement")
}
}
- Java:
NBase nBase = NBase.INSTANCE;
nBase.openTermsAndPrivacy(activity, (agreement, e) -> {
if (e != null) {
Log.e("NBase", "openTermsAndPrivacy Fail: " + e.getMessage());
} else {
Log.d("NBase", "openTermsAndPrivacy Success: " + agreement.toString());
}
return null;
});
- Swift:
NBase.openTermsAndPrivacy { result in
switch result {
case .success(let agreement):
// openTermsAndPrivacy Success
print("openTermsAndPrivacy Success: \(agreement)")
case .failure(let error):
// openTermsAndPrivacy Failed
print("openTermsAndPrivacy Failed: \(error.localizedDescription)")
}
}
- Objective-C:
[NBaseBridge.shared openTermsAndPrivacy:^(NSDictionary * _Nullable result, NSError * _Nullable error) {
if (error) {
// openTermsAndPrivacy Failed
NSLog(@"openTermsAndPrivacy Failed: %@", error.localizedDescription);
} else {
// openTermsAndPrivacy Success
NSLog(@"openTermsAndPrivacy Success: %@", result);
}
}];
次の表は、openTermsAndPrivacyの呼び出し時に渡されるパラメータについて説明します。
- Parameter
| Key | Type | Description | Required |
|---|---|---|---|
| activity | Activity | 現在の Activity (Androidのみ対象) | O |
次の表は、openTermsAndPrivacyコールバックで渡される値を説明します。
- Callback
| Key | Type | Description |
|---|---|---|
| agreement | Agreement | 同意結果情報 |