Cuberite
A lightweight, fast and extensible game server for Minecraft
Macros
ClientHandle.cpp File Reference
#include "Globals.h"
#include "ClientHandle.h"
#include "BlockInfo.h"
#include "Server.h"
#include "World.h"
#include "Chunk.h"
#include "Entities/Pickup.h"
#include "Bindings/PluginManager.h"
#include "Entities/Player.h"
#include "Entities/Minecart.h"
#include "Inventory.h"
#include "BlockEntities/BeaconEntity.h"
#include "BlockEntities/ChestEntity.h"
#include "BlockEntities/CommandBlockEntity.h"
#include "BlockEntities/SignEntity.h"
#include "UI/InventoryWindow.h"
#include "UI/CraftingWindow.h"
#include "UI/Window.h"
#include "UI/AnvilWindow.h"
#include "UI/BeaconWindow.h"
#include "UI/EnchantingWindow.h"
#include "Item.h"
#include "Mobs/Monster.h"
#include "ChatColor.h"
#include "Items/ItemHandler.h"
#include "Blocks/BlockHandler.h"
#include "Blocks/BlockBed.h"
#include "Blocks/ChunkInterface.h"
#include "BlockInServerPluginInterface.h"
#include "Root.h"
#include "Protocol/Authenticator.h"
#include "Protocol/Protocol.h"
#include "CompositeChat.h"
#include "Items/ItemSword.h"
#include "mbedtls/md5.h"
Include dependency graph for ClientHandle.cpp:

Go to the source code of this file.

Macros

#define MAX_BLOCK_CHANGE_INTERACTIONS   20
 Maximum number of block change interactions a player can perform per tick - exceeding this causes a kick. More...
 
#define MAX_CHAT_MSG_LENGTH   1024
 Maximum number of bytes that a chat message sent by a player may consist of. More...
 
#define MAX_CHUNKS_STREAMED_PER_TICK   4
 Maximum number of chunks to stream per tick. More...
 
#define MAX_EXPLOSIONS_PER_TICK   20
 Maximum number of explosions to send this tick, server will start dropping if exceeded. More...
 

Macro Definition Documentation

◆ MAX_BLOCK_CHANGE_INTERACTIONS

#define MAX_BLOCK_CHANGE_INTERACTIONS   20

Maximum number of block change interactions a player can perform per tick - exceeding this causes a kick.

Definition at line 47 of file ClientHandle.cpp.

◆ MAX_CHAT_MSG_LENGTH

#define MAX_CHAT_MSG_LENGTH   1024

Maximum number of bytes that a chat message sent by a player may consist of.

Definition at line 50 of file ClientHandle.cpp.

◆ MAX_CHUNKS_STREAMED_PER_TICK

#define MAX_CHUNKS_STREAMED_PER_TICK   4

Maximum number of chunks to stream per tick.

Definition at line 53 of file ClientHandle.cpp.

◆ MAX_EXPLOSIONS_PER_TICK

#define MAX_EXPLOSIONS_PER_TICK   20

Maximum number of explosions to send this tick, server will start dropping if exceeded.

Definition at line 44 of file ClientHandle.cpp.