Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
World Namespace Reference

Utilities to allow casting a cWorld to one of its interfaces without including World.h. More...

Functions

cBroadcastInterfaceGetBroadcastInterface (cWorld &a_World)
 
cBroadcastInterfaceGetBroadcastInterface (cWorld *a_World)
 
cChunkInterface GetChunkInterface (cWorld &a_World)
 
cForEachChunkProviderGetFECProvider (cWorld &a_World)
 
cForEachChunkProviderGetFECProvider (cWorld *a_World)
 
cWorldInterfaceGetWorldInterface (cWorld &a_World)
 
cWorldInterfaceGetWorldInterface (cWorld *a_World)
 

Detailed Description

Utilities to allow casting a cWorld to one of its interfaces without including World.h.

Function Documentation

◆ GetBroadcastInterface() [1/2]

cBroadcastInterface& World::GetBroadcastInterface ( cWorld a_World)
inline

Definition at line 19 of file OpaqueWorld.h.

◆ GetBroadcastInterface() [2/2]

cBroadcastInterface * World::GetBroadcastInterface ( cWorld a_World)

Definition at line 69 of file World.cpp.

◆ GetChunkInterface()

cChunkInterface World::GetChunkInterface ( cWorld a_World)

Definition at line 73 of file World.cpp.

◆ GetFECProvider() [1/2]

cForEachChunkProvider& World::GetFECProvider ( cWorld a_World)
inline

Definition at line 20 of file OpaqueWorld.h.

◆ GetFECProvider() [2/2]

cForEachChunkProvider * World::GetFECProvider ( cWorld a_World)

Definition at line 70 of file World.cpp.

◆ GetWorldInterface() [1/2]

cWorldInterface& World::GetWorldInterface ( cWorld a_World)
inline

Definition at line 21 of file OpaqueWorld.h.

◆ GetWorldInterface() [2/2]

cWorldInterface * World::GetWorldInterface ( cWorld a_World)

Definition at line 71 of file World.cpp.