Package cn.nukkit.network.protocol
Class MovePlayerPacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.MovePlayerPacket
- All Implemented Interfaces:
Cloneable
- Since:
- 15-10-14
-
Field Summary
Modifier and TypeFieldDescriptionlong
long
float
int
int
int
static final int
static final int
static final int
static final int
static final byte
boolean
float
long
float
float
float
float
Fields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
Fields inherited from class cn.nukkit.utils.BinaryStream
count, offset
-
Constructor Summary
-
Method Summary
Methods inherited from class cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, getProtocolUsed, packetId, reset, setChannel, tryEncode
Methods 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, putNotNull, putOptional, 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:
-
MODE_NORMAL
public static final int MODE_NORMAL- See Also:
-
MODE_RESET
public static final int MODE_RESET- See Also:
-
MODE_TELEPORT
public static final int MODE_TELEPORT- See Also:
-
MODE_PITCH
public static final int MODE_PITCH- See Also:
-
eid
public long eid -
x
public float x -
y
public float y -
z
public float z -
yaw
public float yaw -
headYaw
public float headYaw -
pitch
public float pitch -
mode
public int mode -
onGround
public boolean onGround -
ridingEid
public long ridingEid -
int1
public int int1 -
int2
public int int2 -
frame
-
-
Constructor Details
-
MovePlayerPacket
public MovePlayerPacket()
-
-
Method Details
-
decode
public void decode()- Specified by:
decode
in classDataPacket
-
encode
public void encode()- Specified by:
encode
in classDataPacket
-
pid
public byte pid()- Specified by:
pid
in classDataPacket
-
toString
-