private void logGameConsoleLine(GameRoom room, FiberYieldResponse answer) { var answ2 = room.Fiber.Run<FiberYieldResponse>(); processGameResponse(room, answ2); if (!room.Game.CardGame.Emulating && room.Debuggable) { //Logger.Log(gameData.toString()); var ganswer = new GameAnswerModel(0, answer.Contents); myServerManager.SendDebugLog(room, ganswer); } }
public void SendDebugLog(GameRoom room, GameAnswerModel ganswer) { qManager.SendMessage(room.DebuggingSender.Gateway, "Area.Debug.Log", room.DebuggingSender, ganswer); }
private void breakGameExecution(GameRoom room, FiberYieldResponse response) { if (!room.Debuggable) { var answ3 = room.Fiber.Run<FiberYieldResponse>(); processGameResponse(room, answ3); return; } if (!room.Game.CardGame.Emulating) { var ganswer = new GameAnswerModel(response.LineNumber + 2, 0); myServerManager.SendDebugBreak(room, ganswer); } }