Class DuelLogIntParameters
java.lang.Object
com.pixelmonmod.tcg.duel.log.parameters.DuelLogParameters
com.pixelmonmod.tcg.duel.log.parameters.DuelLogIntParameters
Created by Hy on 8/13/2016.
-
Constructor Summary
ConstructorDescriptionDuelLogIntParameters
(int number) DuelLogIntParameters
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
-
Constructor Details
-
DuelLogIntParameters
public DuelLogIntParameters(int number) -
DuelLogIntParameters
public DuelLogIntParameters(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 classDuelLogParameters
- Parameters:
buf
- Byte buffergamePhase
- Current game phaseitemPlayerIndex
- The player index of the itemreceiverIndex
- The player index of the receiverisMyTurn
- Is receiver's turn
-
getNumber
public int getNumber()
-