public class DuelLogConditionParameters extends DuelLogParameters
Constructor and Description |
---|
DuelLogConditionParameters(CardCondition cardCondition,
PokemonCardState affected,
int damage,
boolean isHealed) |
DuelLogConditionParameters(net.minecraft.network.PacketBuffer buf)
This recover only parts of the PokemonCardState information
|
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
|
public DuelLogConditionParameters(CardCondition cardCondition, PokemonCardState affected, int damage, boolean isHealed)
public DuelLogConditionParameters(net.minecraft.network.PacketBuffer buf)
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 turn