public class BedrockPacketWrapper
extends io.netty.util.AbstractReferenceCounted
| Constructor and Description |
|---|
BedrockPacketWrapper() |
BedrockPacketWrapper(int packetId,
int senderSubClientId,
int targetSubClientId,
org.cloudburstmc.protocol.bedrock.packet.BedrockPacket packet,
io.netty.buffer.ByteBuf packetBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
protected void |
deallocate() |
boolean |
equals(java.lang.Object o) |
org.cloudburstmc.protocol.bedrock.packet.BedrockPacket |
getPacket() |
io.netty.buffer.ByteBuf |
getPacketBuffer() |
int |
getPacketId() |
int |
getSenderSubClientId() |
int |
getTargetSubClientId() |
int |
hashCode() |
void |
setPacket(org.cloudburstmc.protocol.bedrock.packet.BedrockPacket packet) |
void |
setPacketBuffer(io.netty.buffer.ByteBuf packetBuffer) |
void |
setPacketId(int packetId) |
void |
setSenderSubClientId(int senderSubClientId) |
void |
setTargetSubClientId(int targetSubClientId) |
java.lang.String |
toString() |
BedrockPacketWrapper |
touch(java.lang.Object hint) |
public BedrockPacketWrapper(int packetId,
int senderSubClientId,
int targetSubClientId,
org.cloudburstmc.protocol.bedrock.packet.BedrockPacket packet,
io.netty.buffer.ByteBuf packetBuffer)
public BedrockPacketWrapper()
protected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedpublic BedrockPacketWrapper touch(java.lang.Object hint)
public int getPacketId()
public int getSenderSubClientId()
public int getTargetSubClientId()
public org.cloudburstmc.protocol.bedrock.packet.BedrockPacket getPacket()
public io.netty.buffer.ByteBuf getPacketBuffer()
public void setPacketId(int packetId)
public void setSenderSubClientId(int senderSubClientId)
public void setTargetSubClientId(int targetSubClientId)
public void setPacket(org.cloudburstmc.protocol.bedrock.packet.BedrockPacket packet)
public void setPacketBuffer(io.netty.buffer.ByteBuf packetBuffer)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object