Class SetObjectivePacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.lanink.gamecore.scoreboard.ltname.packet.SetObjectivePacket
- All Implemented Interfaces:
Cloneable
public class SetObjectivePacket
extends cn.nukkit.network.protocol.DataPacket
参考项目:
https://github.com/Creeperface01/ScoreboardAPI
https://github.com/LucGamesYT/ScoreboardAPI
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteintFields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliabilityFields inherited from class cn.nukkit.utils.BinaryStream
count, offset -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, getProtocolUsed, packetId, reset, setChannel, tryEncodeMethods inherited from class cn.nukkit.utils.BinaryStream
feof, get, get, getArray, getAttributeList, getBlockFace, getBlockVector3, getBoolean, getBuffer, getByte, getByteArray, getCount, getEntityLink, getEntityRuntimeId, getEntityUniqueId, getFloat, getFloat, getImage, getInt, getLFloat, getLFloat, getLInt, getLLong, getLong, getLShort, getLTriad, getOffset, getRecipeIngredient, getShort, getSignedBlockPosition, getSkin, getSlot, getString, getTag, getTriad, getUnsignedVarInt, getUnsignedVarLong, getUUID, getVarInt, getVarLong, getVector2f, getVector3f, put, putArray, putArray, putArray, putAttributeList, putBlockFace, putBlockVector3, putBlockVector3, putBoolean, putByte, putByteArray, putEntityLink, putEntityRuntimeId, putEntityUniqueId, putFloat, putGameRules, putImage, putInt, putLFloat, putLInt, putLLong, putLong, putLShort, putLTriad, putRecipeIngredient, putRecipeIngredient, putShort, putSignedBlockPosition, putSkin, putSlot, putSlot, putString, putTag, putTriad, putUnsignedVarInt, putUnsignedVarLong, putUUID, putVarInt, putVarLong, putVector2f, putVector2f, putVector3f, putVector3f, setBuffer, setBuffer, setOffset
-
Field Details
-
NETWORK_ID
public static final byte NETWORK_ID- See Also:
-
displaySlot
-
objectiveName
-
displayName
-
criteriaName
-
sortOrder
public int sortOrder
-
-
Constructor Details
-
SetObjectivePacket
public SetObjectivePacket()
-
-
Method Details
-
pid
public byte pid()- Specified by:
pidin classcn.nukkit.network.protocol.DataPacket
-
decode
public void decode()- Specified by:
decodein classcn.nukkit.network.protocol.DataPacket
-
encode
public void encode()- Specified by:
encodein classcn.nukkit.network.protocol.DataPacket
-
toString
-