三连胜提交

This commit is contained in:
COMPUTER\EDY
2026-10-16 16:24:28 +08:00
parent 400e0f81b9
commit aa1e079d22
108 changed files with 13748 additions and 1002 deletions
+3
View File
@@ -19,6 +19,7 @@ import ClientUpdate from "./module/Config/ClientUpdate";
import DailyTaskProgressTracker from "./module/Task/DailyTaskProgressTracker";
import ServerEnvironment from "./module/Config/ServerEnvironment";
import ServerSwitch from "./module/Config/ServerSwitch";
import ThreeWinStreak from "./ThreeWinStreak";
const { ccclass, property } = cc._decorator;
@@ -83,6 +84,7 @@ export default class GameManager extends cc.Component {
// });
this.startTimeCutDown();
cc.fx.GameConfig.init(true);
ThreeWinStreak.restore();
ClientUpdate.initialize();
cc.fx.GameConfig.GM_INFO.sceneValue = "loadScene";
cc.fx.GameConfig.GM_INFO.gameState = false;
@@ -483,6 +485,7 @@ export default class GameManager extends cc.Component {
}
// console.log("服务器强制刷新状态__________", data.data.forcedUpdate);
//如果有连胜记录,就赋值
ThreeWinStreak.restore(data.data, data.data.forcedUpdate === true);
if (cc.fx.GameConfig.forceOldRainbowWinStreakC || cc.fx.GameConfig.forceRainbowWinStreakB) {
cc.fx.GameConfig.GM_INFO.winStreak = 10;
cc.fx.GameConfig.GM_INFO.winState = true;