public void DebugResponse(DebugResponse debugResponse)
        {
            myGateway.Emit("Area.Debug.DebugResponse", debugResponse);

        }
Exemplo n.º 2
0
 public void HandleDebugResponse(UserLogicModel user, DebugResponse data)
 {
     var room = rooms.Filter(a => a.RoomID == data.RoomID)[0];
     if (room == null)
     {
         ServerLogger.LogError("--room not found ", data);
         return;
     }
     room.Game.CardGame.DebugInfo.Breakpoints = data.Breakpoints;
     room.Game.CardGame.DebugInfo.StepThrough = data.Step;
     room.Game.CardGame.DebugInfo.Action = data.Action;
     if (room.Game.CardGame.DebugInfo.Action)
     {
         var debugFiberYieldResponse = room.Fiber.Run<DebugFiberYieldResponse>(new FiberYieldResponse(FiberYieldResponseType.VariableLookup,"") { VariableLookup = data.VariableLookup });
         processGameResponse(room, debugFiberYieldResponse);
     }
 }
 public void DebugResponse(DebugResponse debugResponse)
 {
     clientDebugManager.DebugResponse(debugResponse);
 }