public class TextPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
TextPacket.Type |
| Constructor and Description |
|---|
TextPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getMessage() |
List<String> |
getParameters() |
String |
getPlatformChatId() |
String |
getSourceName() |
TextPacket.Type |
getType() |
String |
getXuid() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isNeedsTranslation() |
void |
setMessage(String message) |
void |
setNeedsTranslation(boolean needsTranslation) |
void |
setParameters(List<String> parameters) |
void |
setPlatformChatId(String platformChatId) |
void |
setSourceName(String sourceName) |
void |
setType(TextPacket.Type type) |
void |
setXuid(String xuid) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic TextPacket.Type getType()
public boolean isNeedsTranslation()
public String getSourceName()
public String getMessage()
public String getXuid()
public String getPlatformChatId()
public void setType(TextPacket.Type type)
public void setNeedsTranslation(boolean needsTranslation)
public void setSourceName(String sourceName)
public void setMessage(String message)
public void setXuid(String xuid)
public void setPlatformChatId(String platformChatId)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.