From f43b65cf53274d1bbb43e2041ce72ff9eb68a7c8 Mon Sep 17 00:00:00 2001 From: faketruth Date: Fri, 9 Mar 2012 13:42:28 +0000 Subject: cClientHandles have a unique ID now to distinguish them cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index aad652c40..44a4dfbd2 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -139,7 +139,7 @@ public: void MarkLoadFailed(void); // Marks the chunk as failed to load. Ignored is the chunk is already valid /// Gets all chunk data, calls the a_Callback's methods for each data type - void GetAllData(cChunkDataCallback * a_Callback); + void GetAllData(cChunkDataCallback & a_Callback); /// Sets all chunk data void SetAllData(const char * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities); -- cgit v1.2.3