PB: enough for today

This commit is contained in:
Max-Wilhelm Bruker 2011-12-31 00:12:46 +01:00
parent c4eb7ba6cf
commit 695fde7541
7 changed files with 156 additions and 125 deletions

View file

@ -4,4 +4,5 @@ message Event_Shuffle {
extend GameEvent {
optional Event_Shuffle ext = 2007;
}
optional string zone_name = 1;
}

View file

@ -979,7 +979,10 @@ Response::ResponseCode Server_ProtocolHandler::cmdShuffle(const Command_Shuffle
player->getZones().value("deck")->shuffle();
ges.enqueueGameEvent(Event_Shuffle(), player->getPlayerId());
Event_Shuffle event;
event.set_zone_name("deck");
ges.enqueueGameEvent(event, player->getPlayerId());
return Response::RespOk;
}