pub unsafe extern "C-unwind" fn Byond_Block(
corner1: *const CByondXYZ,
corner2: *const CByondXYZ,
list: *mut CByondValue,
len: *mut usize,
) -> bool
Expand description
Equivalent to calling block(x1,y1,z1, x2,y2,z2). Blocks if not on the main thread.
§Arguments
corner1
- One corner of the blockcorner2
- Another corner of the blocklist
- CByondValue array, allocated by caller (can be null if querying length)len
- Pointer to length of array (in items); receives the number of items read on success, or required length of array if not big enough
§Returns
True on success; false with *len=0 for failure; false with *len=required size if array is not big enough