forked from External/mage
some more drafting stuff
This commit is contained in:
parent
c67122b605
commit
98d8a428a7
11 changed files with 403 additions and 4 deletions
|
|
@ -35,6 +35,7 @@ import java.util.List;
|
|||
import java.util.UUID;
|
||||
import mage.cards.decks.DeckCardLists;
|
||||
import mage.game.GameException;
|
||||
import mage.game.draft.DraftOptions;
|
||||
import mage.interfaces.callback.CallbackServer;
|
||||
import mage.view.TableView;
|
||||
import mage.view.GameView;
|
||||
|
|
@ -53,6 +54,7 @@ public interface Server extends Remote, CallbackServer {
|
|||
|
||||
//table methods
|
||||
public TableView createTable(UUID sessionId, UUID roomId, MatchOptions matchOptions) throws RemoteException, MageException;
|
||||
public TableView createDraftTable(UUID sessionId, UUID roomId, DraftOptions draftOptions) throws RemoteException, MageException;
|
||||
public boolean joinTable(UUID sessionId, UUID roomId, UUID tableId, String name, DeckCardLists deckList) throws RemoteException, MageException, GameException;
|
||||
public boolean joinDraftTable(UUID sessionId, UUID roomId, UUID tableId, String name) throws RemoteException, MageException, GameException;
|
||||
public boolean submitDeck(UUID sessionId, UUID tableId, DeckCardLists deckList) throws RemoteException, MageException, GameException;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue