Commit 10f562d2 authored by 范雪寒's avatar 范雪寒

feat: NS_select_stage

parent 0e000bb9
...@@ -307,6 +307,15 @@ cc.Class({ ...@@ -307,6 +307,15 @@ cc.Class({
callback('剧本未解锁!'); callback('剧本未解锁!');
} }
break; break;
case 'NS_select_stage':
if (data.stageId == 10011) {
this.showLog('选择关卡: ' + data.stageId);
callback('选择关卡: ' + data.stageId);
} else {
this.showLog('关卡未解锁!');
callback('关卡未解锁!');
}
break;
default: default:
this.showLog('未定义接口: ' + apiName); this.showLog('未定义接口: ' + apiName);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment