public class DuelLogKnockoutParameters extends DuelLogCardParameters
Constructor and Description |
---|
DuelLogKnockoutParameters(net.minecraft.network.PacketBuffer buf) |
DuelLogKnockoutParameters(PokemonCardState pokemon) |
Modifier and Type | Method and Description |
---|---|
void |
write(net.minecraft.network.PacketBuffer buf,
GamePhase gamePhase,
int itemPlayerIndex,
int receiverIndex,
boolean isMyTurn)
Write parameters into the buffer
|
getCard
public DuelLogKnockoutParameters(PokemonCardState pokemon)
public DuelLogKnockoutParameters(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 DuelLogCardParameters
buf
- Byte buffergamePhase
- Current game phaseitemPlayerIndex
- The player index of the itemreceiverIndex
- The player index of the receiverisMyTurn
- Is receiver's turn