Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilePacket

A packet which contains a file.

Hierarchy

  • FilePacket

Implements

Index

Properties

Methods

Properties

file

file: string

The bytes of the file. Don't ask me why this is a string, that's just how it is in the source code of the game.

fileName

fileName: string

The name of the received file.

propagate

propagate: boolean = true

type

type: PacketType = PacketType.FILE

Methods

read

write

Generated using TypeDoc