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.
20 lines
529 B
20 lines
529 B
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 + "-玩家");
|
|
}
|
|
}
|
|
|
|
}
|
|
|