アドベンチャーゲーム

ビジュアルノベルのようにテキストと絵でストーリーが展開され、選択肢によってストーリーが分岐されるゲームの場合、以下のようにメソッドを呼び出してください。

キャラクターの獲得

選択した特定のキャラクターやストーリーを獲得する場合、GetCharacterを呼び出してください。

キャラクターまたは分岐の選択
メソッド パラメータ データ型 必須 備考

GetCharacter

player_uuid

string

必須

character_uuid

string

必須

characterarchetype_slug

string

必須

空里慎ルート

from_entity

オプション

entity.PlayStage

from_category_slug

string

オプション

空里慎ルート

from_slug

string

オプション

空里慎ルート

ステージ開始と終了

特定キャラクターやストーリーでステージを始める場合、以下のようなメソッドを呼び出してください。

  • ステージの開始に財貨が使われる場合、UseCurrencyを呼び出してください。

    メソッド パラメータ データ型 必須 備考

    UseCurrency

    player_uuid

    string

    必須

    character_uuid

    string

    必須

    currency_slug

    string

    必須

    TICKET

    currency_quantity

    float

    必須

    1

    currency_total_quantity

    float

    オプション

    3

    where_to_entity

    オプション

    entity.PlayStages

    where_to_category_slug

    string

    オプション

    空里慎ルート

    where_to_slug

    string

    オプション

    1-1

  • 特定キャラクターのストーリーを進める場合、PlayStageを呼び出してください。

    メソッド パラメータ データ型 必須 備考

    PlayStage

    player_uuid

    string

    必須

    character_uuids

    string

    必須

    TentuPlayKeyword._DUMMY_CHARACTER_ID_, 空里慎

    stage_type

    必須

    stageType.PvE

    stage_slug

    string

    必須

    1-1

    stage_category_slug

    string

    オプション

    空里慎ルート

    stage_level

    string

    オプション

    1-1

    stage_score

    int

    オプション

    null

    stage_status

    オプション

    stageStatus.Start

    stage_playtime

    int

    オプション

    null

  • ステージが終了したときにPlayStageを呼び出してください。

    stage_statusのパラメータにはStageの結果に該当する値を入力してください。

    ステージクリア
    メソッド パラメータ データ型 必須 備考

    PlayStage

    player_uuid

    string

    必須

    character_uuids

    string

    必須

    TentuPlayKeyword._DUMMY_CHARACTER_ID_, 空里慎

    stage_type

    必須

    stageType.PvE

    stage_slug

    string

    必須

    1-1

    stage_category_slug

    string

    オプション

    空里慎ルート

    stage_level

    string

    オプション

    1-1

    stage_score

    int

    オプション

    null

    stage_status

    オプション

    stageStatus.Win

    stage_playtime

    int

    オプション

    30

    ステージのリタイア
    メソッド パラメータ データ型 必須 備考

    PlayStage

    player_uuid

    string

    必須

    character_uuids

    string

    必須

    TentuPlayKeyword._DUMMY_CHARACTER_ID_, 空里慎

    stage_type

    必須

    stageType.PvE

    stage_slug

    string

    必須

    1-1

    stage_category_slug

    string

    オプション

    空里慎ルート

    stage_level

    string

    オプション

    1-1

    stage_score

    int

    オプション

    null

    stage_status

    オプション

    stageStatus.Quit

    stage_playtime

    int

    オプション

    30