public class DuelLogEvolveParameters extends DuelLogParameters
Modifier and Type | Field and Description |
---|---|
CommonCardState |
from |
CommonCardState |
to |
Constructor and Description |
---|
DuelLogEvolveParameters(net.minecraft.network.PacketBuffer buf) |
DuelLogEvolveParameters(PokemonCardState from,
PokemonCardState to) |
Modifier and Type | Method and Description |
---|---|
CommonCardState |
getFrom() |
CommonCardState |
getTo() |
void |
write(net.minecraft.network.PacketBuffer buf,
GamePhase gamePhase,
int itemPlayerIndex,
int receiverIndex,
boolean isMyTurn)
Write parameters into the buffer
|
public final CommonCardState from
public final CommonCardState to
public DuelLogEvolveParameters(PokemonCardState from, PokemonCardState to)
public DuelLogEvolveParameters(net.minecraft.network.PacketBuffer buf)
public void write(net.minecraft.network.PacketBuffer buf, GamePhase gamePhase, int itemPlayerIndex, int receiverIndex, boolean isMyTurn)
DuelLogParameters
write
in class DuelLogParameters
buf
- Byte buffergamePhase
- Current game phaseitemPlayerIndex
- The player index of the itemreceiverIndex
- The player index of the receiverisMyTurn
- Is receiver's turnpublic CommonCardState getFrom()
public CommonCardState getTo()