GS2-SkillTree トランザクションアクション
ConsumeAction
Gs2SkillTree:MarkRestrainByUserId
ユーザIDを指定してノードの解放状態を未解放状態に戻す
数量指定可能なアクション:いいえ
反転可能なアクション:はい
型 | 説明 | |
---|---|---|
namespaceName | string | ネームスペース名 |
userId | string | #{userId} と設定することでログイン中のユーザーIDに置換されます |
nodeModelNames | string[] | ノードモデル名のリスト |
{
"action": "Gs2SkillTree:MarkRestrainByUserId",
"request": {
"namespaceName": "[string]ネームスペース名",
"userId": "[string]ユーザーID",
"nodeModelNames": [
"[string]ノードモデル名"
]
}
}
action: Gs2SkillTree:MarkRestrainByUserId
request:
namespaceName: "[string]ネームスペース名"
userId: "[string]ユーザーID"
nodeModelNames:
- "[string]ノードモデル名"
AcquireAction
Gs2SkillTree:MarkReleaseByUserId
ユーザIDを指定してノードを解放状態を記録
数量指定可能なアクション:いいえ
反転可能なアクション:はい
型 | 説明 | |
---|---|---|
namespaceName | string | ネームスペース名 |
userId | string | #{userId} と設定することでログイン中のユーザーIDに置換されます |
nodeModelNames | string[] | ノードモデル名のリスト |
{
"action": "Gs2SkillTree:MarkReleaseByUserId",
"request": {
"namespaceName": "[string]ネームスペース名",
"userId": "[string]ユーザーID",
"nodeModelNames": [
"[string]ノードモデル名"
]
}
}
action: Gs2SkillTree:MarkReleaseByUserId
request:
namespaceName: "[string]ネームスペース名"
userId: "[string]ユーザーID"
nodeModelNames:
- "[string]ノードモデル名"