Zepha/src/net/PacketType.h

49 lines
651 B
C
Raw Normal View History

2019-07-07 20:36:55 -07:00
//
// Created by aurailus on 07/07/19.
//
#pragma once
2019-07-07 20:36:55 -07:00
enum class PacketType {
UNDEFINED = 0,
// Information Request Types
2019-11-18 23:03:51 -08:00
BLOCK_IDENTIFIER_LIST,
BIOME_IDENTIFIER_LIST,
2019-08-04 02:07:14 -07:00
MOD_ORDER,
MODS,
MEDIA,
MEDIA_DONE,
CONNECT_DATA_RECVD,
// Miscellaneous
2019-07-07 20:36:55 -07:00
SERVER_INFO,
// Player Info
PLAYER_INFO,
THIS_PLAYER_INFO,
// World
CHUNK,
MAPBLOCK,
// Block
BLOCK_PLACE,
BLOCK_INTERACT,
BLOCK_PLACE_OR_INTERACT,
BLOCK_SET,
// Entity
ENTITY_INFO,
ENTITY_REMOVED,
// Inventory
INV_WATCH,
INV_UNWATCH,
INV_INVALID,
INV_DATA,
INV_INTERACT
2019-07-07 20:36:55 -07:00
};