アドベンチャーゲーム
ビジュアルノベルのようにテキストと絵でストーリーが展開され、選択肢によってストーリーが分岐されるゲームの場合、以下のようにメソッドを呼び出してください。
キャラクターの獲得
選択した特定のキャラクターやストーリーを獲得する場合、GetCharacter
を呼び出してください。
メソッド | パラメータ | データ型 | 必須 | 備考 |
---|---|---|---|---|
player_uuid |
string |
必須 |
||
character_uuid |
string |
必須 |
||
characterarchetype_slug |
string |
必須 |
|
|
from_entity |
オプション |
|
||
from_category_slug |
string |
オプション |
|
|
from_slug |
string |
オプション |
|
ステージ開始と終了
特定キャラクターやストーリーでステージを始める場合、以下のようなメソッドを呼び出してください。
-
ステージの開始に財貨が使われる場合、
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
を呼び出してください。メソッド パラメータ データ型 必須 備考 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の結果に該当する値を入力してください。ステージクリア メソッド パラメータ データ型 必須 備考 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
ステージのリタイア メソッド パラメータ データ型 必須 備考 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