APIDump: Fixed link in cBlockArea's docs
This commit is contained in:
parent
e3888bb147
commit
ddda753f52
@ -14,7 +14,7 @@ g_APIDesc =
|
|||||||
{
|
{
|
||||||
Desc = [[
|
Desc = [[
|
||||||
This class is used when multiple adjacent blocks are to be manipulated. Because of chunking
|
This class is used when multiple adjacent blocks are to be manipulated. Because of chunking
|
||||||
and multithreading, manipulating single blocks using {{api:cWorld|cWorld:SetBlock}}() is a rather
|
and multithreading, manipulating single blocks using {{cWorld|cWorld:SetBlock}}() is a rather
|
||||||
time-consuming operation (locks for exclusive access need to be obtained, chunk lookup is done
|
time-consuming operation (locks for exclusive access need to be obtained, chunk lookup is done
|
||||||
for each block), so whenever you need to manipulate multiple adjacent blocks, it's better to wrap
|
for each block), so whenever you need to manipulate multiple adjacent blocks, it's better to wrap
|
||||||
the operation into a cBlockArea access. cBlockArea is capable of reading / writing across chunk
|
the operation into a cBlockArea access. cBlockArea is capable of reading / writing across chunk
|
||||||
@ -36,9 +36,9 @@ g_APIDesc =
|
|||||||
<p>
|
<p>
|
||||||
Typical usage:<ul>
|
Typical usage:<ul>
|
||||||
<li>Create cBlockArea object</li>
|
<li>Create cBlockArea object</li>
|
||||||
<li>Read an area from the world</li>
|
<li>Read an area from the world / load from file / create anew</li>
|
||||||
<li>Modify blocks inside cBlockArea</li>
|
<li>Modify blocks inside cBlockArea</li>
|
||||||
<li>Write the area back to a world</li>
|
<li>Write the area back to a world / save to file</li>
|
||||||
</ul></p>
|
</ul></p>
|
||||||
]],
|
]],
|
||||||
Functions =
|
Functions =
|
||||||
|
Loading…
Reference in New Issue
Block a user