From 68ceec72d78d328f9eaa05fce40caf99fe333ba1 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期六, 11 十月 2025 19:21:30 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts --- Main/System/Dungeon/DungeonData.cs | 76 +++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Main/System/Dungeon/DungeonData.cs b/Main/System/Dungeon/DungeonData.cs index bba8148..e2ba073 100644 --- a/Main/System/Dungeon/DungeonData.cs +++ b/Main/System/Dungeon/DungeonData.cs @@ -235,26 +235,26 @@ public int passLineID; - public DungeonRecord(HA320_tagMCPlayerFBInfoData.tagMCFBInfo _serverInfo) - { - this.id = (int)_serverInfo.FBID; - this.enterTimes = (int)_serverInfo.EnterCnt; - this.recoverTimes = (int)_serverInfo.RecoverCnt; - this.extraTimes = (int)_serverInfo.ItemAddCnt; - this.lineGrades = new Dictionary<int, int>(); - this.passLineID = (int)_serverInfo.PassLineID; - for (int i = 0; i < _serverInfo.PassGrade.Length; i++) - { - var tempValue = (int)_serverInfo.PassGrade[i]; - for (int j = 0; j < 9; j++) - { - var a = MathUtility.Power(10, j); - var b = MathUtility.Power(10, j + 1); - this.lineGrades[i * 9 + j] = (tempValue % b) / a; - } - } - this.enterCntTotal = (int)_serverInfo.EnterCntTotal; - } + // public DungeonRecord(HA320_tagMCPlayerFBInfoData.tagMCFBInfo _serverInfo) + // { + // this.id = (int)_serverInfo.FBID; + // this.enterTimes = (int)_serverInfo.EnterCnt; + // this.recoverTimes = (int)_serverInfo.RecoverCnt; + // this.extraTimes = (int)_serverInfo.ItemAddCnt; + // this.lineGrades = new Dictionary<int, int>(); + // this.passLineID = (int)_serverInfo.PassLineID; + // for (int i = 0; i < _serverInfo.PassGrade.Length; i++) + // { + // var tempValue = (int)_serverInfo.PassGrade[i]; + // for (int j = 0; j < 9; j++) + // { + // var a = MathUtility.Power(10, j); + // var b = MathUtility.Power(10, j + 1); + // this.lineGrades[i * 9 + j] = (tempValue % b) / a; + // } + // } + // this.enterCntTotal = (int)_serverInfo.EnterCntTotal; + // } public DungeonRecord(HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo _serverInfo) { @@ -262,24 +262,24 @@ this.buyTimes = _serverInfo.BuyCount; } - public void UpdateRecord(HA320_tagMCPlayerFBInfoData.tagMCFBInfo _serverInfo) - { - this.enterTimes = (int)_serverInfo.EnterCnt; - this.recoverTimes = (int)_serverInfo.RecoverCnt; - this.extraTimes = (int)_serverInfo.ItemAddCnt; - this.passLineID = (int)_serverInfo.PassLineID; - for (int i = 0; i < _serverInfo.PassGrade.Length; i++) - { - var tempValue = (int)_serverInfo.PassGrade[i]; - for (int j = 0; j < 9; j++) - { - var a = MathUtility.Power(10, j); - var b = MathUtility.Power(10, j + 1); - this.lineGrades[i * 9 + j] = (tempValue % b) / a; - } - } - this.enterCntTotal = (int)_serverInfo.EnterCntTotal; - } + // public void UpdateRecord(HA320_tagMCPlayerFBInfoData.tagMCFBInfo _serverInfo) + // { + // this.enterTimes = (int)_serverInfo.EnterCnt; + // this.recoverTimes = (int)_serverInfo.RecoverCnt; + // this.extraTimes = (int)_serverInfo.ItemAddCnt; + // this.passLineID = (int)_serverInfo.PassLineID; + // for (int i = 0; i < _serverInfo.PassGrade.Length; i++) + // { + // var tempValue = (int)_serverInfo.PassGrade[i]; + // for (int j = 0; j < 9; j++) + // { + // var a = MathUtility.Power(10, j); + // var b = MathUtility.Power(10, j + 1); + // this.lineGrades[i * 9 + j] = (tempValue % b) / a; + // } + // } + // this.enterCntTotal = (int)_serverInfo.EnterCntTotal; + // } public void UpdateRecord(HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo _serverInfo) { -- Gitblit v1.8.0