diff --git a/GameServer/Game/ChessRogue/Cell/ChessRogueCellInstance.cs b/GameServer/Game/ChessRogue/Cell/ChessRogueCellInstance.cs index 3c140106..8edd9e58 100644 --- a/GameServer/Game/ChessRogue/Cell/ChessRogueCellInstance.cs +++ b/GameServer/Game/ChessRogue/Cell/ChessRogueCellInstance.cs @@ -189,14 +189,14 @@ public class ChessRogueCellInstance var info = new ChessRogueCell { CellStatus = CellStatus, - //PosY = (uint)PosY, + PosY = (uint)PosY, Id = (uint)GetCellId(), - //BlockType = (uint)BlockType, + BlockType = (uint)BlockType, IsUnlock = true, RoomId = (uint)RoomId, - IsUnlocked = true - //PosX = (uint)GetRow(), - //MarkType = (uint)MarkType + IsUnlocked = true, + PosX = (uint)GetRow(), + MarkType = (uint)MarkType }; if (CellAdvanceInfo.Count <= 0) return info; diff --git a/GameServer/Game/ChessRogue/Dice/ChessRogueDiceInstance.cs b/GameServer/Game/ChessRogue/Dice/ChessRogueDiceInstance.cs index 56acdd89..f209cab7 100644 --- a/GameServer/Game/ChessRogue/Dice/ChessRogueDiceInstance.cs +++ b/GameServer/Game/ChessRogue/Dice/ChessRogueDiceInstance.cs @@ -53,16 +53,16 @@ public class ChessRogueDiceInstance(ChessRogueInstance instance, ChessRogueNousD var index = DiceData.Surfaces.ToList().FindIndex(x => x.Value == CurSurfaceId) + 1; return new ChessRogueDiceInfo { - //GameBranchId = (uint)DiceData.BranchId, + GameBranchId = (uint)DiceData.BranchId, Dice = DiceData.ToProto(), DiceStatus = DiceStatus, - //CurSurfaceId = (uint)CurSurfaceId, - //CheatTimes = (uint)CheatTimes, - //RerollTimes = (uint)RerollTimes, - //GameDiceBranchId = (uint)DiceData.BranchId, + CurSurfaceId = (uint)CurSurfaceId, + CheatTimes = (uint)CheatTimes, + RerollTimes = (uint)RerollTimes, + GameDiceBranchId = (uint)DiceData.BranchId, DiceType = ChessRogueDiceType.ChessRogueDiceEditable, IsAvailable = true, - //CurSurfaceSlotId = (uint)(index > 0 ? index : 0), + CurSurfaceSlotId = (uint)(index > 0 ? index : 0), CanRerollDice = RerollTimes > 0, DiceModifier = Modifier?.ToProto() ?? new RogueModifier(), OLGAOIBGCHH = new EBOIOIKFLFJ()