public class SPacketUpdateScore extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
static class |
SPacketUpdateScore.Action |
Constructor and Description |
---|
SPacketUpdateScore() |
SPacketUpdateScore(Score scoreIn) |
SPacketUpdateScore(java.lang.String nameIn) |
SPacketUpdateScore(java.lang.String nameIn,
ScoreObjective objectiveIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getObjectiveName() |
java.lang.String |
getPlayerName() |
SPacketUpdateScore.Action |
getScoreAction() |
int |
getScoreValue() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketUpdateScore()
public SPacketUpdateScore(Score scoreIn)
public SPacketUpdateScore(java.lang.String nameIn)
public SPacketUpdateScore(java.lang.String nameIn, ScoreObjective objectiveIn)
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 java.lang.String getPlayerName()
public java.lang.String getObjectiveName()
public int getScoreValue()
public SPacketUpdateScore.Action getScoreAction()