public class SPacketJoinGame extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketJoinGame() |
SPacketJoinGame(int playerIdIn,
GameType gameTypeIn,
boolean hardcoreModeIn,
int dimensionIn,
EnumDifficulty difficultyIn,
int maxPlayersIn,
WorldType worldTypeIn,
boolean reducedDebugInfoIn) |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
getDifficulty() |
int |
getDimension() |
GameType |
getGameType() |
int |
getMaxPlayers() |
int |
getPlayerId() |
WorldType |
getWorldType() |
boolean |
isHardcoreMode() |
boolean |
isReducedDebugInfo() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketJoinGame()
public SPacketJoinGame(int playerIdIn, GameType gameTypeIn, boolean hardcoreModeIn, int dimensionIn, EnumDifficulty difficultyIn, int maxPlayersIn, WorldType worldTypeIn, boolean reducedDebugInfoIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public int getPlayerId()
public boolean isHardcoreMode()
public GameType getGameType()
public int getDimension()
public EnumDifficulty getDifficulty()
public int getMaxPlayers()
public WorldType getWorldType()
public boolean isReducedDebugInfo()