Class DuelLogParameters

java.lang.Object
com.pixelmonmod.tcg.duel.log.parameters.DuelLogParameters
Direct Known Subclasses:
DuelLogAttachCardParameters, DuelLogAttackParameters, DuelLogCardParameters, DuelLogConditionParameters, DuelLogEndGameParameter, DuelLogEvolveParameters, DuelLogIntParameters, DuelLogStalemateParameter

public abstract class DuelLogParameters extends Object
Created by Hy on 8/13/2016.
  • Constructor Details

    • DuelLogParameters

      public DuelLogParameters()
  • Method Details

    • write

      public abstract void write(net.minecraft.network.FriendlyByteBuf buf, GamePhase gamePhase, int itemPlayerIndex, int receiverIndex, boolean isMyTurn)
      Write parameters into the buffer
      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