HyCodeYourTale
classpublicPriority 3

FormattedMessage

com.hypixel.hytale.protocol.FormattedMessage

6

Methods

6

Public Methods

12

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 6
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intVARIABLE_BLOCK_START= 34
intVARIABLE_FIELD_COUNT= 7

Constructors

public
FormattedMessage()
public
FormattedMessage(String rawText, String messageId, FormattedMessage[] children, Map<String, ParamValue> params, Map<String, FormattedMessage> messageParams, String color, MaybeBool bold, MaybeBool italic, MaybeBool monospace, MaybeBool underlined, String link, boolean markupEnabled)
public
FormattedMessage(FormattedMessage other)

Methods

Public Methods (6)

publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)
public
int computeSize()
public
boolean equals(Object obj)
@Override
public
int hashCode()
@Override
public
void serialize(ByteBuf buf)
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)

Fields

Public Fields (12)

publicMaybeBool bold
publicFormattedMessage[] children
publicString color
publicMaybeBool italic
publicString link
publicboolean markupEnabled
publicString messageId
publicMap<String, FormattedMessage> messageParams
publicMaybeBool monospace
publicMap<String, ParamValue> params
publicString rawText
publicMaybeBool underlined

Related Classes