getter for map size in blocks
| 258 | |
| 259 | // getter for map size in blocks |
| 260 | inline void getSizeInline (int32_t &x, int32_t &y, int32_t &z) |
| 261 | { |
| 262 | if (!Maps::IsValid()) |
| 263 | { |
| 264 | x = y = z = 0; |
| 265 | return; |
| 266 | } |
| 267 | x = world->map.x_count_block; |
| 268 | y = world->map.y_count_block; |
| 269 | z = world->map.z_count_block; |
| 270 | } |
| 271 | void Maps::getSize (int32_t &x, int32_t &y, int32_t &z) |
| 272 | { |
| 273 | getSizeInline(x, y, z); |
no outgoing calls
no test coverage detected