public class DuelLogEndGameParameter extends DuelLogParameters
Constructor and Description |
---|
DuelLogEndGameParameter(int winnerIndex) |
DuelLogEndGameParameter(net.minecraft.network.PacketBuffer buf) |
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 DuelLogEndGameParameter(int winnerIndex)
public DuelLogEndGameParameter(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 turn