public class DuelLogAttachCardParameters extends DuelLogParameters
Constructor and Description |
---|
DuelLogAttachCardParameters(net.minecraft.network.PacketBuffer buf) |
DuelLogAttachCardParameters(PokemonCardState pokemon,
CommonCardState attachment) |
Modifier and Type | Method and Description |
---|---|
CommonCardState |
getAttachment() |
PokemonCardState |
getPokemon() |
void |
write(net.minecraft.network.PacketBuffer buf,
GamePhase gamePhase,
int itemPlayerIndex,
int receiverIndex,
boolean isMyTurn)
Write parameters into the buffer
|
public DuelLogAttachCardParameters(PokemonCardState pokemon, CommonCardState attachment)
public DuelLogAttachCardParameters(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 PokemonCardState getPokemon()
public CommonCardState getAttachment()