Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cClientDiffCallback Class Referenceabstract

Interface class used for comparing clients of two chunks. More...

#include <ChunkDef.h>

Public Member Functions

virtual void Added (cClientHandle *a_Client)=0
 Called for clients that are in Chunk2 and not in Chunk1. More...
 
virtual void Removed (cClientHandle *a_Client)=0
 Called for clients that are in Chunk1 and not in Chunk2,. More...
 
virtual ~cClientDiffCallback ()
 

Detailed Description

Interface class used for comparing clients of two chunks.

Used primarily for entity moving while both chunks are locked.

Definition at line 369 of file ChunkDef.h.

Constructor & Destructor Documentation

◆ ~cClientDiffCallback()

virtual cClientDiffCallback::~cClientDiffCallback ( )
inlinevirtual

Definition at line 373 of file ChunkDef.h.

Member Function Documentation

◆ Added()

virtual void cClientDiffCallback::Added ( cClientHandle a_Client)
pure virtual

Called for clients that are in Chunk2 and not in Chunk1.

◆ Removed()

virtual void cClientDiffCallback::Removed ( cClientHandle a_Client)
pure virtual

Called for clients that are in Chunk1 and not in Chunk2,.


The documentation for this class was generated from the following file: