Cuberite
A lightweight, fast and extensible game server for Minecraft
Macros
Player.cpp File Reference
#include "Globals.h"
#include "Player.h"
#include "../Mobs/Wolf.h"
#include "../Mobs/Horse.h"
#include "../BoundingBox.h"
#include "../ChatColor.h"
#include "../Server.h"
#include "../UI/InventoryWindow.h"
#include "../UI/WindowOwner.h"
#include "../Bindings/PluginManager.h"
#include "../BlockEntities/BlockEntity.h"
#include "../BlockEntities/EnderChestEntity.h"
#include "../Root.h"
#include "../Chunk.h"
#include "../Items/ItemHandler.h"
#include "../FastRandom.h"
#include "../ClientHandle.h"
#include "../WorldStorage/StatisticsSerializer.h"
#include "../CompositeChat.h"
#include "../Blocks/BlockHandler.h"
#include "../Blocks/BlockSlab.h"
#include "../Blocks/ChunkInterface.h"
#include "../IniFile.h"
#include "../JsonUtils.h"
#include "json/json.h"
#include "../CraftingRecipes.h"
Include dependency graph for Player.cpp:

Go to the source code of this file.

Macros

#define EATING_TICKS   30_tick
 
#define PLAYER_INVENTORY_SAVE_INTERVAL   6000
 
#define RESPAWN_FOOD_SATURATION   5
 
#define XP_PER_LEVEL_TO15   17
 
#define XP_TO_LEVEL15   255
 
#define XP_TO_LEVEL30   825
 

Macro Definition Documentation

◆ EATING_TICKS

#define EATING_TICKS   30_tick

Definition at line 64 of file Player.cpp.

◆ PLAYER_INVENTORY_SAVE_INTERVAL

#define PLAYER_INVENTORY_SAVE_INTERVAL   6000

Definition at line 67 of file Player.cpp.

◆ RESPAWN_FOOD_SATURATION

#define RESPAWN_FOOD_SATURATION   5

Definition at line 70 of file Player.cpp.

◆ XP_PER_LEVEL_TO15

#define XP_PER_LEVEL_TO15   17

Definition at line 73 of file Player.cpp.

◆ XP_TO_LEVEL15

#define XP_TO_LEVEL15   255

Definition at line 72 of file Player.cpp.

◆ XP_TO_LEVEL30

#define XP_TO_LEVEL30   825

Definition at line 74 of file Player.cpp.