Commit 3d7c9c90 authored by mercury233's avatar mercury233

update GameMessage.ConfirmCards

parent d6eb54c2
...@@ -2032,6 +2032,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -2032,6 +2032,7 @@ public class Ocgcore : ServantWithCardDescription
break; break;
case GameMessage.ConfirmCards: case GameMessage.ConfirmCards:
player = localPlayer(r.ReadByte()); player = localPlayer(r.ReadByte());
bool skip_panel = r.ReadByte() == 1;
count = r.ReadByte(); count = r.ReadByte();
for (var i = 0; i < count; i++) for (var i = 0; i < count; i++)
{ {
...@@ -3743,6 +3744,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3743,6 +3744,7 @@ public class Ocgcore : ServantWithCardDescription
break; break;
case GameMessage.ConfirmCards: case GameMessage.ConfirmCards:
player = localPlayer(r.ReadByte()); player = localPlayer(r.ReadByte());
var skip_panel = r.ReadByte() == 1;
count = r.ReadByte(); count = r.ReadByte();
var t2 = 0; var t2 = 0;
var t3 = 0; var t3 = 0;
...@@ -3832,6 +3834,12 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3832,6 +3834,12 @@ public class Ocgcore : ServantWithCardDescription
t2 = 0; t2 = 0;
clearResponse(); clearResponse();
} }
else if (skip_panel)
{
Sleep(t2);
t2 = 0;
clearResponse();
}
} }
Sleep(t2); Sleep(t2);
......
...@@ -773,6 +773,7 @@ namespace Percy ...@@ -773,6 +773,7 @@ namespace Percy
move(move(1) * 7); move(move(1) * 7);
break; break;
case GameMessage.ConfirmCards: case GameMessage.ConfirmCards:
move(1);
move(1); move(1);
move(move(1) * 7); move(move(1) * 7);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment