summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-10-06 22:34:19 +0200
committerMattes D <github@xoft.cz>2016-10-06 22:34:19 +0200
commit59c77ca3dbeb567557e915b7d3d7e131e24b8b69 (patch)
treef3b6d4394e308324b2e7da59811a48fadd6cf805 /Server/Plugins/APIDump
parentMerge pull request #3393 from cuberite/FixRankMgrApi (diff)
downloadcuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar.gz
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar.bz2
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar.lz
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar.xz
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.tar.zst
cuberite-59c77ca3dbeb567557e915b7d3d7e131e24b8b69.zip
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 8be7cc9fc..7817ec137 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -14048,10 +14048,12 @@ end
{
Name = "OnChunkAvailable",
Type = "function",
+ IsOptional = true,
},
{
Name = "OnAllChunksAvailable",
Type = "function",
+ IsOptional = true,
},
},
Notes = "Queues the specified chunks to be loaded or generated and calls the specified callbacks once they are loaded. ChunkCoordTable is an arra-table of chunk coords, each coord being a table of 2 numbers: { {Chunk1x, Chunk1z}, {Chunk2x, Chunk2z}, ...}. When any of those chunks are made available (including being available at the start of this call), the OnChunkAvailable() callback is called. When all the chunks are available, the OnAllChunksAvailable() callback is called. The function signatures are: <pre class=\"prettyprint lang-lua\">function OnChunkAvailable(ChunkX, ChunkZ)\