BlockArea: Added the GetBounds function.
This commit is contained in:
@@ -638,17 +638,30 @@ return
|
||||
Returns =
|
||||
{
|
||||
{
|
||||
Name = "BLOCKTYPE",
|
||||
Name = "BlockType",
|
||||
Type = "number",
|
||||
},
|
||||
{
|
||||
Name = "NIBBLETYPE",
|
||||
Name = "BlockMeta",
|
||||
Type = "number",
|
||||
},
|
||||
},
|
||||
Notes = "Returns the block type and meta at the specified absolute coords",
|
||||
},
|
||||
|
||||
GetBounds =
|
||||
{
|
||||
Params = {},
|
||||
Returns =
|
||||
{
|
||||
{
|
||||
Name = "Bounds",
|
||||
Type = "cCuboid",
|
||||
}
|
||||
},
|
||||
Notes = "Returns the {{cCuboid|cuboid}} that specifies the original coords of the world from which the area was read. Basically constructs a {{cCuboid}} out of GetOrigin() and GetOrigin() + GetCoordRange().",
|
||||
},
|
||||
|
||||
GetCoordRange =
|
||||
{
|
||||
Returns =
|
||||
|
||||
Reference in New Issue
Block a user