mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Event context for mulligans, German translation
This commit is contained in:
parent
0c1c0fcb56
commit
808d2a3c01
17 changed files with 1228 additions and 954 deletions
|
|
@ -458,6 +458,11 @@ Context_MoveCard::Context_MoveCard()
|
|||
: GameEventContext("move_card")
|
||||
{
|
||||
}
|
||||
Context_Mulligan::Context_Mulligan(int _number)
|
||||
: GameEventContext("mulligan")
|
||||
{
|
||||
insertItem(new SerializableItem_Int("number", _number));
|
||||
}
|
||||
Command_UpdateServerMessage::Command_UpdateServerMessage()
|
||||
: AdminCommand("update_server_message")
|
||||
{
|
||||
|
|
@ -547,6 +552,7 @@ void ProtocolItem::initializeHashAuto()
|
|||
itemNameHash.insert("game_event_contextdeck_select", Context_DeckSelect::newItem);
|
||||
itemNameHash.insert("game_event_contextundo_draw", Context_UndoDraw::newItem);
|
||||
itemNameHash.insert("game_event_contextmove_card", Context_MoveCard::newItem);
|
||||
itemNameHash.insert("game_event_contextmulligan", Context_Mulligan::newItem);
|
||||
itemNameHash.insert("cmdupdate_server_message", Command_UpdateServerMessage::newItem);
|
||||
itemNameHash.insert("cmdban_from_server", Command_BanFromServer::newItem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue