public class NPCRequestPacket
extends cn.nukkit.network.protocol.DataPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
NPCRequestPacket.RequestType |
| Modifier and Type | Field and Description |
|---|---|
String |
data |
long |
entityRuntimeId |
static byte |
NETWORK_ID |
NPCRequestPacket.RequestType |
requestType |
String |
sceneName |
int |
skinType |
| Constructor and Description |
|---|
NPCRequestPacket() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode() |
void |
encode() |
String |
getData() |
long |
getRequestedEntityRuntimeId() |
NPCRequestPacket.RequestType |
getRequestType() |
String |
getSceneName() |
int |
getSkinType() |
byte |
pid() |
void |
setData(String data) |
void |
setRequestedEntityRuntimeId(long entityRuntimeId) |
void |
setRequestType(NPCRequestPacket.RequestType requestType) |
void |
setSceneName(String sceneName) |
void |
setSkinType(int skinType) |
clean, clone, compress, compress, getChannel, reset, setChannel, tryEncodefeof, 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, getTriad, getUnsignedVarInt, getUnsignedVarLong, getUUID, getVarInt, getVarLong, getVector3f, put, putArray, putAttributeList, putBlockFace, putBlockVector3, putBlockVector3, putBoolean, putByte, putByteArray, putEntityLink, putEntityRuntimeId, putEntityUniqueId, putFloat, putGameRules, putImage, putInt, putLFloat, putLInt, putLLong, putLong, putLShort, putLTriad, putRecipeIngredient, putShort, putSignedBlockPosition, putSkin, putSlot, putSlot, putString, putTriad, putUnsignedVarInt, putUnsignedVarLong, putUUID, putVarInt, putVarLong, putVector3f, putVector3f, setBuffer, setBuffer, setOffsetpublic static final byte NETWORK_ID
public long entityRuntimeId
public NPCRequestPacket.RequestType requestType
public String data
public int skinType
public String sceneName
public long getRequestedEntityRuntimeId()
public void setRequestedEntityRuntimeId(long entityRuntimeId)
public NPCRequestPacket.RequestType getRequestType()
public void setRequestType(NPCRequestPacket.RequestType requestType)
public String getData()
public void setData(String data)
public int getSkinType()
public void setSkinType(int skinType)
public String getSceneName()
public void setSceneName(String sceneName)
public byte pid()
pid in class cn.nukkit.network.protocol.DataPacketpublic void decode()
decode in class cn.nukkit.network.protocol.DataPacketpublic void encode()
encode in class cn.nukkit.network.protocol.DataPacketCopyright © 2022. All rights reserved.