RebuildRegionZoneProvider

Zone provider acts as a function to provide all the necessary information needed for rebuild region to function, in the order the client expects it in.

Functions

Link copied to clipboard
open fun getMapsquareId(zoneX: Int, zoneZ: Int): Int

Calculates the mapsquare id based on the zone coordinates.

Link copied to clipboard
abstract fun provide(zoneX: Int, zoneZ: Int, level: Int): RebuildRegionZone?

Provides a zone that the client must copy based on the parameters. In order to calculate the mapsquare id for xtea keys, use getMapsquareId.