21 lines
372 B
TypeScript
21 lines
372 B
TypeScript
|
export enum Packets {
|
||
|
KeepAlive = 0x00,
|
||
|
LoginRequest = 0x01,
|
||
|
Handshake = 0x02,
|
||
|
Chat = 0x03,
|
||
|
TimeUpdate = 0x04,
|
||
|
EntityEquipment = 0x05,
|
||
|
SpawnPosition = 0x06,
|
||
|
UseEntity = 0x07,
|
||
|
UpdateHealth = 0x08,
|
||
|
Respawn = 0x09,
|
||
|
Player = 0x0A,
|
||
|
PlayerPosition = 0x0B,
|
||
|
PlayerLook = 0x0C,
|
||
|
PlayerPositionLook = 0x0D,
|
||
|
|
||
|
PreChunk = 0x32,
|
||
|
MapChunk = 0x33,
|
||
|
|
||
|
DisconnectKick = 255
|
||
|
}
|