mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
宠物升星
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { app } from "../App";
|
||||
import PlayerPetData from "../data/PlayerPetData";
|
||||
import ResourceData from "../data/ResourceData";
|
||||
import { GUI } from "../ui/UIConfig";
|
||||
|
||||
@@ -9,7 +10,8 @@ export const RData = (data:any,isTips:boolean = true) => {
|
||||
if(data.data['resources']){
|
||||
//刷新资源
|
||||
data.data['resources'].forEach(res => {
|
||||
ResourceData.getIns().onUpdateOV(res.operation,res.resource);
|
||||
ResourceData.getIns().onUpdateOV(res.operation,res.resource); //刷新资源
|
||||
PlayerPetData.getIns().onUpdateOV(res.operation,res.pet); //刷新宠物
|
||||
})
|
||||
}
|
||||
return data.data.data;
|
||||
|
Reference in New Issue
Block a user