public interface CardGameReceiver
extends com.threerings.presents.client.InvocationReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
cardsTransferredBetweenPlayers(int fromidx,
int toidx,
int cards)
Dispatched to the client when a set of cards is transferred between
two other players in the game.
|
void |
receivedCardsFromPlayer(int plidx,
Card[] cards)
Dispatched to the client when it has received a set of cards
from another player.
|
void |
receivedHand(int oid,
Hand hand)
Dispatched to the client when it has received a hand of cards.
|
void |
sentCardsToPlayer(int plidx,
Card[] cards)
Dispatched to the client when the server has forced it to send
a set of cards to another player.
|
void receivedHand(int oid,
Hand hand)
oid - the oid of the game for which this hand applieshand - the received handvoid receivedCardsFromPlayer(int plidx,
Card[] cards)
plidx - the index of the player providing the cardscards - the cards receivedvoid sentCardsToPlayer(int plidx,
Card[] cards)
plidx - the index of the player to which the cards were sentcards - the cards sentvoid cardsTransferredBetweenPlayers(int fromidx,
int toidx,
int cards)
fromidx - the index of the player sending the cardstoidx - the index of the player receiving the cardscards - the number of cards transferredCopyright © 2015. All rights reserved.