public class PlayerClientMyState extends PlayerCommonState
activeCard, benchCards, cardBackID, coinSetID, counterEndTime, graveyard, isChoosingOppAttack, isInGUI, isReady, isSpectating, pendingPrizeCount, pendingPrizePlayerIndex, playerName, prizeCards, showPokemonsInClient, timeLeft, trainerCard, trainersDisabled
Constructor and Description |
---|
PlayerClientMyState(net.minecraft.network.PacketBuffer buf,
GameServerState server) |
PlayerClientMyState(PlayerServerState player,
GamePhase gamePhase,
GameServerState server,
boolean isSpectating)
Create client data to send to client
|
Modifier and Type | Method and Description |
---|---|
AvailableActions |
getAvailableActions() |
CardSelectorState |
getCardSelectorState() |
java.lang.String |
getCustomGUI() |
int |
getDeckSize() |
int |
getPendingPrizeCount() |
void |
setCardSelectorState(CardSelectorState state) |
void |
write(net.minecraft.network.PacketBuffer buf) |
areTrainersDisabled, getActiveAndBenchCards, getActiveAndBenchCards, getActiveCard, getBenchCards, getCard, getCardBackID, getCoin, getCoinSetID, getCounterEndTime, getDiscardPile, getHand, getPendingPrizePlayerIndex, getPlayerName, getPrizeCards, getTrainerCard, hasPrizeLeft, isChoosingOppAttack, isInBench, isInGUI, isReady, setActiveCard, setAreTrainersDisabled, setBenchCards, setChoosingOppAttack, setGraveyard, setInGUI, setPrizeCards, setReady, setTrainerCard
public PlayerClientMyState(PlayerServerState player, GamePhase gamePhase, GameServerState server, boolean isSpectating)
player
- gamePhase
- isSpectating
- public PlayerClientMyState(net.minecraft.network.PacketBuffer buf, GameServerState server)
public void write(net.minecraft.network.PacketBuffer buf)
write
in class PlayerCommonState
public int getDeckSize()
public AvailableActions getAvailableActions()
public CardSelectorState getCardSelectorState()
public void setCardSelectorState(CardSelectorState state)
public int getPendingPrizeCount()
getPendingPrizeCount
in class PlayerCommonState
public java.lang.String getCustomGUI()