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 |
|---|---|
int |
actionType |
String |
data |
long |
entityRuntimeId |
static byte |
NETWORK_ID |
NPCRequestPacket.RequestType |
requestType |
String |
sceneName |
| Constructor and Description |
|---|
NPCRequestPacket() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode() |
void |
encode() |
int |
getActionType() |
String |
getData() |
long |
getRequestedEntityRuntimeId() |
NPCRequestPacket.RequestType |
getRequestType() |
String |
getSceneName() |
byte |
pid() |
void |
setActionType(int actionType) |
void |
setData(String data) |
void |
setRequestedEntityRuntimeId(long entityRuntimeId) |
void |
setRequestType(NPCRequestPacket.RequestType requestType) |
void |
setSceneName(String sceneName) |
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 actionType
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 getActionType()
public void setActionType(int actionType)
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 © 2023. All rights reserved.