我智商爆棚
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
529 B

4 weeks ago
import User from "../User/User";
import Common5 from "../../Platform/th/Common5";
const { ccclass, property } = cc._decorator;
@ccclass
export default class DaDianScript {
public static userEnterDaDian() {
let dateDadian = User.getDadianListGame()
let gameName = Common5.selectGameInfo.title2
console.log(gameName, 'gameName')
if (!dateDadian[gameName]) {
User.setDadianListGame(gameName, true)
Common5.ReportDY("inLevel", gameName + "-玩家");
}
}
}