public class PlayerVideoCapturePacket extends java.lang.Object implements BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerVideoCapturePacket.Action |
| Constructor and Description |
|---|
PlayerVideoCapturePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
BedrockPacket |
clone()
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o) |
PlayerVideoCapturePacket.Action |
getCaptureAction() |
java.lang.String |
getFilePrefix() |
int |
getFrameRate() |
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isAction() |
void |
setAction(boolean action) |
void |
setCaptureAction(PlayerVideoCapturePacket.Action captureAction) |
void |
setFilePrefix(java.lang.String filePrefix) |
void |
setFrameRate(int frameRate) |
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic BedrockPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic PlayerVideoCapturePacket.Action getCaptureAction()
public boolean isAction()
public int getFrameRate()
public java.lang.String getFilePrefix()
public void setCaptureAction(PlayerVideoCapturePacket.Action captureAction)
public void setAction(boolean action)
public void setFrameRate(int frameRate)
public void setFilePrefix(java.lang.String filePrefix)
public 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.Objectpublic java.lang.String toString()
toString in class java.lang.Object