Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextPacket

Received when a chat message is sent by another player or NPC.

Hierarchy

  • TextPacket

Implements

Index

Properties

bubbleTime

bubbleTime: number

The length of time to display the chat bubble for.

cleanText

cleanText: string

Unknown.

isSupporter

isSupporter: boolean

Whether or not the sender of the message is a supporter.

name

name: string

The sender of the message.

numStars

numStars: number

The number of stars of the sender.

objectId

objectId: number

The object id of the sender.

propagate

propagate: boolean = true

recipient

recipient: string

The recipient of the message. This is only used if the message is a private message.

text

text: string

The content of the message.

type

type: PacketType = PacketType.TEXT

Methods

read

write

Generated using TypeDoc