spjspj - Add a View Limited Deck option to allow you to see your deck during matches.

This commit is contained in:
spjspj 2017-04-22 19:16:12 +10:00
parent 3f8b193da6
commit 0cd4e06e22
10 changed files with 74 additions and 4 deletions

View file

@ -269,6 +269,10 @@ public class User {
sideboarding.put(tableId, deck);
}
public void ccViewLimitedDeck(final Deck deck, final UUID tableId, final int time, boolean limited) {
fireCallback(new ClientCallback(ClientCallbackMethod.VIEW_LIMITED_DECK, tableId, new TableClientMessage(deck, tableId, time, limited)));
}
public void ccConstruct(final Deck deck, final UUID tableId, final int time) {
fireCallback(new ClientCallback(ClientCallbackMethod.CONSTRUCT, tableId, new TableClientMessage(deck, tableId, time)));
}