初步加入天梯接口

This commit is contained in:
liangtongchuan
2020-10-12 23:42:53 +08:00
parent 77c2b0b35a
commit d4a6ad42d1
10 changed files with 395 additions and 13 deletions
+4
View File
@@ -75,6 +75,10 @@ export function getWarById(warid: number) {
return allWarInfos.get(warid);
}
export function getTowerDataByLv(lv: number) {
return towerInfos.get(lv);
}
export function getGoodById(gid) {
let goodsInfo = gamedata['jsons']['dic_goods']||[];
return goodsInfo.find(cur => {