UNPKG

@jsprismarine/prismarine

Version:

Dedicated Minecraft Bedrock Edition server written in TypeScript

26 lines 674 B
import { default as TextType } from '../type/TextType'; import { default as DataPacket } from './DataPacket'; /** * Packet for chat messages, announcements etc. */ export default class TextPacket extends DataPacket { static NetID: number; /** * The type of the chat message. * Eg. Chat, Announcement, Json, etc. */ type: TextType; needsTranslation: boolean; sourceName: string; /** * The actual chat message. */ message: string; parameters: string[]; xuid: string; platformChatId: string; filtered: string; decodePayload(): void; encodePayload(): void; } //# sourceMappingURL=TextPacket.d.ts.map