Class DuelLogEvolveParameters

java.lang.Object
com.pixelmonmod.tcg.duel.log.parameters.DuelLogParameters
com.pixelmonmod.tcg.duel.log.parameters.DuelLogEvolveParameters

public class DuelLogEvolveParameters extends DuelLogParameters
Created by Hy on 8/13/2016.
  • Field Details

  • Constructor Details

    • DuelLogEvolveParameters

      public DuelLogEvolveParameters(PokemonCardState from, PokemonCardState to)
    • DuelLogEvolveParameters

      public DuelLogEvolveParameters(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf, GamePhase gamePhase, int itemPlayerIndex, int receiverIndex, boolean isMyTurn)
      Description copied from class: DuelLogParameters
      Write parameters into the buffer
      Specified by:
      write in class DuelLogParameters
      Parameters:
      buf - Byte buffer
      gamePhase - Current game phase
      itemPlayerIndex - The player index of the item
      receiverIndex - The player index of the receiver
      isMyTurn - Is receiver's turn
    • getFrom

      public CommonCardState getFrom()
    • getTo

      public CommonCardState getTo()